Manual:Installation guide/sv

Den här guiden innehåller instruktioner för att installera och konfigurera MediaWiki, både manuellt och med enklare alternativ. Installera fler än en wiki och installera wikier som redan finns behandlas också. Bilagorna innehåller länkar till lite mer detaljerade installationsanteckningar för specifika systemkonfigurationer och andra mindre vanliga användningar av programmet.

Uppgraderingsguide
Om du redan använder MediaWiki, kolla in Uppgraderingsguiden.

Sammanfattning
For experienced users, here is the quick version of the installation instructions. Most users (like if you don't know how to install or check for the prerequisite software on your computer) will want to follow the main installation guide.

  Check that your system meets the following minimum requirements. ( See Installation requirements for more details. Make sure to also check the RELEASE NOTES shipped with MediaWiki for requirements. ) Du behöver:
 * MediaWiki (den nuvarande stabila versionen är )
 * En webbserver som Apache eller IIS
 * Lokal- eller kommandoradsaccess behövs för att köra underhållsskript

Image thumbnailing requires additional programs. (required by VisualEditor) and other services have their own requirements.   Download MediaWiki and extract the archive to a web-accessible folder on your computer.   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. Byt ut domain mot  om du installerar på en lokal dator. 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 (e.g. www.myserver.com).   Follow the on-screen instructions to complete the process.  
 * MediaWiki requires some PHP extensions to be installed. These extensions are enabled in PHP by default. The MediaWiki installer will point out missing PHP extensions. See Manual:Installation requirements for a full list.
 * En databasserver, det vill säga, en av följande:

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 installing MediaWiki, read these:
 * -  Check these before going any further! 

Alternatives to manual installation
You can avoid manual installation by using a pre-integrated MediaWiki software appliance, hosting services with 1-click installation, or wiki farms.

If you are installing for development or testing, consider using 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 Docker Hub.

Wikifamiljer (flera wikier)

 * Huvudsida: 

En wikifamilj är fler än en wiki installerad på samma dator.

Installera MediaWiki fler än en gång
One approach is to install multiple instances of MediaWiki (such as with a software bundle like the Bitnami MediaWiki Stack) in different directories – one for each wiki. For example, you want an enterprise wiki and a personal wiki, and you want to keep them totally separate.

Multiple wikis with one MediaWiki
You could use a single installation of MediaWiki for multiple wikis, by either:

Se . Se .
 * 1) Using a different database for each wiki.
 * 1) Using a different database prefix for each wiki.

Installing an existing wiki database
There are two methods to install a content copy of Wikipedia, Wiktionary, or some other wiki (for reading offline, for conducting experiments, and for mirroring/forking).

The main (but not necessarily the easiest) method for doing this is to install MediaWiki and then import. '' See Manual:FAQ#Wiki importing. ''

(Non-MediaWiki solutions, such as Xowa and Kiwix, can be found at Database download, and are probably the best options).

Advanced configuration
The following pages cover some of the more advanced configuration options:
 * Advanced configuration
 * Wiki administration

Installation assistance

 * FAQ: FAQ#Installation and configuration
 * MediaWiki installation errors
 * Ask questions and receive help about installing MediaWiki

System-specific instructions
The pages listed on give more detailed installation instructions aimed at specific systems. However, by and large is more up to date, and better written than the per system docs, and as such it is recommended you first consult  before looking at a per system installation documents.

Noter

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


 * Some users find it helpful to install an additional software package such as phpMyAdmin (MySQL) or phpPgAdmin (Postgres) to help administer the database server.