LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2008, 12:24 PM   #1
poswer
LQ Newbie
 
Registered: Jul 2008
Posts: 26

Rep: Reputation: 15
how to install mediawiki on fedora 9


i have using fedora 9 box i need to install mediawiki how to do step by step any one tell me.


Thanks
 
Old 10-18-2008, 07:09 AM   #2
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
Quote:
Originally Posted by poswer View Post
i have using fedora 9 box i need to install mediawiki how to do step by step any one tell me.


Thanks
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
Code:
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
Code:
6.cp -a /var/www/wiki /var/www/html
Now the basics steps are done. Point your fav browser to
http://localhost/wiki
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
http://localhost/wiki/config/index.php
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
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
Code:
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
Code:
service httpd restart
For more information on changing the logo, changing the start page, adding new skins have a look over the following mediawikiFAQ,
http://www.mediawiki.org/wiki/Help:FAQ
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.
 
Old 10-20-2008, 06:16 AM   #3
poswer
LQ Newbie
 
Registered: Jul 2008
Posts: 26

Original Poster
Rep: Reputation: 15
hi harry thanks for your information.

then mediawiki webpage is working fine but not working gui mode. i tested var/www/html/LocalSettings.PHP file its not present

$wgLogo = "$wgStylePath/common/images/wiki.png

$wgStylePath= this two file so i want add mediawiki logo. how to do

Last edited by poswer; 10-22-2008 at 03:43 AM.
 
Old 10-22-2008, 07:57 AM   #4
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
Quote:
Originally Posted by poswer View Post
hi harry thanks for your information.

then mediawiki webpage is working fine but not working gui mode. i tested var/www/html/LocalSettings.PHP file its not present

$wgLogo = "$wgStylePath/common/images/wiki.png

$wgStylePath= this two file so i want add mediawiki logo. how to do
Can you please be a bit more specific regarging the problems you are facing related to LocalSettings.php.
Changing the logo, though in no big deal but some time it really is a frustrating experience. I'm running short of time right now[going to lv for home], so I would like you to 've a look over here,
http://meta.wikimedia.org/wiki/Media...ge_the_logo.3F
http://kb.siteground.com/article/How...ogo_image.html

and give it a try. if you are not able to change the logo don't worry, do let us know we'll give you the complete details of getting that done in simple and easy steps. thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mediawiki question Harry Seldon Linux - Server 2 10-19-2007 01:19 PM
mediawiki setup on fedora core 5 (noob here) shallowz Linux - Software 1 04-19-2006 07:41 AM
MediaWiki on Core 4 interOperate Fedora 1 08-23-2005 08:18 AM
mediawiki spellchecker jdd Linux - Software 2 08-04-2005 05:26 AM
mediawiki noir911 General 1 07-01-2005 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration