Manual:Installation guide/zh

Welcome to the MediaWiki installation guide which provides instructions on how to manually install and configure MediaWiki on a web server. Note that some users may find MediaWiki software bundles and hosting services with 1-click installation and wiki farms a convenient alternative to manual installation.

本文第一部分是一个宽泛的一般介绍. 而最后章节包括一个附录列表，包括在具体的操作系统上更详细的安装说明以及这个软件的不太常用的用途.

升级指南
If you are already running MediaWiki, see the Upgrade guide.

概括安装指南
对于有经验的用户，这里是安装说明的快速版. 但是大多数用户仍然需要阅读详细的安装说明.


 * 1) Check that your system meets the minimum requirements
 * 2) Download MediaWiki  and extract the archive to a web-accessible folder on your server.
 * 3) Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen. It should be in the form http://[domain]/[directory]/mw-config/index.php. Replace [directory] with the path to your extracted MediaWiki folder. If installing on a local machine, replace [domain] with [localhost].  A locally installed wiki will need the LocalSettings.php modified from [localhost] to [domain] if you will ever be accessing the wiki from that domain. If installed on a remote server, replace [domain] with your server's domain name (eg: www.myserver.com).
 * 4) Follow the on-screen instructions to complete the process.

上述安装提示只是一个简要说明，也许会出错，所以，如果有任何不确定的地方，建议你还是阅读下面的完整安装说明.

详细安裝指南

 * Before installation
 * Read what MediaWiki is
 * Check the MediaWiki feature list
 * Installation requirements - Check these before going any further!


 * Installing MediaWiki


 * Configuring MediaWiki
 * Initial configuration (using the configuration script)
 * Further configuration
 * Installing extensions

替代手工安装
Some users may prefer to skip manual installation by using a pre-integrated MediaWiki software appliance or hosting services with 1-click installation and wiki farms.

If you are installing only for development or testing, consider using mediawiki-vagrant. You must have (and enable) hardware virtualization. Many modern computers have this, and you can check in your BIOS.

高级用法
The following pages give instructions about how to install/configure MediaWiki for other, less common purposes.
 * Installing MediaWiki on a memory stick

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

安装助理

 * FAQ: FAQ#Installation and configuration
 * IRC (#mediawiki)
 * mediawiki-l (Mailing List) is the high-traffic mailing list to ask for support.
 * MediaWiki Users (Forum) is a user-to-user MediaWiki support forum (offline)

系统相关指南
The following pages give more detailed installation instructions aimed at specific systems. However, by and large 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 main install instructions before looking at a per system installation documents.


 * FreeBSD


 * GNU/Linux
 * ALT Linux
 * Arch Linux
 * Damnsmalllinux
 * Debian
 * Fedora
 * Gentoo
 * Mandriva
 * 红帽Linux
 * Slackware
 * Ubuntu


 * Mac OS X


 * NetWare


 * Solaris
 * Solaris 10


 * Windows
 * Windows XP
 * Windows Server 2003
 * Windows Server 2008
 * Windows Server 2008 R2
 * 新手指南
 * 流程化指南
 * 简单的Windows版Apache安装

注释

 * MediaWiki 附带安装工具，以方便您通过浏览器来完成安装


 * MediaWiki 可以和其它程序共用一个数据库，例如 phpBB 等


 * 如果您想自定义 MediaWiki 的话，您需要懂 PHP 编程


 * 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 1.6.12 (download) . Note that this version is no longer supported.


 * MediaWiki 1.6 之后的版本只能运行在 MySQL 4 或更高的版本上. 如果您的 MySQL 版本低于4且无法升级，那么你只能使用 MediaWiki 1.5.8 (点击下载) . 注意，该版本不再提供支持.


 * MySQL 5 support is required since MediaWiki 1.19 – if you are using an older version of MySQL and cannot upgrade, you should use MediaWiki 1.18.5 (download) . Note that this version is no longer supported.


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