Changes between Version 49 and Version 50 of SysAdmin


Ignore:
Timestamp:
02/11/11 10:40:05 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin

    v49 v50  
    111111
    112112=== Infrastructure Virtual Machine Template ===
     113 * {{{/home/INSTALL}}}
    113114 * {{{/root/ChangeTemplate.sh}}}
    114 {{{
    115 apt-get upgrade -y
    116 cp /home/web2py/applications/eden/deployment-templates/models/000_config.py /home/web2py/applications/eden/models
    117 deployment_settings.base.public_url
    118 }}}
    119  * {{{/home/INSTALL}}}
    120 {{{
    121 mysqladmin -u root create sahana -p
    122 vim /home/web2py/applications/eden/models/000_config.py
    123 
    124 cd /home/web2py
    125 sudo -H -u web2py python web2py.py -N -S eden -M -R applications/eden/static/scripts/tools/noop.py
    126 cd applications/eden
    127 sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py
    128 sed -i 's/deployment_settings.base.prepopulate = True/deployment_settings.base.prepopulate = False/g' models/000_config.py
    129 }}}
    130  * Update shell aliases
    131 {{{
    132 alias pull="cd ~web2py/applications/eden;sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py;bzr pull;rm -rf compiled;cd ~web2py;sudo -H -u web2py python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py;/etc/init.d/apache2 force-reload"
    133 alias migrateoff="sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' ~web2py/applications/eden/models/000_config.py"
    134 }}}
    135   * convert to scripts in {{{/usr/local/bin}}} (as per ISO/VM)
    136  * Change permissions on languages files (we don't want these being updated live by the server)
    137  * Add maintenance site & HTML
    138  * Rename site as xxxx.sahanafoundation.org
    139   * To work with fabfile
    140  * Provide a script to manage the MySQL root pw change
    141   * change the password
    142   * edit Eden's {{{000_config.py}}}
    143   * edit {{{/root/.my.cnf}}}
    144  * Convert to PostgreSQL? (for PostGIS)
     115 * scripts in {{{/usr/local/bin}}}
     116
     117 * Convert to PostgreSQL/PostGIS
    145118 * Update Eden
    146119 * Update Web2Py (as-required)
    147  * Update OS (to Squeeze & then maintain patches)
     120 * Update OS
     121  * 90 not upgraded packages (held back)
    148122 * Increase swap to 2048Mb (from 750Mb)
    149123  * can we do this in image? Add an [MaintenanceGuidelinesTips#Addingaswapfile emergency swapfile]?
    150124  * Add extra disk for those instances which need extra capacity
    151 
    152125=== Fabfile ===
    153126 * SQL indexes need restoring after DB upgrades