pandora/vm
2012-03-23 21:57:43 +01:00
..
build.sh install generic kernel in vm, that way it can boot of sata controller in virtualbox 2012-03-23 21:57:43 +01:00
firstboot.sh install generic kernel in vm, that way it can boot of sata controller in virtualbox 2012-03-23 21:57:43 +01:00
install.sh add build script to build virtual machine image for pan.do/ra 2010-12-02 04:32:06 +01:00
README.txt install generic kernel in vm, that way it can boot of sata controller in virtualbox 2012-03-23 21:57:43 +01:00
virtualbox_vm.py add build script to build virtual machine image for pan.do/ra 2010-12-02 04:32:06 +01:00

Create virtual disk of pan.do/ra

== ubuntu-vm-builder setup ==

on ubuntu 11.10 you need to install python-vm-builder

  apt-get install python-vm-builder

due to https://bugs.launchpad.net/vmbuilder/+bug/683614
building vbox images does not work. install virtualbox_vm.py:
    sudo cp virtualbox_vm.py /usr/lib/python2.6/dist-packages/VMBuilder/plugins/virtualbox/vm.py

(or change vbox to kvm to build kvm image)

with that installed build image:

 ./build.sh

this will create a vdi image in pandora/

== VirtualBox Usage ==
Now you can create a new VirtualBox machine,
select Linux/Ubuntu and use vdi image as existing hard disk.

Before starting up:
 In Network -> Adpater 1 set to Bridged Adapter with your connected controller

== Use for development ==
Login via ssh or in terminal as pandora with password pandora

  ssh pandora@pandora.local

Adjust your bzr configuration with bzr whoami:
 bzr whoami "Pando the Panda <pan.do@pan.do>"

Pan.do/ra is installed in /srv/pandora and is served with nginx on http://pandora.local


== Update ==
to get the latest version of pan.do/ra
 cd /srv/pandora
 ./update.sh

you might have to adjust the database at this point. now restart pandora daemons

 service pandora restart
 service pandora-tasks restart
 service pandora-encoding restart