Manual:Running MediaWiki on Fedora
![]() |
The content of this page has not been verified. Instructions written in this page have not been verified to be correct. If there are any inaccuracies, please drop a note at the support desk. |
![]() |
It has been suggested that this page or section be merged with Manual:Installing MediaWiki. (Discuss) |
<translate> Installation guides</translate> |
---|
<translate>
on FreeBSD</translate> |
<translate>
on GNU/Linux</translate> |
- ALT Linux |
- Arch Linux |
- Damnsmalllinux |
- Debian |
- Fedora |
- Gentoo |
- Mandriva |
- Red Hat Enterprise Linux |
- Slackware |
- Ubuntu |
<translate>
on Mac OS X</translate> |
<translate>
on NetWare</translate> |
<translate>
on Solaris</translate> |
- <translate>
on Solaris 11 / opensolaris</translate> |
- <translate>
on Solaris 10</translate> |
<translate>
on Windows</translate> |
- Windows Server 2008 |
- Windows Server 2003 |
- <translate>
Streamlined Guide</translate> |
- <translate>
Simple Windows/Apache Guide</translate> |
- <translate>
on a stick</translate> |
- <translate>
on MoWeS Portable</translate> |
- <translate>
on Uniform Server</translate> |
- <translate>
on XAMPP</translate> |
- <translate>
on Sourceforge.net</translate> |
This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.
You have two options for installing MediaWiki on Fedora: installing it as an rpm/yum package or simply deploying the PHP yourself from the tarball or from the Git repository.
Running manually[edit | edit source]
This guide assumes that you are using Apache and MySQL. Feel free to add instructions for other servers and databases.
You can simply drop the tarball in a directory accessible to your web server, navigate to it and run the installation wizard. It is closer to the way the developers work, so it makes it easier for the developers to support you.
You need to have these packages installed before using MediaWiki:
- httpd
- mysql-server
- php
- php-pear
- php-xml
- php-mysql
- php-intl
- php-pecl-apc # does not longer exist in Fedora 20, use php-pecl-zendopcache
- php-gd
- php-mbstring
- ImageMagick-perl
So basically just doing the following command shall do
sudo yum install -y httpd mysql-server php php-pear php-xml php-mysql php-intl php-pecl-apc php-gd php-mbstring ImageMagick-perl
Installing as a package[edit | edit source]
MediaWiki is available as a part of Fedora Extras (4 or later). In order to install it, you should run (as root):
# yum install mediawiki
After installation, open the file /usr/share/doc/mediawiki/README
and follow the instructions there.
Bugs[edit | edit source]
If blank page when clicking on "Please setup the wiki first." See this bug: (and fix) https://bugzilla.redhat.com/show_bug.cgi?id=967302
See Also[edit | edit source]
- Start to end Mediawiki Setup Guide at ofswiki.org, closely referencing official docs, with support for multiple distros including Fedora, automation and a minimal style
- SELinux
Language: | English • 日本語 • русский |
---|