Manual:Fedora での MediaWiki の実行
このページまたは節は、Manual:Installing MediaWiki とともに、統合することが提案されています。(議論) |
You have two options for installing MediaWiki on Fedora: installing it as an rpm/dnf package or simply deploying the PHP yourself from the tarball or from the Git repository.
手作業での実行
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
- mariadb-server
- php
- php-pear
- php-xml
- php-pdo_mysql # in Fedora 25, php-mysql was deprecated.
- php-intl
- php-pecl-zendopcache # use php-pecl-apc instead of using Fedora 19 or older
- php-gd
- php-mbstring
- ImageMagick-perl
So basically just doing the following command shall do
sudo dnf install -y httpd mariadb-server php php-pear php-xml php-pdo_mysql php-intl php-pecl-zendopcache php-gd php-mbstring ImageMagick-perl
パッケージとしてのインストール
MediaWiki は Fedora Core 4 以降で利用できます。 In order to install it, you should run (as root):
dnf install mediawiki
After installation, open the file /usr/share/doc/mediawiki/README
and follow the instructions there.
Also, the file /usr/share/mediawiki/INSTALL
.
バグ
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