Originally Posted by poswer
i have using fedora 9 box i need to install mediawiki how to do step by step any one tell me.
I did the same a long way back. I'm trying to put all the steps here. If you want to do all the installations and make things up and running in a jiffy use the following steps[this is the best/shortest way to install mediawiki] assuming you are the root run
1.yum install mediwiki
2.yum install mailcap
3.yum install mysql-server mysql
4.service mysql start
service httpd start
5.chkconfig mysql on
chkconfig httpd on
Step 5 will make sure your wiki automatically comes every time you boot your system.
MediaWiki is installed in /usr/share/mediawiki with files specific to a site installed in /var/www/wiki. so run
6.cp -a /var/www/wiki /var/www/html
Now the basics steps are done. Point your fav browser to
For first time access to MediaWiki, it would respond with a page "Please set up the wiki first." Click on the link, which would browse to
7.Fill in the options in the configuration page. Most of them just accept the default will be OK. Remember to choose either MySQL as your database server. I suggest click on the "Use superuser account" checkbox, and enter the username of the database superuser account and password (For MySQL, the default superuser is root), otherwise it may have problems in creating the database.
8. Click the "Install MediaWiki" button at the bottom of the configuration page.
9. If everything is OK, "MediaWiki installation successful" page is displayed.
10. Move the config/LocalSettings.php file into the parent directory, run the following code
mv /var/www/html/wiki/config/LocalSettings.php /var/www/html/wiki
11. It is advised to remove the config directory for security reasons, do the following
rm -fr /var/www/html/wiki/config
Everything is over. Now point your browser to http://localhost/wiki
and start wiking. If pointing to this gives some weird information like "Page not fount/ 404 Error etc" you may restart teh web server/apache using the following
service httpd restart
For more information on changing the logo, changing the start page, adding new skins have a look over the following mediawikiFAQ,
If you face any problem you are welcome to get back to us with the issues and do remember that Google is your best friend. Have a happy wikiing. Thank you.