Fedora Linux Support Community & Resources Center
  #1  
Old 13th June 2007, 07:30 AM
bitsofme Offline
Registered User
 
Join Date: Jul 2004
Location: Isle of Man
Age: 44
Posts: 75
Mediawiki installation F7

Hello,

I am trying to get mediawiki working on fedora 7 but I can not.

If I try HTTP://localhost i get the Apache server default page so httpd is running

I created a phpinfo.php file that shows all the php configuration information so php is working

I created a mysql database as per the mediawiki web site.

When I enter HTTP://localhost/mediawiki something keeps adding index.php/index.php/index.php/index.php/index.php/index.php to the end of the url and I get a 404 not found error

Any Ideas?

I installed everything via yum and it is a fresh install not an upgrade.

With thanks
Andrew
Reply With Quote
  #2  
Old 16th June 2007, 03:15 PM
bitsofme Offline
Registered User
 
Join Date: Jul 2004
Location: Isle of Man
Age: 44
Posts: 75
Sorry looks like I created my own problem.
Instead of copying the wiki folder into the document root I tried to create a mediawiki.conf in /etc/httpd/conf.d/
Must have screwed up the file.

Andrew
Reply With Quote
  #3  
Old 8th August 2007, 06:44 AM
wt6g's Avatar
wt6g Offline
Registered User
 
Join Date: Jun 2005
Posts: 176
Mediawiki Installation FC7 F7

Mediawiki Install for FC7:

Install mediawiki with yum or yumex. From terminal using yum, yum install mediawiki

If you have Apache running and you have web services already running you probably have your document root set to /var/www/html which is the default. You will also need MYSQL running. Apache runs fine out of the box and shows its test screen if you browse to http://127.0.0.1/ MYSQL requires some setup:

#mysql -u root

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.37 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SET PASSWORD FOR ''@'localhost'=PASSWORD('newpassword');
Query OK, 0 rows affected (0.11 sec)

mysql> SET PASSWORD FOR ''@'jackson.umina.lan'=PASSWORD('newpassword'); [substitute your localhost.localdomain DO NOT just type localhost.localdomain]
Query OK, 0 rows affected (0.00 sec)

Now you have Apache and MYSQL running.

mediawicki installs into /var/www so if you run
ls /var/www you should see a directory wicki
Do the following:
cd html [remember /var/www/html is the default document root for Apache]
ln -s ../wicki [this makes a symbolic link to /var/www/wicki from the document root so Apache can get to it.
now you can browse to http://127.0.0.1/wiki/config/index.php

The script will evaluate your installation and tell you if it can install.

That should get you through the toughest part. As soon as I learn what a wiki is and how it works, I'll post more!

/Len
Reply With Quote
  #4  
Old 8th August 2007, 12:54 PM
bitsofme Offline
Registered User
 
Join Date: Jul 2004
Location: Isle of Man
Age: 44
Posts: 75
Thanks for the reply.

I got everything working I just got confused with the difference between Fedora Core 6 and Fedora 7.

everythis is working well.

Thanks.
Reply With Quote
  #5  
Old 7th December 2007, 06:33 PM
darkprok Offline
Registered User
 
Join Date: Jun 2004
Posts: 25
I've also found out that you need to symlink the skins folder from the rpm into your webroot.
e.g. if you copied /var/www/wiki to /var/www/html/mywiki
then /var/www/html/mywiki is your wiki's webroot and you need to
cd /var/www/html/mywiki
ln -s /usr/share/mediawiki/skins
Reply With Quote
Reply

Tags
installation, mediawiki

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MediaWiki Setup glennzo Using Fedora 4 4th June 2009 09:44 AM
mediawiki 404 not found thick0 Using Fedora 6 4th July 2007 03:10 AM
MediaWiki problem shallowz Using Fedora 9 9th April 2007 11:41 PM
MediaWiki -upgrade? djrogi Using Fedora 3 13th September 2006 11:14 PM
MediaWiki 1,5.8 in FC 5 MichiGreat Installation and Live Media 2 29th March 2006 04:30 PM


Current GMT-time: 14:11 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat