Trac 설치 ¶
Trac 설치 가이드 (*nix용) ¶
- Trac 설치 영문버전은 있지만 처음 설치하시려는 분은 어려울 수 있어 Tutorial 식으로 구성을 해보았습니다.
- 어법은 경칭을 사용하지 않았으니 유의해 주시기 바랍니다.
- 문서상의 잘못된 점이 있으시면 바로 수정해 주세요. | ( godmode2k@hotmail.com )
- NOTE:
- subversion 설정은 Subversion-HOWTO 문서를 참고해 주시기 바랍니다.
- 질문 답변은 TracFAQ 문서를 참고하시기 바랍니다.
- Trac 을 Standalone 으로 실행할 때 login 부분이 빠져있습니다. 아시는분은 꼭 채워주세요...
준비물 ¶
설치 시작 ¶
Berkeley DB:
tmp# cd db-4.3.29.NC/build_unix build_unix# ../dist/configure build_unix# make build_unix# make install build_unix# echo '/usr/local/BerkeleyDB.4.3/lib' >> /etc/ld.so.conf build_unix# ldconfig
Python:
tmp# cd python-2.4.2 python-2.4.2# ./configure python-2.4.2# make && make install
PySQLite:
tmp# cd pysqlite-2.2.0 pysqlite-2.2.0# python2.4 setup.py build pysqlite-2.2.0# python2.4 setup.py install
SQlite:
tmp# mkdir sqlite_ ; cd sqlite_ sqlite_# ../sqlite-3.3.4/configure --disable-tcl sqlite_# make && make install
ClearSilver:
tmp# cd clearsilver-0.9.14 clearsilver-0.9.14# vi rules.mk PYTHON_SITE = /usr/local/lib/python2.4 clearsilver-0.9.14# ./configure && make && make install
Subversion SWIG Python Bindings:
- Python Binding
tmp# cd swig-1.3.27 swig-1.3.27# ./configure --with-python=/usr/local/bin/python2.4 && make && make install tmp# cd subversion-1.3.0 subversion-1.3.0# mv configure configure.orig
- SWIG version 변경:
subversion 1.3.0 은 SWIG 1.3.25 를 사용하기 때문에 현재 사용가능한 SWIG(version 1.3.27) version 을 수정해 준다.
SWIG version 이 1.3.27 이면 "103027"
subversion-1.3.0# sed -e 's/"103025"/"103027"/g' configure.orig > configure subversion-1.3.0# ./configure --with-zlib --with-ssl --with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.3 subversion-1.3.0# make && make install subversion-1.3.0# make swig-py && make install-swig-py subversion-1.3.0# echo /usr/local/lib/svn-python > /usr/local/lib/python2.4/site-packages/subversion.pth
Trac:
tmp# cd trac-0.9.4-ko trac-0.9.4-ko# python2.4 setup.py install trac-0.9.4-ko# trac-admin /home/trac initenv Project Name [My Project]> My_Project Database connection string [sqlite:db/trac.db]> 'just ENTER' Repository type [svn]> 'just ENTER' Path to repository [/path/to/repos]> /home/svn Templates directory [/usr/local/share/trac/templates]> 'just ENTER' ... Congratulations!
- trac 설정 및 Standalone 으로 실행
trac-0.9.4-ko# vi /home/trac/conf/trac.ini trac-0.9.4-ko# tracd --port 8000 /home/trac
- /home/svn 에 svn repository 만들어 놓고 trac.ini 에 등록해 준다.
- subversion repository 만드는 방법은 Subversion-HOWTO 문서를 참고해 주세요.
http://localhost:8000/trac 에서 확인할 수 있음.
[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6077 | 9년 전 | 154 | ||
| 6076 |
PlayPixel
|
9년 전 | 144 | |
| 6075 | 9년 전 | 161 | ||
| 6074 | 9년 전 | 217 | ||
| 6073 |
|
9년 전 | 179 | |
| 6072 |
|
9년 전 | 322 | |
| 6071 | 9년 전 | 222 | ||
| 6070 |
|
9년 전 | 260 | |
| 6069 | 9년 전 | 235 | ||
| 6068 |
|
9년 전 | 185 | |
| 6067 | 9년 전 | 198 | ||
| 6066 |
|
9년 전 | 314 | |
| 6065 |
PASKRAN
|
9년 전 | 206 | |
| 6064 | 9년 전 | 231 | ||
| 6063 |
kiplayer
|
9년 전 | 337 | |
| 6062 |
|
9년 전 | 271 | |
| 6061 | 9년 전 | 209 | ||
| 6060 |
|
9년 전 | 266 | |
| 6059 |
|
9년 전 | 208 | |
| 6058 |
|
9년 전 | 202 | |
| 6057 | 9년 전 | 253 | ||
| 6056 |
|
9년 전 | 205 | |
| 6055 |
|
9년 전 | 250 | |
| 6054 |
|
9년 전 | 228 | |
| 6053 |
snshero
|
9년 전 | 573 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기