= Virtual Machine 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/* }}} Test Sahana Eden. Empty the databases folder (to avoid migration problems). 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 }}} ---- InstallationGuidelinesVirtualMachine