1. 새로운 릴리이즈
기다리던 DokuWiki의 새로운 버전(릴리즈 rc2008-03-31)이 업데이트 되었다. ^^
이 버전은 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
-
Use fulltext index for media file usage scan for better scalability
-
Many bugfixes, smaller features and performance improvements
ACL의 경우 완전히 새로 작성되었다고 한다. 아래는 rc2008-03-31 버전을 설치한 후 변경된 ACL 관리화면을 캡쳐한 것이다.
3. 업그레이드 절차
업그레이드는 아래 기술한 내용을 순차적으로 적용하였다. 업그레이드 직전 버전은 Release 2007-06-26이다.
기존 풀 백업
기존 위키의 루트 전체를 백업하였다. 조심해서 나쁠 것 없다. ^^
기본 작업
기존 위키의 루트는 wiki이다 업그레이드를 위해 newwiki로 복사한 후 릴리즈된 파일을 엎어씌운다.
cd ~/public_html/
cp -r wiki newwiki
cd temp/
tar xvfz dokuwiki-rc2008-03-31.tgz
cp -rf dokuwiki-rc2008-03-31/* ~/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/*
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
4. 위키 활용 상황
현재 진행 중인 프로젝트와 연관된 적지 않은 문서들을 작성하여 관리하고 있다. 단, 프로젝트 내부 문서라 공개할 수 없어 노출되지 않았을 뿐이다. 조만간 몇가지 내용을 정리하고 추가하려한다. ^^
Posted by Mr.朴




