参照:http://www.mediawiki.org/wiki/Installation
第一步:安装。 Check that your system meets the minimum requirements
In addition to the software itself, a standard MediaWiki installation has the following requirements:
- A web server is required to send the generated pages to your web browser.
- PHP is required to run the software.
- A database server is required to store the pages and site data.
In addition, there are various optional dependencies which are required if you want to use certain advanced features (see below).
Prerequisites can be installed individually oghr throu the Xampp installer (mind, that the particular version of xampp doesn't contain PHP 5.3.1 version). Remember to read the documentation for each individual component before installation. If your website is hosted (i.e. you don't have direct control over it) then contact the server administrators or hosting company to ensure these are installed.
Note that although MediaWiki ships with an installation script which provides web-based configuration of the most important elements, some knowledge of PHP is required for more detailed customizations.
简述安装前的准备工作:
- 一个Web服务器(Apache)
- PHP
- 数据库(Mysql)
- 其他(某些特性需要额外的依赖)http://www.mediawiki.org/wiki/Manual:Installing_third-party_tools
Simple One-Download Installation
Use Xampp http://www.apachefriends.org to install and configure all of the important packages with only one download. Good for Linux, Windows and more, and includes Apache, PHP and MySQL. Note that the latest version of Xampp has moved past the PHP 5.3.1 release (5.3.8 at the time of this note) for Windows, so it should be safe. However, it has not for Mac users.
通过安装Xampp,准备好Apache,PHP,Mysql。
Xampp下载地址为:http://www.apachefriends.org/en/xampp.html,我安装的是window版本。
Important:
(1)PHP in this package needs the Microsoft Visual C++ 2008 Redistributable package from http://www.microsoft.com/en-us/download/details.aspx?id=5582. Please ensure that the VC++ 2008 runtime libraries are installed on your system.
PHP要求“Microsoft Visual C++ 2008”环境,所以要最先下载&安装“Microsoft Visual C++ 2008”。
(2)See also: FAQ - Vista problems
如果操作系统是Vista,需要额外注意一些事项。