本文共 1452 字,大约阅读时间需要 4 分钟。
过程 172.1. TRAC - source
setup.py
wget http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py
Trac
wget http://download.edgewall.org/trac/Trac-1.1.1.tar.gztar zxvf Trac-1.1.1.tar.gzcd Trac-1.1.1sudo python ./setup.py installcd ..
过程 172.2. TRAC - easy_install
easy_install
$ sudo apt-get install python-setuptools
Installing Trac
sudo easy_install Pygmentssudo easy_install Genshisudo easy_install Trac
ClearSilver
sudo apt-get install python-clearsilver
python svn
sudo apt-get install python-svn python-svn-dbg
create svn repos
$ svnadmin create /home/netkiller/repos
# cat /etc/httpd/conf.d/trac.conf# Change this to the domain which points to your host, i.e. the domain # you set as "phabricator.base-uri". ServerName trac.repo SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnv /gitroot/trac/default PythonOption TracUriRoot / # Replace all occurrences of /srv/trac with your trac root below# and uncomment the respective SetEnv and PythonOption directives.# # SetEnv TRAC_ENV /srv/trac# ## # SetHandler mod_python# PythonHandler trac.web.modpython_frontend# #PythonOption TracEnv /srv/trac# #
原文出处:Netkiller 系列 手札
本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。