Difference between revisions of "MediaWiki"
Jump to navigation
Jump to search
(→Backup) |
|||
Line 21: | Line 21: | ||
== Upgrade == | == Upgrade == | ||
* http://www.mediawiki.org/wiki/Manual:Upgrading | * http://www.mediawiki.org/wiki/Manual:Upgrading | ||
+ | |||
+ | Download latest, extract on-top of current; | ||
+ | tar xvzf mediawiki-1.19.1.tar.gz -C . --strip-components=1 | ||
+ | php maintenance/update.php | ||
+ | |||
+ | Upgrade required DB grants for: select, insert, update, delete, alter, index | ||
== Backup == | == Backup == |
Revision as of 04:00, 27 July 2012
General
Markup
Config
Nginx
- Manual:Short URL/wiki/Page title -- nginx rewrite--root access
- Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module
Upgrade
Download latest, extract on-top of current;
tar xvzf mediawiki-1.19.1.tar.gz -C . --strip-components=1 php maintenance/update.php
Upgrade required DB grants for: select, insert, update, delete, alter, index
Backup
change vars;
nice -n 19 mysqldump -u $USER --password=$PASSWORD $DATABASE -c nice -n 19 gzip -9 > wiki-$DATABASE-$(date '+%Y%m%d').sql.gz
- http://serom.no-ip.org/index.php/Backup_du_SeRoM_Wiki - bash script, send backup to remote