CVS配置手记
2007-09-24 18:35
232 查看
1、检查系统是否已经安装了cvs包,没有就是用下面命令安装
$rpm -qa |grep cvs
$./configure
$make
$make install
2、创建CVS组和用户
$groupadd cvs
$useradd cvsroot -g cvs
3、查看配置文件
$grep cvspserver /etc/services
查看是否有以下服务,如果没有加上去。
cvspserver 2401/tcp #CVS client/server operations
cvspserver 2401/udp #CVS client/server operations
4、创建启动脚本
$vi /etc/xinetd.d/cvspserver
service cvspserver
{
disable = no
port = 2401
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
#log_on_failure += USERID
protocol = tcp
}
server 指定CVS可执行文件路径,默认安装就是/usr/bin/cvs
pserver 密码认证方式,客户端使用时有此选择
注意上面文件每行等号左右都有一个空格,否则无法启动服务而且没有明确的错误信息。
5、初始化CVS
创建cvsroot目录
$mkdir /home/cvsroot
$cvs -d /home/cvsroot init
6、启动CVS
/etc/init.d/xinetd restart
7、检查cvspserver服务是否已经启动
$netstat -l |grep cvspserver
应该有如下结果:
tcp 0 0 *:cvspserver *:* LISTEN
8、登录
cvs -d :pserver:cvsroot@localhost:/cvsroot login
输入正确密码,如果没有出现其它的提示就表示登录成功。
9、通过windows客户端进行其他操作
$rpm -qa |grep cvs
$./configure
$make
$make install
2、创建CVS组和用户
$groupadd cvs
$useradd cvsroot -g cvs
3、查看配置文件
$grep cvspserver /etc/services
查看是否有以下服务,如果没有加上去。
cvspserver 2401/tcp #CVS client/server operations
cvspserver 2401/udp #CVS client/server operations
4、创建启动脚本
$vi /etc/xinetd.d/cvspserver
service cvspserver
{
disable = no
port = 2401
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
#log_on_failure += USERID
protocol = tcp
}
server 指定CVS可执行文件路径,默认安装就是/usr/bin/cvs
pserver 密码认证方式,客户端使用时有此选择
注意上面文件每行等号左右都有一个空格,否则无法启动服务而且没有明确的错误信息。
5、初始化CVS
创建cvsroot目录
$mkdir /home/cvsroot
$cvs -d /home/cvsroot init
6、启动CVS
/etc/init.d/xinetd restart
7、检查cvspserver服务是否已经启动
$netstat -l |grep cvspserver
应该有如下结果:
tcp 0 0 *:cvspserver *:* LISTEN
8、登录
cvs -d :pserver:cvsroot@localhost:/cvsroot login
输入正确密码,如果没有出现其它的提示就表示登录成功。
9、通过windows客户端进行其他操作
相关文章推荐
- 把cvs的配置库移植到另外一台机器
- CVS 入门教程(linux下配置)(转)
- LINUX下CVS服务器安装及权限简单配置
- Linux系统下CVS的安装、配置、仓库初始化收藏 (轉載自http://blog.csdn.net/jeanminlu/archive/2009/02/18/3906744.aspx)
- java学习手记:推荐编辑器UltraEdit及其配置
- Eclipse本配置CVS。
- cvs配置
- VirtualBox+mininet 网络配置手记2
- Linux下配置CVS集成cvstrac
- CentOS 5.3配置软件源以及CVS服务器
- 《华清远见学习手记》之 Ubuntu8.10下 配置网络参数
- 配置CVS服务器
- Eclipse下配置cvs详解
- CVS服务器建立和权限配置--东波'S BLOG
- [转载]FreeBSD6.1入门级Web服务器配置手记
- cvs服务在linux下的安装与配置
- 配置CVS服务器和客户端完全解析
- CVS用户配置