Manual:Installation guide

This guide provides instructions on how to manually install and configure MediaWiki on a server.

There are easier alternatives to this, see 1>#Alternatives to manual installation|Alternatives to manual installation below.

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 upgrade>Special:MyLanguage/Manual:Upgrading|Upgrade guide.

Summary
For experienced users, here is the quick version of the installation instructions. Most users will want to links>#Main-installation-guide|go through all the passages.


 * 1) Check that your system meets the minimum requirements shown nearby; installreq>Special:MyLanguage/Manual:Installation requirements|Installation requirements has more details.


 * 1) download>Special:MyLanguage/Download|Download MediaWiki  and extract the archive to a web-accessible folder on your server.


 * 1) Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen.  It should be in the form  .  Replace directory with the path to your extracted MediaWiki folder.  If installing on a local machine, replace domain with  .  If you install locally and later want to access your wiki from domain, then you will need to change LocalSettings.php from   to domain.  If installed on a remote server, replace domain with your server's domain name (eg: www.myserver.com).


 * 1) cfg-script>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!

Main installation guide

 * Before installation
 * 1>Special:MyLanguage/Manual:What is MediaWiki?|Read what MediaWiki is
 * 2>Special:MyLanguage/Manual:MediaWiki feature list|Check the MediaWiki feature list
 * 3>Special:MyLanguage/Manual:Installation requirements|Installation requirements - Check these before going any further!


 * 1>Special:MyLanguage/Manual:Installing MediaWiki|Installing MediaWiki


 * Configuring MediaWiki
 * 1>Special:MyLanguage/Manual:Config script|Initial configuration (using the configuration script)
 * 2>Special:MyLanguage/Manual:System administration|Further configuration
 * 3>Special:MyLanguage/Manual:Extensions|Installing extensions

Alternatives to manual installation
You can avoid manual installation by using a pre-integrated MediaWiki appliances>Special:MyLanguage/Software appliances|software appliance, host-serv>Special:MyLanguage/Hosting services|hosting services with 1-click installation, or wiki farms.

If you are installing for hacker>Special:MyLanguage/How to become a MediaWiki hacker|development or testing, consider using vagrant>Special:MyLanguage/MediaWiki-Vagrant</>|MediaWiki-Vagrant, a set of configuration scripts for Vagrant that automate the creation and update of a virtual machine that runs MediaWiki and your choice of extensions and services.

Official docker images are released on [<tvar|1>https://hub.docker.com/_/mediawiki</> Docker Hub].

You can also use community resources based on platforms such as [<tvar|url>https://github.com/rlewkowicz/docker-mediawiki-stack</> Docker].

This is managed by Jenkins and should be kept up-to-date for some time.

These are community based resources and should always be treated with some measure of caution. Use at your own risk.

Wiki families
A wiki family is more than one wiki installed on the same server. To set up multiple wikis on MediaWiki, see Manual:Wiki family.

Advanced uses
The following pages give instructions about how to install/configure MediaWiki for other, less common purposes.
 * stick>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:
 * 1>Special:MyLanguage/Manual:Configuration</>|Advanced configuration
 * 2>Special:MyLanguage/Manual:Administrators</>|Wiki administration

Installation assistance

 * FAQ: faq>Special:MyLanguage/FAQ#Installation and configuration</>|FAQ#Installation and configuration
 * channel on


 * mailList>mail:mediawiki-l</>|mediawiki-l is the high-traffic mailing list to ask for support.

System-specific instructions
The following pages give more detailed installation instructions aimed at specific systems. However, by and large install-mw>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 install-mw>Special:MyLanguage/Manual:Installing MediaWiki</>|main install instructions before looking at a per system installation documents.


 * Intranet