DokuWiki 업그레이드 (Release 2008-05-05)

1. 새로운 릴리이즈

DokuWiki의 2008-05-05 버전이 릴리즈 되었다. ^^
이 버전은 http://www.splitbrain.org/projects/dokuwiki에서 받을 수 있다.
설치는 이전 업그레이드와 다를 바가 없다.


2. 변경된 점

Changelog를 보면 아래와 같은 내용을 확인할 수 있다.

  • Improved RSS syndication, now supports diff views and full HTML, search results are available as RSS
  • Added AJAX to the index view
  • Show diffs between arbitrary page revisions
  • Improved search and result highlighting
  • Better plugin support for modifying DokuWiki forms :!: removes *FORM_INJECTION events
  • Separation of TOC from content for more template flexibility
  • Security measurements against CSRF attacks
  • X-Sendfile support for supporting Webservers
  • XMLRPC API
  • Use of UniversalWikiEditButton in default template
  • Complete rewrite of the ACL manager
  • Moved spell checker from core to plugin
  • Support for deep namespace templates
  • Popularity plugin added by default – please help us to improve DokuWiki with your data
  • Using locale aware strftime instead of date :!: Plugin authors may need to fix their plugins
  • Use fulltext index for media file usage scan for better scalability
  • Introduction of a temp folder :!: upgraders should make sure data/tmp exists and is writable
  • Many bugfixes, smaller features and performance improvements

3. 업그레이드 절차

업그레이드는 아래 기술한 내용을 순차적으로 적용하였다. 업그레이드 직전 버전은 Release rc2008-03-31이다.

기존 풀 백업

기존 위키의 루트 전체를 백업하였다. 조심해서 나쁠 것 없다. ^^

기본 작업

기존 위키의 루트는 wiki이다 업그레이드를 위해 newwiki로 복사한 후 릴리즈된 파일을 엎어씌운다.

cd ~/public_html/
cp -r wiki newwiki
cd temp/
tar xvfz dokuwiki-2008-05-05.tgz
cp -rf dokuwiki-2008-05-05/* ~/public_html/newwiki/

permissions

다음 항목들의 권한을 반드시 수정하여야 DokuWiki가 작동한다.

  • data/ directory: 이 디렉토리(하위 디렉토리 포함)의 모든 파일은 web process가 쓰기 가능하여야 한다.
  • conf/ directory: 다음 파일들은 web process가 쓰기 가능하여야 한다.
    • local.php, users.auth.php, acl.auth.php
  • lib/plugins/ directory: 이 디렉토리는 web process가 쓰기 가능하여야 한다.
  • lib/ directory: 이 디렉토리는 public이 읽기 가능하여야 한다. 755 퍼미션을 주도록 한다.
cd newwiki/
chmod -R 777 data/*
chmod 777 conf


cd conf/
chmod 757 users.auth.php
chmod 757 local.php

정리

  • 삭제할 파일 목록을 참고하여 더이상 필요없어진 파일들을 삭제한다.
  • 캐쉬 디렉토리(data/cache/)를 삭제한다.

테스트

먼저 newwiki 하위의 .htaccess 파일의 RewriteBase를 /wiki에서 /newwiki로 변경한다.

사용자 삽입 이미지

http://kyungseo.pe.kr/newwiki/doku.php?do=check로 접속하여 DokuWiki가 제대로 작동하는지 체크한다.

만약 적절한 퍼미션을 적용하지 않은 경우 아래와 같은 화면이 나타날 수 있다.

사용자 삽입 이미지

모든 것이 제대로 설정되었다면 아래와 같은 화면이 나타난다.

사용자 삽입 이미지

전체적인 기능을 점검한 후 모든 기능이 제대로 수행되고 있다면, 서비스를 해도 좋다. .htaccess 파일의 RewriteBase를 /newwiki에서 /wiki로 다시 변경한 후 디렉토리를 rename한다.

cd ~/public_html/
mv wiki oldwiki
mv newwiki/ wiki



 

2008/05/06 11:01 2008/05/06 11:01
 
Bookmark and Share

Posted by Mr.朴


Trackback URL : http://kyungseo.pe.kr/blog/trackback/47

« Previous : 1 : ... 95 : 96 : 97 : 98 : 99 : 100 : 101 : 102 : 103 : ... 144 : Next »