메뉴얼: 환경 설정 스크립트

This page is a translated version of the page Manual:Config script and the translation is 38% complete.

After downloading and extracting MediaWiki on your web server, complete the basic setup by running the configuration script. This script allows you to tell MediaWiki the information it needs in order to get the wiki up and running. The following steps describe how to complete basic setup:

웹 브라우저에서 미디어위키 설정 스크립트 실행하기

 
MediaWiki 1.38 web installer

아례 예시에서, 귀하의 웹사이트가 http://www.example.com/에 있다고 가정합니다. 웹 서버 소프트웨어 설정에 따라 물리적인 서버 위치가 다를 수 있습니다. 필요하다면 아래 예시를 수정하십시오.

  1. Open a web browser and browse to the website address or path that you configured for MediaWiki in the web server software.
  1. You will see the version of MediaWiki which you extracted and a link to "Please set up the wiki first."

링크를 클릭하여 설정 스크립트를 시작합니다.
For reference (in case you want to go there directly), this is located in MediaWiki's mw-config directory (so using the example above you would go to http://www.example.com/mw-config/, or on a local machine http://localhost/mw-config/).

  1. 언어를 선택한 후, 설정 스크립트는 설치 환경 체크를 진행합니다.
  2. 페이지의 지시를 따라 데이터베이스에 연결하고, 미디어위키 관리자 계정을 생성하고, 로고나 스킨과 같은 추가 설정을 하십시오.
    Since LocalSettings.php stores the database user's password in plain text, it is strongly suggested that you create a wiki specific database account (i.e. not root).
  3. The script will populate the database and write a configuration file.
  4. After the configuration script has finished, download the generated configuration file LocalSettings.php and place the file in the base directory of your MediaWiki installation.

LocalSettings.php contains all the information needed by MediaWiki to run.

Set stringent file permissions which system users can read and write the LocalSettings.php file.
For example, set chmod 600 and chown <webserver owner> (Owner read and write, no other permissions).

Your wiki should now be ready to use. Browse to the address that you installed MediaWiki to.

Continue with more advanced configuration on 매뉴얼:시스템 관리 .

명령어로 설정하기

Alternatively, you can run the command-line installer instead of the configuration script in the web browser: php maintenance/install.php