软件工程

本类阅读TOP10

·PHP4 + MYSQL + APACHE 在 WIN 系统下的安装、配置
·Linux 入门常用命令(1)
·Linux 入门常用命令(2)
·使用 DCPROMO/FORCEREMOVAL 命令强制将 Active Directory 域控制器降级
·DirectShow学习(八): CBaseRender类及相应Pin类的源代码分析
·基于ICE方式SIP信令穿透Symmetric NAT技术研究
·Windows 2003网络负载均衡的实现
·一网打尽Win十四种系统故障解决方法
·数百种 Windows 软件的免费替代品列表
·收藏---行百里半九十

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
安装启动 cvs 过程的简单描述.

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

安装启动 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)



相关文章

相关软件