2012年7月23日 星期一

Install MediaWiki

1. Install mysql, mysql-server, httpd
#yum install mysql mysql-server httpd

2. start mysql server
#service mysqld start

3. change mysql root password
#mysqladmin ping -u root password 'newpassword'
Enter password: (just press Enter)
mysqld is alive
(The mysql root password was changed to newpassword)


4. Download MediaWiki
http://www.mediawiki.org/wiki/Download

5. Extract to /var/www/html/wiki
#cd /var/www/html
#mkdir wiki
#copy all files intol wiki foler

6. using browser open http://127.0.0.1/wiki
follow the instruction step by step to install MediaWiki

(Note. If install on CentOS 5, must install php53-common and php53-mysql)

7. Backup, using the script
http://www.mediawiki.org/wiki/User:Megam0rf/WikiBackup
schedule the script on crontab weekly

http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki
http://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup

沒有留言:

張貼留言