Difference between revisions of "WIKI Migration and Upgrading"
From Hawk Wiki
(Created page with "==Upgrading mediawiki== Following steps in http://www.mediawiki.org/wiki/Manual:Upgrading 1. I created a script for wiki upgrading migrate.sh <pre> #!/bin/bash OLD_WIKI_DIR=...") |
(No difference)
|
Latest revision as of 00:10, 19 March 2015
Upgrading mediawiki
Following steps in http://www.mediawiki.org/wiki/Manual:Upgrading
1. I created a script for wiki upgrading
migrate.sh
#!/bin/bash OLD_WIKI_DIR=/var/www/wiki.hawkguide.com NEW_WIKI_DIR=/var/www/wiki2.hawkguide.com `cp $OLD_WIKI_DIR/LocalSettings.php $NEW_WIKI_DIR/` `cp -r $OLD_WIKI_DIR/images $NEW_WIKI_DIR/` `cp -r $OLD_WIKI_DIR/extensions $NEW_WIKI_DIR/` `cp $OLD_WIKI_DIR/.htaccess $NEW_WIKI_DIR/`
2. Backup the database and php code
3. Run
php maintenance/update.php