1. 새로운 릴리이즈
DokuWiki의 2009-02-14 버전이 릴리즈 되었다. ^^
이 버전은 http://www.splitbrain.org/projects/dokuwiki에서 받을 수 있다.
어제 업그레이드를 하였는데, 설치는 이전 업그레이드와 다를 바가 없다.
업그레이드 후 유독 하나의 페이지만 깨지는 현상이 있는데, 좀더 봐야 할 것 같다. ^^;
2. 변경된 점
Changelog를 보면 아래와 같은 내용을 확인할 수 있다.
-
Flash Multiuploader
-
license selector
template authors need to make use of tpl_license() -
compatibility fixes with Flash Player 10
-
internal changes to make farming easier
-
removed old upgrade plugins1)

-
better support for non-default auth backends in ACL manager
-
jump to edited section after saving
-
much improved Japanese romanization
-
improved XMLRPC interface
-
improved search result display
-
many smaller feature enhancements
-
more plugin events
-
some performance optimizations
-
minor security enhancements
-
many, many bug fixes
업그레이드는 아래 기술한 내용을 순차적으로 적용하였다. 업그레이드 직전 버전은 Release rc2008-05-05이다.
기존 풀 백업
기존 위키의 루트 전체를 백업하였다. 조심해서 나쁠 것 없다. ^^
기본 작업
기존 위키의 루트는 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
Posted by Mr.朴






