Changes between Version 2 and Version 3 of InstallationGuidelines/VirtualMachine/Maintenance
- Timestamp:
- 09/15/10 21:44:38 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/VirtualMachine/Maintenance
v2 v3 2 2 NB It is best if the VM is maintained using the original !VirtualBox image & then re-exported to OVF 3 3 {{{ 4 sudo su - 5 apt-get update 6 apt-get upgrade 7 rm /var/cache/apt/archives/* 8 exit 9 cd Desktop/web2py 10 bzr up 11 cd applications/eden 12 bzr pull 13 }}} 14 15 After removing any unwanted packages, purge the filesystem using: 16 {{{ 17 COLUMNS=200 dpkg -l | grep ^rc | awk '{print $2} ' | xargs dpkg -P 18 rm -f /var/log/* 4 update 19 5 }}} 20 6 21 7 Test Sahana Eden. 22 8 23 Empty the databases folder (to avoid migration problems). 9 {{{ 10 clean 11 }}} 24 12 13 The following aliases have been setup: 14 {{{ 15 alias w2p='cd /home/sahana/Desktop/web2py && python web2py.py -S eden -M' 16 alias update='sudo apt-get update;sudo apt-get upgrade -y;cd /home/sahana/Desktop/web2py && bzr up;cd /home/sahana/Desktop/web2py/applications/eden && bzr pull' 17 alias clean="rm ~/.bash_history;cd ~/Desktop/web2py/applications/eden && rm -f databases/* && rm -rf cache/* && rm -f sessions/*;sudo rm -f /var/log/*;sudo rm -f /var/cache/apt/archives/*;COLUMNS=200 sudo dpkg -l | grep ^rc | awk '{print $2} ' | xargs sudo dpkg -P" 18 }}} 25 19 26 20 The next 2 steps are unnecessary if exporting to OVF?