wiki:InstallationGuidelines/VirtualMachine/Maintenance

Version 2 (modified by Fran Boon, 11 years ago) ( diff )

--

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:

Compress the VDI disk image:


InstallationGuidelinesVirtualMachine

Note: See TracWiki for help on using the wiki.