Manual:Installing MediaWiki/hu

This page covers all steps to manually install and configure MediaWiki.

A MediaWiki telepítése az Apache-, PHP- és MySQL-/MariaDB-ismeretekkel nem rendelkező átlagos számítógép-felhasználóknak nehéz lehet. The Appendices section below offers easier alternatives to manual installation.

The Appendices section below also provides installation notes for specific system configurations.

Check the installation requirements
Check that your system meets the installation requirements.

Make sure to also check the of the MediaWiki version that you plan to install.

A MediaWiki letöltése
Download the MediaWiki tar file from the official download page.

Generally, if you're using a production environment, you want to be running the latest stable release, which is MediaWiki.

Extract the MediaWiki software
A letölthető állományok  vagy   formátumú archívumok, vagyis használat előtt ki kell őket csomagolni. Ez történhet helyben (később FTP-n feltöltéssel) vagy egyből a webszerveren.

Ezt Windowson például a 7-Zip (ingyenes), WinZip, WinRAR vagy IZArc (ingyenes) programokkal lehet megtenni.

Linuxon és Mac OS X-en a beépített untar módszerrel lehet őket kibontani:

Fájlok feltöltése a szerveredre
Ha még nem töltötted fel a fájlokat a webszerverre, tedd meg most.

Erre az alábbi módokon van lehetőséged:


 * 1) a tömörített állomány felmásolásával
 * 1) FTP-klienssel (például FileZilla, Windowson, Linuxon és OSX-en is, nyílt forrású; vagy OSX-en Cyberduck)
 * 1) by using software already provided by your hosting service, such as the cPanel File Manager

Ha a szoftverben van „feltöltött állományok neveinek kisbetűsre változtatása” opció, kapcsold ki.

Ha installáltad az Apache-t, a telepítési útvonalat a  állomány tárolja (ez a [$docroot DocumentRoot] könyvtárban van; valószínűleg $1 vagy ). By default, this is  or.

The exact location of the Apache server settings and directories file  depends on your operating system. Megjegyzés: Ez az Ubuntu 14.04-ben az Apache 2.4.7-tel megváltozott; az alapértelmezett útvonal az. In Red Hat and Fedora, the file is.

Rename the uploaded folder to whatever you would like to have in the URL. If your web server is running as  for example, renaming to   directory would mean you would access your wiki at.

Adatbázis létrehozása
MediaWiki's installation script will ask you for a database name and database username, so MediaWiki can store the content of the wiki.

If you already have a database server and know the password for the "root" (admin) user, skip to the #Run the installation script section below.

If you don't know the password for the root user, for example if you are on a hosted server, you will have to create a new database before you run the MediaWiki installation script in the next section.

SQLite, MariaDB/MySQL, and PostgreSQL are supported databases. If you're unsure which database to choose, use MariaDB.

After finishing the database setup, continue with below.

SQLite
No further setup is required for SQLite if the  module for PHP is installed on the system.

On the SQLite installation page, choose a database name (which can be anything) and the SQLite database directory. For the database directory, the installer will attempt to use a subdirectory outside of the document root and create it if needed. If this directory is not safe (for example, web-readable), change it manually to avoid making it accessible to everyone on the web.

MariaDB/MySQL
Create the MariaDB/MySQL database and database user. There are several ways:


 * Use a control panel software offered by your Hosting service (example: PhpMyAdmin)
 * Use ssh to log into your host and type the commands below into a MySQL prompt. See the corresponding documentation of your hosting provider. Alternatively, contact your hosting provider to have them create an account for you.

The following commands create a database named, a user named  , and set permissions for the user on that database.

Ha az adatbázis nem a webszerverrel azonos domainen fut, az alábbiak szerint meg kell adnod a pontos helyet (az alábbi esetben mediawiki.example.com):

PostgreSQL
If you are using PostgreSQL, you will need to either have a database and user created for you, or supply the name of a PostgreSQL user with "superuser" privileges to the configuration form. Often, this is the database user named. The following commands on a Linux command-line, as the postgres user, create a database user named, and a database named   owned by the user named.

createuser -S -D -R -P -E wikiuser (majd írd be a jelszót) createdb -O wikiuser my_wiki

or as superuser (default postgres) execute the following commands at the database prompt:

Beware of the list of known issues when running MediaWiki with PostgreSQL.

A telepítőszkript futtatása
Következő lépéskét nyisd meg a MediaWiki-telepítésed index.php lapját egy böngészőben: kövesd a utasításait.

Further configuration

 * - Additional configuration
 * - Wiki administration

Maradj naprakész!
Miután kész vagy a telepítéssel, kövesd a legújabb kiadásokat, és ügyelj adatbázisod biztonságára!

Alternatives to manual installation
Instead of manually installing MediaWiki, alternative options might be easier:
 * pre-integrated software appliances
 * hosting services with 1-click installation, or wiki farms

See also the.

System-specific instructions
The pages listed on give more detailed installation instructions aimed at specific systems.

However, by and large these per-system docs are less maintained and might not always be up to date. First consult (this page) before looking at per-system installation documentation.

Running multiple wikis
Refer to Manual:FAQ#Installation and configuration.

Importing an existing wiki database
Refer to Manual:FAQ#Installation and configuration.