Changes between Version 2 and Version 3 of InstallationGuidelines/VirtualMachine/Maintenance


Ignore:
Timestamp:
09/15/10 21:44:38 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/VirtualMachine/Maintenance

    v2 v3  
    22NB It is best if the VM is maintained using the original !VirtualBox image & then re-exported to OVF
    33{{{
    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/*
     4update
    195}}}
    206
    217Test Sahana Eden.
    228
    23 Empty the databases folder (to avoid migration problems).
     9{{{
     10clean
     11}}}
    2412
     13The following aliases have been setup:
     14{{{
     15alias w2p='cd /home/sahana/Desktop/web2py && python web2py.py -S eden -M'
     16alias 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'
     17alias 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}}}
    2519
    2620The next 2 steps are unnecessary if exporting to OVF?