pandora/vm/README.md

47 lines
929 B
Markdown
Raw Normal View History

2018-03-16 13:55:29 +05:30
# Create virtual disk of pan.do/ra
2018-03-16 13:55:29 +05:30
## Preparations
2017-03-17 01:21:24 +01:00
Pan.do/ra VM are based on cloud images.
You also qemu to run the vm and virtualbox to convert the image
2018-03-16 13:55:29 +05:30
apt-get install virtualbox qemu qemu-utils
apt-get install kvm cloud-utils
2018-03-16 13:55:29 +05:30
## Building
2013-07-03 16:25:57 +02:00
You can configure some of the arguments in build.sh once done run:
2018-03-16 13:55:29 +05:30
./build.sh
2016-03-05 18:36:39 +05:30
this will create a vdi image in pandora-r{REVISON}.vdi
2013-07-03 16:25:57 +02:00
2018-03-16 13:55:29 +05:30
## VirtualBox Usage
2013-07-03 16:25:57 +02:00
Now you can create a new VirtualBox machine,
select Linux/Ubuntu and use vdi image as existing hard disk.
Before starting up:
2018-03-16 13:55:29 +05:30
In Network -> Adpater 1 set to Bridged Adapter with your connected controller
2013-07-03 16:25:57 +02:00
2018-03-16 13:55:29 +05:30
## Use for development
2013-07-03 16:25:57 +02:00
Login via ssh or in terminal as pandora with password pandora
2018-03-16 13:55:29 +05:30
ssh pandora@pandora.local
Pan.do/ra is installed in /srv/pandora and is served with nginx on http://pandora.local
2018-03-16 13:55:29 +05:30
## Update
2013-07-03 16:25:57 +02:00
to get the latest version of pan.do/ra
2018-03-16 13:55:29 +05:30
cd /srv/pandora
pandoractl update