[[TOC]] = Service = == PostgreSQL Server == 通过下载源码编译安装,没有修改编译选项。 || data path || owner/process user || || /data/pg_data/ || postgres || == Trac == 使用 yum 安装 python26,使用 easy_install 安装 trac 和 psycopg2 package; 修改过 /usr/bin/python /usr/bin/easy_install link: {{{ #!sh mv /usr/bin/python /usr/bin/python.bak; ln -s /usr/bin/python26 /usr/bin/python }}} || data path || process owner/user || || /data/trac_data || apache || 用户帐号密码使用 htpasswd 生成。 == Git Repositories == 使用 yum 安装。 || data path || process owner/user || || /data/git_data/ || git_user || 所有用户使用公钥 以 git_user 访问仓库。 用户 git_user 加入 apache 组; 用户 apache 加入 git_user 组; 设置 Git post-receive hook 在用户 commit 后,同步到 Trac 数据库。