Installing CartoDB for CEDEUS
From stgo
Setup of CartoDB VM
Setup of VM based on Basic Ubuntu1404 VM
- copying basicubunutu1404.vdi file and renaming to cartodb.vdi
- creating the cartodb VM on CedeusDB (ip.18):
-
VBoxManage createvm --name cartodb --ostype Ubuntu_64 --register
-
VBoxManage modifyvm cartodb --memory 4096
-
VBoxManage modifyvm cartodb --cpus 4
-
VBoxManage modifyvm cartodb --nic1 nat
-
VBoxManage storagectl cartodb --name "SATA Controller" --add sata --controller IntelAhci
- assign the (old) disk image a new uuid
-
VBoxManage internalcommands sethduuid nominatim.vdi
-
- attach the (old) disk image:
-
VBoxManage storageattach "cartodb" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium nominatim.vdi
-
-
VBoxManage storagectl cartodb --name "IDE Controller" --add ide --controller PIIX4
- set the nat rules (ports):
-
VBoxManage modifyvm cartodb --natpf1 "ssh,tcp,,19022,,22"
-
VBoxManage modifyvm cartodb --natpf1 "apache,tcp,,19080,,80"
-
VBoxManage modifyvm cartodb --natpf1 "pgsql,tcp,,19432,,5432"
-
-
- optional - set VRDE port:
-
VBoxManage modifyvm cartodb --vrdeport 7763
(Note: 3389 is the default port anyway)
-
- check all settings with
VBoxManage showvminfo cartodb
- start the VM
-
VBoxHeadless -s nominatim --vrde on &
- the VM will listen on port 7763 - connect with GTKvncViewer to check
- check if ssh connection works
-
- change the computers name in /etc/hosts and /etc/hostname
- restarting Apache gives the error message: "apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 ..."
- => solve this by adding ServerName nominatim as the last line in /etc/apache2/apache2.conf file