MediaWiki 설치

From Biocourse

Jump to: navigation, search
MediaWiki 설치 :   
           
1. MediaWiki설치를 위해 필요한 것들.
  1. 아파치 웹 서버 - 다운로드 the official download page.
    • IIS 란 윈도우 기반 서버에도 설치가 가능합니다.
  2. 미디어위키는 php로 만들어졌습니다. 따라서 php가 깔려있어야합니다. 다운로드official download page.
  3. MySQL database : 데이터를 저장하는데 사용됩니다. 다운로드 official download page.
  4. MediaWiki 를 다운받습니다. 다운로드 official download page.
 리눅스 설치시 기본적으로 깔리는 것들이기 때문에 크게 변화되는 것은 없습니다. 각각을 체크해보고 없다면 설치하도록 합니다.
2. 위의 요구사항이 만족되었으면 다음과 같은 절차에 의해 위키를 설치하게 됩니다.
  2-1. 압축을 풉니다.
    >tar -zxvf mediawiki-version.tar.gz
  2-2. 압축을 푼다음 웹서비스가 가능한 폴더로 이동시킵니다
    > mv mediawiki-version /var/www/html/ 혹은 >mv mediawiki-version /home/사용자명/public_html/
  2-3. 옮긴 폴더로 이동 후, 외부에서 접근할 수 있는 권한을 설정합니다.
    >cd /var/www/html or >cd /home/사용자명/public_html
    >chmod 755 ./mediawiki-version/config  경우에 따라서는  권한설정이 777이 될 경우도 있습니다.
  2-4. 인터넷 주소창에서 실행시킵니다.
    http://localhost/mediawiki-version/config/index.php
  2-5. 다음부터는 손쉽게 설치가 가능합니다. 에러가 발생시 에러메세지를 확인하고 해결하도록 합니다.

  2-6. 설치가 완료되면 다음과 같은 화면이 출력된다

MediaWiki 1.6.5 Installation

Please include all of the lines below when reporting installation problems.

  • PHP 5.1.2 installed
  • PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • PHP's memory_limit is 8M. If this is too low, installation may fail! Attempting to raise limit to 20M... ok.
  • Have zlib support; enabling output compression.
  • Neither Turck MMCachenor eAcceleratorare installed, can't use object caching functions
  • Found GNU diff3: /usr/bin/diff3.
  • Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
  • Installation directory: /var/www/html/AgingWiki
  • Script URI path: /AgingWiki
  • Environment checked. You can install MediaWiki.

    Generating configuration file...

  • Database type: mysql
  • Attempting to connect to database server as root...success.
  • Connected to 5.0.18
  • Created database agingwikiDB
  • Creating tables... using MySQL 4 table defs... done.
  • Initializing data...
  • Granting user permissions to jkkwon on agingwikiDB...success.
  • Created sysop account jkkwon.
  • <pre>Initialising "MediaWiki" namespace...
    Clearing message cache...Done.
    </pre>

    Creating LocalSettings.php...

    Installation successful! Move the config/LocalSettings.php file into the parent directory, then follow this link to your wiki.


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or read it online

# 환경설정
1. config폴더로 이동 후, config 폴더 밑에 생성된 LocalSetting.php 파일을 메인폴더로 옮깁니다.
>cd /var/www/
>mv LocalSetting.php ../
2. config폴더를 삭제합니다
>cd ../
>rm -rf config
 
이젠 열심히 위키하시면됩니다.
2. FCKeditor 설치
  문서 프로그램 환경에 익숙한 사용자들을 위한 에디터입니다. 기존 위키에서 이미지삽입이나 링크등이 까다로운 반면 이 에디터를 설치하면 보다 쉽게 문서의 편집이 가능합니다.
  • wiki  폴더 밑에 FCKeditor 압출을 풉니다