Savannah in a box - pre-configured Savane virtual machine
To ease hacking on GNU Savane, here's a pre-configured virtual machine containing a running front-end (MySQL + Apache2) of Savane (the GNU Savannah software). To install an instance locally, with no virtual machine involved, see RunningSavaneLocally.
Please write to email@example.com with any questions or suggestions regarding this VM image.
Downloading and starting the VM
# Download the pre-configured image (355MB compressed) wget http://files.housegordon.org/gnu-sv/savane-in-a-box.tar.xz # Extract the files (~ 1.4GB uncompressed) tar -xJf savane-in-a-box.tar.xz # (or if your tar doesn't support XZ) # xzcat < savane-in-a-box.tar.xz | tar -xf - # Use the provided script to start QEMU/KVM, # with the pre-configred port 50080 forwarded to the host. cd savane-in-a-box ./savane-in-a-box.sh # The guest VM's boot messages will appear on the terminal. # wait until the login prompt appears. # Then visit (on the host) http://localhost:50080 .
After the guest VM finishes booting (the login prompt appears), On the host, visit http://localhost:50080 .
Try login with
testuser (non-admin user, password
The image is based on gNewSense 3.1, as configured here: http://www.nongnu.org/pretest/manual/#gNewSense-3_002e1
GNU Savane is locally installed as detailed in RunningSavaneLocally.
Inside the virtual machine, the file
sudocommand to automatically start a local server of Savane, running as non-root user. It is equivalent to using the
makecommands explained in RunningSavaneLocally.
Inside the virtual machine, Apache2 is listening on port 50080.
On the host, the
savane-in-a-box.shscript forwards the guest's port 50080 to the host, try: http://localhost:500080.
On the host, the
savane-in-a-box.shscript forwards the guest's port 22 to the host's port 2222, try:
ssh -p 2222 miles@localhost.
- To login into the guest vm, run:
ssh -p 2222 miles@localhost
- The 'root' password is '12345'.
- The non-root user 'miles' password is '12345'.
The user can
sudowithout a password.
- The MySQL root password is '12345'.
- The code is running from
- By default,
savane-in-a-box.shruns QEMU/KVM in snapshot mode - meaning changes are NOT saved back to the VM disk (i.e. after terminating the VM, your changes will be lost).
To save changes back to the image:
savane-in-a-box.sh -S, or
- On the guest's console, type
CTRL-A,Cto switch to QEMU's monitor mode, Then run
commit allto save the current filesystem state back to the disk. When using this method, it is highly recommended to shutdown the VM with
shutdown -H -h nowwhen you're done, the switch to QMEU's monitor mode, and
commit allyour changes again (otherwise, you'll commit the filesystem in
- To hack on the frontend (php) files, look in