pandora/vm/README.txt

49 lines
1.0 KiB
Plaintext
Raw Normal View History

Create virtual disk of pan.do/ra
2013-07-03 14:25:57 +00:00
== Preparations ==
2016-03-05 13:06:39 +00:00
Pan.do/ra VM scripts use vmdebootstrap 0.9 or later
You also need qemu to run the vm and virtualbox to convert the image
2016-03-05 13:06:39 +00:00
apt-get install vmdebootstrap virtualbox qemu
2013-07-03 14:25:57 +00:00
== Building ==
2013-07-03 14:25:57 +00:00
You can configure some of the arguments in build.sh once done run:
./build.sh
2016-03-05 13:06:39 +00:00
this will create a vdi image in pandora-r{REVISON}.vdi
If you have a local apt-cacher instance export MIRROR:
export MIRROR="--mirror http://<LOCAL IP>:3142/archive.ubuntu.com/ubuntu/ --configure-apt"
./build.sh
2013-07-03 14:25:57 +00:00
== VirtualBox Usage ==
2013-07-03 14:25:57 +00:00
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
2013-07-03 14:25:57 +00:00
== Use for development ==
2013-07-03 14:25:57 +00:00
Login via ssh or in terminal as pandora with password pandora
ssh pandora@pandora.local
Pan.do/ra is installed in /srv/pandora and is served with nginx on http://pandora.local
== Update ==
2013-07-03 14:25:57 +00:00
to get the latest version of pan.do/ra
cd /srv/pandora
2013-07-03 14:25:57 +00:00
./update.py