wiki:InstallationGuidelines/VirtualMachine/Maintenance

Version 1 (modified by Fran Boon, 13 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/*

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.