Trac 0.10.4 설치(한글판)#

  • 한글판은 KLDP에서 제공하는 것을 사용

필수 프로그램 설치(python 2.4, sqllite)#

yum install python
yum install sqlite

clearsilver 컴파일 설치#

wget http://www.clearsilver.net/downloads/clearsilver-0.10.5.tar.gz
tar -xvzf clearsilver-0.10.5.tar.gz
cd clearsilver-0.10.5
./configure --with-python=/usr/local/bin/python && make && make install

Trac과 연동을 위해서 python관련 make 수행(subversion 다시 설치...)#

wget http://subversion.tigris.org/downloads/subversion-1.5.0.tar.gz 
wget http://subversion.tigris.org/downloads/subversion-deps-1.5.0.tar.gz
tar -xvzf subversion-1.5.0.tar.gz
tar -xvzf subversion-deps-1.5.0.tar.gz
cd subversion-1.5.0

./configure --with-openssl=/usr/local/ssl --with-ssl --with-apxs=/usr/local/apache2/bin/apxs
make && make install
make swig-py && make install-swig-py
echo /usr/local/lib/svn-python > /usr/lib/python2.4/site-packages/subversion.pth

python과 subversion binding 테스트#

python
>>> from svn import core
>>> (core.SVN_VER_MAJOR, core.SVN_VER_MINOR, core.SVN_VER_MICRO, core.SVN_VER_PATCH)
>>>>>>>>>>>>>>>>>>>>>>>>>
(1, 5, 0, 0)
<<<<<<<<<<<<<<<<<<<<<<<<<

Trac 0.10.4 한글판 설치#

  • 다운로드
wget http://kldp.net/frs/download.php/3862/trac-0.10.4-ko.tar.gz
tar -xvzf trac-0.10.4-ko.tar.gz
cd trac-0.10.4-ko
  • KoreanDate.Path파일을 참고하여 소스파일 수정해야함(Roadmap 날짜등록시 validation 에러나는것 수정)
python setup.py install

sample Trac 생성#

  • trac-admin 명령어를 이용하여 생성
mkdir -p /rcs/trac
trac-admin /rcs/trac/sample initenv sample sqlite:db/trac.db svn /rcs/svn/sample /usr/share/trac/templates
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
...
Congratulations!
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  • 퍼미션과 인코딩 설정
chown -R daemon:daemon /rcs/trac
vi /rcs/trac/sample/conf/trac.ini
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
charact set = euc-kr
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  • 8000번 포트로 생성된 trac 테스트
tracd --port 8000 /rcs/trac/sample

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-) was last changed on 17-May-2021 01:15 by UnknownAuthor