Chinaunix首页 | 论坛 | 博客
  • 博客访问: 631673
  • 博文数量: 149
  • 博客积分: 3901
  • 博客等级: 中校
  • 技术积分: 1558
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-16 14:33
文章分类

全部博文(149)

文章存档

2014年(2)

2013年(10)

2012年(32)

2011年(21)

2010年(84)

分类: LINUX

2010-08-03 16:15:18


参考:
 


# 当然 下面 选择  easy_install  egg 或 python setup.py install
# 个人喜好 ,今天 墙的 我好郁闷 啊~ easy_install  时好时坏 .....

1. 安装准备
wget
> 编译


easy_install PySQLite
easy_install Babel
easy_install psycopg2

wget
python setup.py install



#wiki 所见即所得
svn co
cd 0.12
python setup.py install

# 页面 登入
easy_install
easy_install -Z -U


wget
easy_install Genshi-0.6-py2.6.egg




1. 创建 trac
trac-admin /path/to/projectenv initenv
vim /path/to/projectenv/conf/trac.ini


htpasswd -c  /path/to/projectenv/passwd.txt admin
admin1234


trac-admin  /path/to/projectenv  permission add admin TRAC_ADMIN



新增组件的支持  :
/path/to/projectenv/conf/trac.ini 最后加上

[components]
trac.web.auth.LoginModule = disabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.web_ui.RegistrationModule = disabled
acct_mgr.htfile.HtPasswdStore = enabled
tracwysiwyg.* = enabled

[account-manager]
; configure the plugin to store passwords in the htdigest format:
password_store = HtPasswdStore
; with Trac < 0.10 use this instead:
password_format = htpasswd

; the file where user accounts are stored
; the webserver will need write permissions to this file
; and its parent folder
password_file = /path/to/projectenv/passwd.txt

; the name of the authentication “realm”
; it can be any text to identify your site or project
;htdigest_realm = TracRealm




启动 :
   tracd --port 8000   /path/to/projectenv

阅读(1020) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~