Manual:Running MediaWiki on Fedora/pl

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Running MediaWiki on Fedora and the translation is 11% complete.

Other languages:
English • ‎español • ‎polski • ‎português • ‎русский • ‎中文 • ‎日本語
Przewodniki instalacji
FreeBSD
GNU/Linux
- ALT Linux
- Arch Linux
- Damnsmalllinux
- Debian or Ubuntu
- Fedora
- Gentoo
- Mandriva
- Red Hat Enterprise Linux
- Slackware
Mac OS X
NetWare
Solaris
- Solaris 11 / opensolaris
- Solaris 10
Windows
- Windows Server 2016
przenośne
- Uniform Server
- XAMPP
Sourceforge.net
Wikimedia-logo-meta.png

Ta strona została przeniesiona z MetaWiki.
Prawdopodobnie wymaga uporządkowania – prosimy o pomoc. Dodatkowo, niektóre linki na tej stronie mogą być zaznaczone na czerwono; odpowiednie strony można znaleźć na Meta. Usuń ten szablon po zakończonych porządkach.

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.

Running manually

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-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 mysql-server php php-pear php-xml php-pdo-mysql php-intl php-pecl-zendopcache php-gd php-mbstring ImageMagick-perl

Installing as a package

MediaWiki is available as of Fedora Core 4 or later. 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.

Błędy

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

Zobacz też