잘 된 원본 글.
http://ayasaki.egloos.com/4068452
감사합니다!
apt-get install trac
apt-get install subversion
서브버전 정리, 설치.. 셋팅..
mkdir /home/svn
chown www-data.www-data /home/svn
svnadmin create /home/svn/MyProject
mkdir /home/trac
chown www-data.www.data /home/trac
trac-admin /home/trac/MyProject initenv
프롬프트 뜨면..
/home/svn/MyProject 입력
trac-admin /home/trac/MyProject permission add dawnsea TRAC_ADMIN // dawnsea 관리자 계정
apt-get install apache2-threaded-dev libapache2-svn libapache2-mod-python python-dev
vim /etc/apache2/mods-avaiable/dav_svn.conf
<Location /svn>
DAV svn
SVNParentPath /home/svn
AuthType Digest
AuthName “Repository”
AuthUserFile /etc/apache2/.htdigest
<LimitExcept REPORT>
Require valid-user
</LimitExcept>
</Location>
a2enmod dav_svn
a2enmode auth_digest
vim /etc/apache2/sites-available/trac
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /home/trac
PythonOption TracUriRoot /trac
AuthType Digest
AuthName “Trac”
AuthUserFile “/etc/apache2/.htdigest”
Require valid-user
</Location>
a2ensite trac
htdigest -c /etc/apache2/.htdigest Repository dawnsea
htdigest /etc/apache2/.htdigest Trac dawnsea
// 계정은 추가 등록 -c 빼고
chmod 600 /etc/apache2/.htdiget
chown www-data.www-data /etc/apache2.htdigest
/etc/init.d/apache2 restart
http://localhost/trac 테스트!