Changes between Version 12 and Version 13 of DevelopmentServer


Ignore:
Timestamp:
10/25/10 13:46:52 (6 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentServer

    v12 v13  
    3535 
    3636This script was sorted out via ticket:124 and the email settings via ticket:136. 
     37 
     38== Mediawiki == 
     39 
     40There is a development copy of the http://wiki.transitionnetwork.org/ site at http://wiki.dev.transitionnetwork.org/Main_Page which is running on kiwi.transitionnetwork.org it is installed in /web/wiki.dev.transitionnetwork.org/www and the apache !VirtualHost is configured in /etc/apache2/sites-available/wiki.dev.transitionnetwork.org 
     41 
     42To upgrade the site to the latest version of Mediawiki, download the latest version from http://www.mediawiki.org/wiki/Download and follow the instructions from http://www.mediawiki.org/wiki/Upgrade 
     43 
     44{{{ 
     45# backup the databases 
     46/usr/local/bin/mysql_backup 
     47cd /web/wiki.dev.transitionnetwork.org/www  
     48wget http://download.wikimedia.org/mediawiki/mediawiki-1.16.0.tar.gz 
     49# check the gog dig 
     50wget http://download.wikimedia.org/mediawiki/mediawiki-1.16.0.tar.gz.sig 
     51gpg --verify mediawiki-1.16.0.tar.gz.sig 
     52  gpg: Signature made Wed 28 Jul 2010 08:17:34 BST using DSA key ID F9F8CD79 
     53  gpg: Can't check signature: public key not found 
     54gpg --recv-keys F9F8CD79 
     55  gpg: Signature made Wed 28 Jul 2010 08:17:34 BST using DSA key ID F9F8CD79 
     56  gpg: Good signature from "Tim Starling <tstarling@wikimedia.org> 
     57# extract the tgz and copy it over the existing install 
     58tar -zxvf mediawiki-1.16.0.tar.gz 
     59rsync -av mediawiki-1.16.0/ www/ 
     60# run the update script 
     61cd /web/wiki.dev.transitionnetwork.org/www/maintenance 
     62php php update.php 
     63# i'm not sure why the update script generates this error, but it can be ignored i think 
     64  ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/web/wiki.dev.transitionnetwork.org/www/maintenance/Maintenance.php', line 395) 
     65  ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/web/wiki.dev.transitionnetwork.org/www/maintenance/Maintenance.php', line 655) 
     66}}} 
    3767 
    3868== Packages == 
     
    108138}}} 
    109139 
     140== Mysql Backup == 
     141 
     142A MySQL Backup script from http://worldcommunitypress.com/opensource/mysql-backup is installed in /usr/local/bin and it's set to create backups in /var/backups/mysql/ 
     143 
     144It needs the libmime-lite-perl debian package to be installed. 
     145 
    110146== !DenyHosts == 
    111147