Steps for everyone else to test (even those running windows with a virtualization software like VMWare):
Create a new virtual machine, use an ISO-Image “ubuntu-16.04.1-desktop-amd64.iso”
Choose “Install OS later”, if you want to localize your virtual machine (GUI, keyboard, timezone)
Create a single 100GB file and a VM with 8GB RAM, 4 Prozessor (or whatever you can offer)
IMPORTANT option for Processor: ACTIVATE “Virtualize Intel VT-x/EPT or AMD-V/RVI”
Install and update Ubuntu (“Software Updater”) with your language, keyboard and Timezone
Username: vm, Passwort: musicbrainz (or whatever you like)
In Ubuntu open a new Terminal window and execute the following commands:
sudo apt install git
git clone https://github.com/metabrainz/musicbrainz-vm
sudo apt install virtualbox
to check the available Vagrant version (should be > v1.8)
apt-cache policy vagrant
sudo apt install vagrant
Change to musicbrainz-vm directory with
cd musicbrainz-vm
Start installing musicbrainz
sudo ./install.sh
Sit back and watch and wait and wait and wait and wait for about 2 hours (on a fast PC, running this VM on a SSD)
You will see many thousand lines of console output in green, red and other colors…
Everything works fully automated, even the download of the Datadumps and the import into the database
Two hours later you will see a final "InitDb.pl succeeded”.
The questions are now:
a) How do we start the usual Musicbrainz-Server-GUI (IP? Port?) to search for artists, releases and all other informations?
b) How do we start the replication?
c) What about the search server?
Answer for a) from the Vagrant homepage:
“Once you or someone else creates a single Vagrantfile, you just need to vagrant up and everything is installed and configured for you to work”.
For us:
Open a new terminal window and enter
cd musicbrainz-vm
sudo vagrant up
Wait, until the line
–> default: flag to force provisioning…will still run.
appears.
Then you can open FireFox inside your Ubuntu and use the following local IP: http://127.0.0.1:5000
or you can use the given IP-Address to your VM Ethernet adapter as you can find it with the command
ifconfig
In my case, it is http://192.168.1.136:5000
which should be available from every PC in your LAN, not only inside the VM.
To stop your local MusicBrainz-Server enter:
sudo vagrant halt
We still have to wait for a working local search server and local (re)index scripts.
Strange thing. My last setup started last night and ended this morning with listening ports on 0.0.0.0. for 5000 and 8080 instead of 127.0.0.1 after starting it with “sudo vagrant up”.
What is your environment? Do you use Bridge or NAT networking?
@chirlu You are (technically) right. But neither 127.0.0.1:5000 nor localhost:5000 (with or without http://) returns a result or the expected MB-GUI.
What should I do?
(The steps for the installation are so easy, you can’t do that much wrong )
If someone is interested to get a running Docker / Vagrant version of VM in VMWare Workstation (inlcuding working Search Server and MB-GUI completely offline!)
I have added the necessary steps in http://tickets.musicbrainz.org/browse/MBVM-19