2014-08-01

Created page with "Üdv, ez a '''MediaWiki installation guide''', ami segítséget nyújt a MediaWiki webkiszolgálóra történő kézi telepítésében és be..."

New page

<languages/>

{{TNT|MediaWiki Introduction}}{{TNT|InstallationNav}}

Üdv, ez a '''[[Special:MyLanguage/MediaWiki|MediaWiki]] installation guide''', ami segítséget nyújt a MediaWiki webkiszolgálóra történő kézi telepítésében és beállításában. Lehetséges, hogy a kézi telepítésen kívül található kényelmesebb lehetőség is: MediaWiki [[Special:MyLanguage/software bundles|software bundles]] and [[Special:MyLanguage/Hosting_services | hosting services with 1-click installation and wiki farms]]

The first part of this guide gives general instructions, while the last section contains a list of appendices that give more detailed installation notes for specific system configurations and other less common uses of the software.

== Upgrade guide ==

If you are already running MediaWiki, see the [[Special:MyLanguage/Manual:Upgrading|Upgrade guide]].

<onlyinclude>

{| class="wikitable" style="margin:.4em .4em .4em .4em; float:right;"

| style="max-width:375px; text-align:left; padding: .4em .4em .4em 1em; font-size:105%; background-color:#EEEEEE;" | [[File:Gnome-system-software-installer.svg|40px|Requirements]] <span style="font-size:140%; margin-left:10px;">'''<sub>Requirements in short</sub>'''</span>

|-

| style="padding:0 .4em .24em .4em; font-size:95%; max-width:375px;" |

* [[Special:MyLanguage/Download|Download]] MediaWiki (current stable version is {{MW stable release number}})

* '''Web server''' such as [http://httpd.apache.org Apache] or [http://www.microsoft.com/iis IIS]

** Local or command line access is needed for running maintenance scripts

* '''[http://www.php.net PHP]''' version {{MW stable php requirement}} or later, but not [[bugzilla:49975|PHP 5.5]] currently.<br />Due to a security issue with PHP it is strongly advised to use PHP 5.3.5+ ([http://lists.wikimedia.org/pipermail/mediawiki-announce/2011-January/000094.html see here for more details]).

** with [http://php.net/pcre Perl Compatible Regular Expressions]

** with [http://php.net/spl Standard PHP Library]

** with [http://www.php.net//manual/en/book.json.php JSON support]

* '''Database Server'''

** [http://www.mysql.com MySQL] {{MW stable mysql requirement}} or later (*)

** or [http://www.postgresql.org PostgreSQL] 8.1 or later

*** Requires PL/pgSQL (contained in contribs)

*** Full-Text searching (Native in >=8.3, requires tsearch2 extension <=8.2)

** or [[Special:MyLanguage/SQLite|SQLite ]]

<small>For [[Special:MyLanguage/Manual:image thumbnailing|image thumbnailing]] and [[Special:MyLanguage/Texvc|TeX]]-support, additional programs are required.

(*) – [[w:MariaDB|MariaDB]], a [[w:GPL|GPL]] fork of the MySQL code by Monty Widenius, the founder of MySQL, is an alternative and can also be used by MediaWiki. [http://downloads.askmonty.org/mariadb/repositories/ Debian/Ubuntu repos].</small>

|}

</onlyinclude>

== Summarized installation guide ==

{| style="background-color: #F5A9A9;" |

|'''Warning about webhost auto-installers'''

|-

|Programs provided by webhosts to automatically install applications such as MediaWiki can, and frequently do, mishandle the process, resulting in errors and a failure to install MediaWiki (or another application for that matter). If you encounter this problem, it '''does not''' mean that you cannot install MediaWiki; all it means is that you should do it manually. This is very easy and there are benefits to doing this, including more control over where on the server and file path you want to install it, the ability to use a shared database, or the ability to control more features of the wiki during the installation.

|}

For experienced users, here is the quick version of the installation instructions. Most users will want to read the more detailed version, [[#Main-installation-guide|below]].

# Check that your system meets the [[Special:MyLanguage/Manual:Installation requirements|minimum requirements]]

# [[Special:MyLanguage/Download|Download MediaWiki]] <small>{{MW stable release link|(direct link to latest version)}}</small> and extract the archive to a web-accessible folder on your server.

# Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen. It should be in the form <tt>http://[domain]/[directory]/mw-config/index.php</tt>. Replace ''[directory]'' with the path to your extracted MediaWiki folder. If installed on a local machine, replace ''[domain]'' with '''localhost'''. If installed on a remote server, replace ''[domain]'' with your server's domain name (eg: www.myserver.com).

# [[Special:MyLanguage/Manual:Config script|Follow the on-screen instructions]] to complete the process.

These instructions are deliberately brief. There is a lot that could go wrong, so if in doubt, you are advised to read the full instructions below!

{{Anchor|Main-installation-guide}}

== Main installation guide ==

* Before installation

** [[Special:MyLanguage/Manual:What is MediaWiki?|Read what MediaWiki is]]

** [[Special:MyLanguage/Manual:MediaWiki feature list|Check the MediaWiki feature list]]

** [[Special:MyLanguage/Manual:Installation requirements|Installation requirements]] - Check these before going any further!

* [[Special:MyLanguage/Manual:Installing MediaWiki|Installing MediaWiki]]

* Configuring MediaWiki

** [[Special:MyLanguage/Manual:Config script|Initial configuration]] (using the configuration script)

** [[Special:MyLanguage/Manual:Configuring MediaWiki|Further configuration]]

** [[Special:MyLanguage/Manual:Extensions|Installing extensions]]

== Alternative to manual installation ==

Some users may prefer to skip manual installation by using a pre-integrated MediaWiki [[Special:MyLanguage/Software appliances|software appliance]] or [[Special:MyLanguage/Hosting services|hosting services with 1-click installation and wiki farms]].

If you are installing only for [[Special:MyLanguage/How to become a MediaWiki hacker|development]] or testing, consider using [[Special:MyLanguage/mediawiki-vagrant|mediawiki-vagrant]]. You must have (and enable) [[:w:hardware virtualization|hardware virtualization]]. Many modern computers have this, and you can check in your BIOS.

== Appendices ==

=== Advanced uses ===

The following pages give instructions about how to install/configure MediaWiki for other, less common purposes.

* [[Special:MyLanguage/Manual:Wiki on a stick|Installing MediaWiki on a memory stick]]

=== Advanced configuration ===

The following pages cover some of the more advanced configuration options:

* [[Special:MyLanguage/Manual:Configuration|Advanced configuration]]

* [[Special:MyLanguage/Manual:Administrators|Wiki administration]]

==Installation assistance==

*FAQ: [[Special:MyLanguage/FAQ#Installation and configuration|FAQ#Installation and configuration]]

*[[Special:MyLanguage/MediaWiki on IRC|IRC (#mediawiki)]]

*'''[https://lists.wikimedia.org/mailman/listinfo/mediawiki-l mediawiki-l]''' (Mailing List) is the high-traffic mailing list to ask for support.

*'''[http://www.mwusers.com MediaWiki Users]''' (Forum) is a user-to-user MediaWiki support forum (offline)

=== System-specific instructions ===

The following pages give more detailed installation instructions aimed at specific systems. However, by and large [[Special:MyLanguage/Manual:Installing MediaWiki|Manual:Installing MediaWiki]] is more up to date, and better written than the per system docs, and as such it is recommended you first consult the [[Special:MyLanguage/Manual:Installing_MediaWiki|main install instructions]] before looking at a per system installation documents.

* [[Special:MyLanguage/Manual:Running MediaWiki on FreeBSD|FreeBSD]]

* [[Special:MyLanguage/Manual:Running MediaWiki on Linux|GNU/Linux]]

** [[Special:MyLanguage/Manual:Running MediaWiki on ALT Linux|ALT Linux]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Arch Linux|Arch Linux]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Damnsmalllinux|Damnsmalllinux]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Debian GNU/Linux|Debian]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Fedora|Fedora]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Gentoo Linux|Gentoo]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Mandriva|Mandriva]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Red Hat Linux|Red Hat Enterprise Linux]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Slackware Linux|Slackware]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Ubuntu|Ubuntu]]

* [[Special:MyLanguage/Manual:Running MediaWiki on Mac OS X|Mac OS X]]

* [[Special:MyLanguage/Manual:Running MediaWiki on NetWare|NetWare]]

* [[Special:MyLanguage/Manual:Running MediaWiki on Solaris|Solaris]]

** [[Special:MyLanguage/Manual:Running MediaWiki on Solaris 10|Solaris 10]]

* [[Special:MyLanguage/Manual:Running MediaWiki on Windows|Windows]]

** [[Special:MyLanguage/Manual:Installing MediaWiki on Windows XP|Windows XP]]

** [[Special:MyLanguage/Manual:Installing MediaWiki on Windows Server 2003|Windows Server 2003]]

** [[Special:MyLanguage/Manual:Installing MediaWiki on Windows Server 2008|Windows Server 2008]]

** [[Special:MyLanguage/Manual:Installing MediaWiki on Windows Server 2008 R2|Windows Server 2008 R2]]

** [[Special:MyLanguage/Manual:Newcomers guide to installing on Windows|Newcomers guide]]

** [[Special:MyLanguage/Manual:Streamlined Windows Install Guide|Streamlined Guide]]

** [[Special:MyLanguage/Manual:Simple Windows Apache Installation|Simple Windows Apache Installation]]

=== Notes ===

<div class="plainlinks">

* MediaWiki ships with an installation script which allows web-based configuration

* MediaWiki can share the database of another web-based application, e.g. phpBB etc.

* Knowledge of PHP is required in order to customize the software

* PHP 5 support has been required since MediaWiki 1.7 – if you are using an older version of PHP and cannot upgrade then you should use MediaWiki {{MW ancient release number}} <small>([http://download.wikimedia.org/mediawiki/1.6/mediawiki-{{MW ancient release number}}.tar.gz download])</small>. Note that this version is ''no longer supported''.

* MySQL 4 support has been required since MediaWiki 1.6 – if you are using an older version of MySQL and cannot upgrade then you should use MediaWiki 1.5.8 <small>([http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5.8.tar.gz?download download])</small>. Note that this version is ''no longer supported''.

* MySQL 5 support is required since [[Special:MyLanguage/MediaWiki 1.19|MediaWiki 1.19]] – if you are using an older version of MySQL and cannot upgrade, you should use MediaWiki 1.18.5 <small>([[download:mediawiki/1.18/mediawiki-1.18.5.tar.gz|download]])</small>. Note that this version is ''no longer supported''.

* Some users find it helpful to install an additional software package such as [http://www.phpmyadmin.net phpMyAdmin] (MySQL) or [http://phppgadmin.sourceforge.net/ phpPgAdmin] (Postgres) to help administer the database server.

</div>

== See also ==

* [[Special:MyLanguage/Software bundles|MediaWiki software bundles]]

* [[Special:MyLanguage/Hosting_services|MediaWiki hosting services and wiki farms]]

* [[Special:MyLanguage/Manual:Upgrading|Upgrading]]

* [[Special:MyLanguage/Manual:Uninstallation|Uninstallation]]

* [[Special:MyLanguage/Manual:FAQ|FAQ]]

[[Category:Installation{{langcat|Installation guide}}|{{PAGENAME}}]]

Show more