Category
show
전체 (775)
웹표준, 웹접근성™ (5)
웹프로그래밍™ (360)
웹기획™ (0)
웹디자인™ (5)
서버™ (32)
데이터베이스™ (43)
개발자료 (9)
트랜드 (60)
Study English (2)
블루비 (70)
오피스 다이어리 (19)
Textcube (2)
이슈 (20)
컴퓨터 악세사리 (18)
엔터테인먼트 (24)
좋은글 (73)
재테크 (1)
이벤트 (4)

우분투 Trac webadmin 설치 및 Trac login 설정법

웹프로그래밍™/Trac, SVN, Eclipse 2008/01/03 20:57 by 블루비 Total 1808 : Today 2 : Yesterday 12
우분투에서 Trac 웹관리자 webadmin 설치 방법입니다.
# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 211kB of archives.
After unpacking 786kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com gutsy/main python-setuptools 0.6c6-1 [211kB]
Fetched 211kB in 4s (51.3kB/s)
Selecting previously deselected package python-setuptools.
(Reading database ... 20915 files and directories currently installed.)
Unpacking python-setuptools (from .../python-setuptools_0.6c6-1_all.deb) ...
Setting up python-setuptools (0.6c6-1) ...

# easy_install http://svn.edgewall.com/repos/trac/sandbox/webadmin
Downloading http://svn.edgewall.com/repos/trac/sandbox/webadmin
Doing subversion checkout from http://svn.edgewall.com/repos/trac/sandbox/webadmin to /tmp/easy_install-h02BWw/webadmin
Processing webadmin
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-h02BWw/webadmin/egg-dist-tmp-W4IWxz
zip_safe flag not set; analyzing archive contents...
webadmin.plugin: module references __file__
TracWebAdmin 0.1.2dev-r5911 is already the active version in easy-install.pth

Installed /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev_r5911-py2.5.egg
Processing dependencies for TracWebAdmin==0.1.2dev-r5911
Finished processing dependencies for TracWebAdmin==0.1.2dev-r5911

#


Trac 로그인 설정
# htpasswd -c /var/lib/trac/TracProjectName/.htpasswd admin
New password:
Re-type new password:
Adding password for user admin
#
Apache host conf 파일에 아래 내용 추가 (Multiple projects)
<LocationMatch "/TracProjectName/[^/]+/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /var/lib/trac/TracProjectName/.htpasswd
Require valid-user
</LocationMatch>
Single project 시에는 아래것으로
<Location "/TracProjectName/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /var/lib/trac/TracProjectName/.htpasswd
Require valid-user
</Location>

2008/01/03 20:57 2008/01/03 20:57

TRACKBACK :: http://blueb.net/blog/trackback/1029

Leave a Comment
[로그인][오픈아이디란?]
1  ... 231 232 233 234 235 236 237 238 239  ... 775 

달력

«   2008/11   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30