Monday, November 1, 2010

Mediawiki Migration to Ubuntu

Install Mysql-server, php5, apache2 on Ubuntu.

From:

http://sujithemmanuel.blogspot.com/2007/04/how-to-migrate-mediawiki.html

MediaWiki Migration
Old Server: mysqldump -u root -p wikidb > wikidb.sql
tar -cvf wiki.tar wiki ;this is the wiki folder on document root
New Server, login into mysql and run: create database wikidb
(Note that both mysql versions should be same.)
grant create, select, insert, update, delete, lock tables on wikidb.* to wiki@localhost identified by 'YourPassword' ;

MediaWiki Upgrade copy all the new files to wiki folder and then
run php update.php from maintenance folder after updating AdminSettings.php

If you're using SMTP, run "pear install MAIL Net_SMTP"
Place mediawiki content under /var/www. Start apache2 server.

No comments: