安装启动 cvs 过程的简单描述.

类别:软件工程 点击:0 评论:0 推荐:

安装启动 cvs 过程的简单描述. 摘要: 简叙 cvs 安装启动 cvs 是个经常使用的东西, 启动也很简单, 把步骤记录一下, 免得忘记掉. 1. su 2. apt-get install cvs 3. mkdir /usr/cvsroot 4. groupadd cvs 5. useradd -g cvs -G cvs -d /usr/cvsroot cvsroot 6. useradd -G cvs cvspub 7. 假如使用 xinetd , 在 /etc/xinetd.d/cvspserver 中写入: service cvspserver { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/bin/cvs server_args= -f --allow-root=/usr/cvsroot pserver log_on_failure += USERID } 然后运行: service xinetd restart 如果使用 inetd, 则在 /etc/inetd.conf 中添加: cvspserver stream tcp nowait root /usr/bin/cvs -f --allow-root=/usr/cvsroot pserver 然后运行: /etc/init.d/inetd restart 8. 确定是否运行: netstat -lnp | grep 2401 9. export CVSROOT=/usr/cvsroot 10. cvs init 11. cd /usr/cvsroot/CVSROOT 12. touch readers 一维的用户列表, 其中用户只有读权限.(优先) 13. touch writer 一维的用户列表, 其中用户可有写权限. 14. touch passwd(密码表, 格式如下) 用户名:加密的口令(和shadow中一样):等效用户名(可用 cvspub)

本文地址:http://com.8s8s.com/it/it34661.htm