DokuWiki 업그레이드 (Release 2009-02-14)

2009/02/19 19:42

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


3. 업그레이드 절차

업그레이드는 아래 기술한 내용을 순차적으로 적용하였다. 업그레이드 직전 버전은 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



 

"My Site" 카테고리의 다른 글

2009/02/19 19:42 2009/02/19 19:42
 
Bookmark and Share

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

2008/05/06 11:01

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



 

"My Site" 카테고리의 다른 글

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

DokuWiki 업그레이드 (Release rc2008-03-31)

2008/04/02 01:49

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
  • 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
  • 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. 위키 활용 상황

현재 진행 중인 프로젝트와 연관된 적지 않은 문서들을 작성하여 관리하고 있다. 단, 프로젝트 내부 문서라 공개할 수 없어 노출되지 않았을 뿐이다. 조만간 몇가지 내용을 정리하고 추가하려한다. ^^

"My Site" 카테고리의 다른 글

2008/04/02 01:49 2008/04/02 01:49
 
Bookmark and Share

Dokuwiki 업그레이드(Release 2007-06-26)

2007/06/28 15:20

사용자 삽입 이미지
Dokuwiki가 2007년 6월 26일자로 업데이트 되었다(변경 내용은 Changelog를 참고). 2007년 5월 24일자의 RC 버전을 설치한지 얼마되지 않았지만 release된 신규 버전으로 업그레이드 하였다. ^^


업그레이드 순서는 다음과 같다.
참고로 이전 버전(rc2007-05-24)은 "~/public_html/wiki"에 위치하고 있다.

1.  다운로드한 dokuwiki-2007-06-26.tgz의 압축을 해제한 후 새로운 위키 디렉토리로 이동한다.

[kyungseo@localhost temp]$ tar xvfz dokuwiki-2007-06-26.tgz
[kyungseo@localhost temp]$ mv dokuwiki-2007-06-26 ~/public_html/newwiki

2. 다음 항목들을 이전 위키에서 복사하여 신규 위키에 붙여넣는다.

* index 페이지와 Rewriting URL이 설정되어 있는 .htaccess

[kyungseo@localhost temp]$ cd ~/public_html/newwiki
[kyungseo@localhost newwiki]$ cp ../wiki/.htaccess .
[kyungseo@localhost newwiki]$ cp ../wiki/index.php .

* config 파일들

[kyungseo@localhost newwiki]$ cp ../wiki/conf/local.php conf
[kyungseo@localhost newwiki]$ cp ../wiki/conf/acl.auth.php conf
[kyungseo@localhost newwiki]$ cp ../wiki/conf/users.auth.php conf

* data 파일들

[kyungseo@localhost newwiki]$ cp -R ../wiki/data/* data

* plug-in

[kyungseo@localhost newwiki]$ cd lib/plugins
[kyungseo@localhost plugins]$ cp -R ~/public_html/wiki/lib/plugins/addnewpage .
[kyungseo@localhost plugins]$ cp -R ~/public_html/wiki/lib/plugins/cacherevisionserase .
[kyungseo@localhost plugins]$ cp -R ~/public_html/wiki/lib/plugins/feed .
[kyungseo@localhost plugins]$ cp -R ~/public_html/wiki/lib/plugins/pagelist .
[kyungseo@localhost plugins]$ cp -R ~/public_html/wiki/lib/plugins/pagemove .

* template(변경 내역이 있을 경우)

[kyungseo@localhost plugins]$ cd lib/tpl
[kyungseo@localhost tpl]$ cp -R ~/public_html/wiki/lib/tpl/default .

3. 권한(permission)을 적용하고 보안을 위해 install.php 파일을 삭제하거나 rename한다.

[kyungseo@localhost tpl]$ cd ../..
[kyungseo@localhost newwiki]$ chmod 757 conf
[kyungseo@localhost newwiki]$ chmod 646 conf/users.auth.php
[kyungseo@localhost newwiki]$ chmod 757 data
[kyungseo@localhost newwiki]$ chmod 757 data/attic/
[kyungseo@localhost newwiki]$ chmod 757 data/cache/
[kyungseo@localhost newwiki]$ chmod 757 data/locks/
[kyungseo@localhost newwiki]$ chmod 757 data/media/
[kyungseo@localhost newwiki]$ chmod 757 data/meta/
[kyungseo@localhost newwiki]$ chmod 757 data/pages/
[kyungseo@localhost newwiki]$ chmod 646 data/meta/_dokuwiki.changes
[kyungseo@localhost newwiki]$ chmod -R 777 data/*
[kyungseo@localhost newwiki]$ mv install.php install_back.php

4. 제대로 돌아가는지 테스트하기 위해 check 및 로그인 등의 기능을 정검한다.

* .htaccess의 RewriteBase를 "/newwiki"로 임시 변경.
* http://kyungseo.pe.kr/newwiki/doku.php?do=check 로 접속하여 아래와 같이 나오면 성공.

DokuWiki version: Release 2007-06-26
PHP version 4.3.11
Datadir is writable
Attic is writable
Mediadir is writable
Cachedir is writable
Lockdir is writable
conf/users.auth.php is writable
mb _string extension not available - PHP only replacements will be used
Debugging support is disabled
You are currently logged in as xxxxxxx (Kyungseo Park)
You are part of the groups admin, user
Your current permission for this page is 255
The current page is writable by the webserver
The current page is writable by you

5. 새로운 사이트로 서비스를 시작한다.

.htaccess의 RewriteBase를 "/wiki"로 원복

[kyungseo@localhost ~]$ cd ~/public_html/
[kyungseo@localhost public_html]$ mv wiki oldwiki
[kyungseo@localhost public_html]$ mv newwiki/ wiki

"My Site" 카테고리의 다른 글

2007/06/28 15:20 2007/06/28 15:20
 
Bookmark and Share
TAG ,