Manual:Installation guide/yue
歡迎來到MediaWiki安裝指南,提供響一個網頁伺服器度手動安裝同調較 MediaWiki 。留意用戶可以搵一啲 MediaWiki 軟件應用去做一啲方便嘅另類手動安裝。 Installing more than one wiki and installing existing wikis are also covered. 呢個指南嘅第一部份畀一啲大致上嘅指示,響最後嘅一節會有一個註腳,會畀啲更多對於特定嘅系統更詳細嘅安裝指示同埋對於軟件唔係太常用嘅貼士。
Upgrade guide
If you are already running MediaWiki, see the Upgrade guide.
Manual installation
Summary
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.) You'll need:
- MediaWiki (current stable version is 1.38.1)
- PHP 7.3.19/7.4.3+
- with Standard PHP Library
- with JSON support
- A database server, that is, one of the following:
- MySQL 5.5.8+
- MariaDB
- PostgreSQL 9.2+
- SQLite 3.8+
Image thumbnailing requires additional programs. Parsoid (required by VisualEditor) and other services have their own requirements.
- Download MediaWiki (direct link to download the stable release version) 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
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 withlocalhost
. If you install locally and later want to access your wiki from domain, then you will need to change LocalSettings.php fromlocalhost
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
- 查吓MediaWiki功能一覽
- 安裝需求 - 響去之前查吓呢啲!
- 手冊:乜嘢係MediaWiki?
- 手冊:MediaWiki 功能列表
- Manual:Installation requirements - Check these before going any further!
- Manual:Installing MediaWiki
- Manual:Config script - Initial configuration using the configuration script
- Manual:System administration - Further configuration
- Manual:Extensions - Installing extensions
Alternatives to manual installation
If your head is swimming from reading the above — or you feel frustrated, stuck, or lost — this section is for you...
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.
You can also use community resources based on platforms such as 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 (multiple wikis)
- Main page: Manual:Wiki family
A wiki family is more than one wiki installed on the same computer.
Installing MediaWiki more than once
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:
- Using a different database for each wiki.
See $wgDBname .
- Using a different database prefix for each wiki.
See $wgDBprefix .
Installing an existing wiki
Some users wish to install MediaWiki with Wikipedia, Wiktionary, or some other wiki loaded. This is useful 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).
頁底
進階使用
下面嘅版畀一啲指示如何響其它,唔太常用情況下安裝/調較 MediaWiki 。
進階調較
下面嘅版覆蓋一啲或者更高級嘅調較選項:
Installation assistance
- #mediawiki connect channel on IRC
- mediawiki-l is the high-traffic mailing list to ask for support.
指定系統個別指示
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 Manual:Installing MediaWiki before looking at a per system installation documents.
Notes
- 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.