Version 17 (modified by 14 years ago) ( diff ) | ,
---|
Virtual Machine
This virtual machine has been built to allow Developers to get operational quickly (1 Gb):
It is in the Open Virtual Machine format for use in either VirtualBox or VMWare.
It is currently running the Ubuntu 10.04 OS with Web2Py-r2179, Eden-r946 & Eclipse 3.6
Usage Guidelines
- The ubuntu user and the admin account of web2py have the password set to: letmein
- The web2py directory on the desktop contains the web2py release and a bzr branch of Eden Trunk located in
~/Desktop/Eden-Web2Py/web2py/applications/eden
- Eclipse is preconfigured with the above directory.
- Firefox is pre-populated with Eden bookmarks.
Maintenance Docs
NB It is best if the VM is maintained using the original VirtualBox image & then re-exported to OVF
sudo su - apt-get update apt-get upgrade rm /var/cache/apt/archives/* exit cd Desktop/web2py bzr up cd applications/eden bzr pull
After removing any unwanted packages, purge the filesystem using:
COLUMNS=200 dpkg -l | grep ^rc | awk '{print $2} ' | xargs dpkg -P rm -f /var/log/*
The next 2 steps are unnecessary if exporting to OVF?
Overwrite the freespace with zeroes:
- http://techthrob.com/2009/03/02/howto-delete-files-permanently-and-securely-in-linux/
apt-get install secure-delete sfill -fz /
Compress the VDI disk image:
- http://www.mdl4.com/2010/04/virtualbox-compact-a-vdi-in-ubuntu/
C: cd "\Program Files\Oracle\VirtualBox" VBoxManage modifyhd c:\Users\%USERNAME%\.virtualbox\harddisks\Eden-Dev.vdi compact
Notes on VMWare Fusion install
To import the download VM into VMware Fusion, use the following steps.
- File > New
- Click Continue without disc
- Select Use an existing virtual disk
- Select Eden-VM.vmdk
- Select Make a separate copy of the virtual disk
- Click Choose
- Click Continue
- OS=Linux and Version=Ubuntu should be selected, click Continue, Click Finish
- Enter name for new VMware image e.g. Eden in the Virtual Machines directory
- Click Save
Remember to install the Linux VMware Tools after starting up the Eden machine using Virtual Machine > Install VMware Tools
sudo su - ./vmware-install.pl
And accept all the default options