| Version 2 (modified by lee, 15 years ago) (diff) |
|---|
Table of Contents
Service
PostgreSQL Server
通过下载源码编译安装,没有修改编译选项。
| data path | owner/process user | note |
| /data/pg_data/ | postgres | nologin |
Trac
使用 yum 安装 python26,使用 easy_install 安装 trac 和 psycopg2 package;
修改过 /usr/bin/python /usr/bin/easy_install link:
mv /usr/bin/python /usr/bin/python.bak; ln -s /usr/bin/python26 /usr/bin/python
| data path | process owner/user | note |
| /data/trac_data | apache | nologin |
用户帐号密码使用 htpasswd 生成。
Git Repositories
使用 yum 安装。
| data path | process owner/user | note |
| /data/git_data/ | git_user | no passwd |
所有用户使用公钥 以 git_user 访问仓库。
用户 git_user 加入 apache 组; 用户 apache 加入 git_user 组;
设置 Git post-receive hook 在用户 commit 后,同步到 Trac 数据库。
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)