Difference between revisions of "Setting up Tilestream VM on CEDEUSDB"
From stgo
(Created page with ">> return to Cedeus_IDE ---- steps performed: # copying tilestream.vdi file from Lautaro # creating the tilestream VM on CedeusDB (ip.18): #* <code>VBoxManage createvm -...") |
|||
Line 12: | Line 12: | ||
#* <code>VBoxManage storagectl tilestream --name "SATA Controller" --add sata --controller IntelAhci</code> | #* <code>VBoxManage storagectl tilestream --name "SATA Controller" --add sata --controller IntelAhci</code> | ||
#* assign the (old) disk image a new uuid | #* assign the (old) disk image a new uuid | ||
− | #* | + | #*: <code>VBoxManage internalcommands sethduuid tilestream.vdi</code> |
#* attach the (old) disk image: | #* attach the (old) disk image: | ||
− | #* <code> VBoxManage storageattach "tilestream" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium tilestream.vdi</code> | + | #*: <code> VBoxManage storageattach "tilestream" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium tilestream.vdi</code> |
#* <code> VBoxManage storagectl tilestream --name "IDE Controller" --add ide --controller PIIX4</code> | #* <code> VBoxManage storagectl tilestream --name "IDE Controller" --add ide --controller PIIX4</code> | ||
#* set the nat rules (ports): | #* set the nat rules (ports): | ||
− | #* | + | #*: <code> VBoxManage modifyvm tilestream --natpf1 "ssh,tcp,,16022,,22"</code> |
− | #* | + | #*: <code> VBoxManage modifyvm tilestream --natpf1 "apache,tcp,,16080,,80"</code> |
− | #* <code> VBoxManage modifyvm tilestream --natpf1 "tilestream,tcp,,16088,,8888"</code> | + | #*: <code> VBoxManage modifyvm tilestream --natpf1 "tilestream,tcp,,16088,,8888"</code> |
#* start the VM | #* start the VM | ||
− | #* | + | #*: <code>VBoxHeadless -s tilestream --vrde on &</code> will listen on port 3389 |
#* connect with VRD and adjust network card settings (remember the existing VM have an old password) | #* connect with VRD and adjust network card settings (remember the existing VM have an old password) | ||
#* open ''/etc/udev/rules.d/70-persistent-net.rules'' and comment out existing network adapters | #* open ''/etc/udev/rules.d/70-persistent-net.rules'' and comment out existing network adapters | ||
Line 27: | Line 27: | ||
#* check if ssh connection works | #* check if ssh connection works | ||
#* restart TileStream from within the home folder with defining the tileset location: | #* restart TileStream from within the home folder with defining the tileset location: | ||
− | #* | + | #*: <code>./tilestream/index.js start --host 146.155.17.18 --tiles=/usr/share/tilestream &</code> |
#* to check with what PID tilestream is running use: | #* to check with what PID tilestream is running use: | ||
− | #* | + | #*: <code> ps -A | grep tilestream </code> |
Revision as of 16:35, 19 June 2014
>> return to Cedeus_IDE
steps performed:
- copying tilestream.vdi file from Lautaro
- creating the tilestream VM on CedeusDB (ip.18):
-
VBoxManage createvm --name tilestream --ostype Ubuntu_64 --register
-
VBoxManage modifyvm tilestream --memory 8192
-
VBoxManage modifyvm tilestream --cpus 4
-
VBoxManage modifyvm tilestream --nic1 nat
-
VBoxManage storagectl tilestream --name "SATA Controller" --add sata --controller IntelAhci
- assign the (old) disk image a new uuid
-
VBoxManage internalcommands sethduuid tilestream.vdi
-
- attach the (old) disk image:
-
VBoxManage storageattach "tilestream" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium tilestream.vdi
-
-
VBoxManage storagectl tilestream --name "IDE Controller" --add ide --controller PIIX4
- set the nat rules (ports):
-
VBoxManage modifyvm tilestream --natpf1 "ssh,tcp,,16022,,22"
-
VBoxManage modifyvm tilestream --natpf1 "apache,tcp,,16080,,80"
-
VBoxManage modifyvm tilestream --natpf1 "tilestream,tcp,,16088,,8888"
-
- start the VM
-
VBoxHeadless -s tilestream --vrde on &
will listen on port 3389
-
- connect with VRD and adjust network card settings (remember the existing VM have an old password)
- open /etc/udev/rules.d/70-persistent-net.rules and comment out existing network adapters
- reboot
- check if ssh connection works
- restart TileStream from within the home folder with defining the tileset location:
-
./tilestream/index.js start --host 146.155.17.18 --tiles=/usr/share/tilestream &
-
- to check with what PID tilestream is running use:
-
ps -A | grep tilestream
-
-