环境:centos 4.4_64bit,cvs version 1.11.17(centos 4.4自带)
以root操作:
1.查看是否安装cvs
rpm -qa|grep cvs
一般安装在/usr/bin/cvs,如果未安装,下载一个最新的rpm安装即可
2.建立cvs用户组,便于管理cvs用户
groupadd cvs
3.建立cvs组的cvsroot用户和所属的目录
useradd -g cvs -G cvs -d /home/cvsroot cvsroot
4.为cvsroot用户添加密码
passwd cvsroot
5.改变/home/cvsroot的目录属性
chmod 775 /home/cvsroot
6.以cvsroot操作,初始化cvs源代码库,此操作生成目录/home/cvsroot/CVSROOT,其下为一些初始化文件
cvs -d /home/cvsroot init
7.在/etc/xinetd.d/新建cvspserver文件,填入以下内容
引用
service cvspserver
{
flags = REUSE
socket_type = stream
wait = no
user = root
protocol = tcp
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
disable = no
}
8.修改/etc/services加入
cvspserver 2401/tcp #pserver cvs service
9.重新启动xinetd:
/etc/rc.d/init.d/xinetd restart
或者service xinetd restart
10.检查cvspserver服务是否已经启动
netstat -l |grep cvspserver
应该有如下结果:
tcp 0 0 *:cvspserver *:* LISTEN
11.添加cvs用户.在/home/cvsroot/CVSROOT下运行htpasswd -c passwd test
将新建一个叫做passwd的文件并且提示输入密码,密码经过md5加密放入passwd文件.以后新加用户不用-c.
12.将cvs用户与系统用户对应.
vi passwd
每个用户那行最后添加:cvsroot
例如:test:xxxx:cvsroot
分享到:
- 2007-03-19 16:06
- 浏览 3725
- 评论(2)
- 论坛回复 / 浏览 (2 / 7335)
- 查看更多
相关推荐
centos5 cvs安装,一步一步教程,明了简单。还有用户管理说明。
基于CentOS 5.4版本,按照部署CVS服务,其他版本CentOS配置类似,其他LIUNX版本配置CVS需要稍加修改
本TXT文件为第五章Linux 下配置 CVS服务器 测试环境:系统 CentOS 5.2 Tomcat版本apache-tomcat-5.5.23 第一步:安装必要组建 第二步:创建用户和用户组 第三步:创建资源库目录 第四步:修改环境...
centos7 svnserver 安装
本文档介绍基于centos7平台的liunx系统下,安装+还原+卸载sqlserver方法,亲测有效
这是Linux系统的CentOS相关的英文书籍,是免积分的哦
CentOS 7 Linux Server Cookbook(2nd) 英文无水印原版pdf 第2版 pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 ...
CentOS 6 Linux Server Cookbook+Linux Kernel Development 3rd Edition.zip,关于Linux的两本书,需者自取。
Over 80 recipes to get up and running with CentOS 7 Linux server About This Book A practical guide to install, configure, administer and maintain CentOS 7 servers An in-depth guide to the CentOS 7 ...
CentOS 7 Linux Server Cookbook.epub
rpm安装包,外加两个依赖包 (1/3): wxBase-2.8.12-20.el7.x86_64.rpm (2/3): filezilla-3.7.4.1-1.el7.x86_64.rpm (3/3): wxGTK-2.8.12-20.el7.x86_64.rpm
This book will provide you with a comprehensive series of starting points that will give you direct access to the inner workings of the latest CentOS version 7 and help you trim the learning curve to ...
CentOS 7 Linux Server Cookbook, 2nd Edition
mssql-server-15.0.4013.40-8.x86_64.rpm 最新的centos8 sql server 2019
CentOS 7上安装FTP教程(参考文档中url操作,并记录)
What You Will Learn * See how to deploy CentOS easily and painlessly, even in multi-server environments * Configure various methods of remote access to the server so you don't always have to be in ...
本文档介绍了在linux centos系统上建立CVS服务器和客户端的详细过程
openldap 在 centOS 6.x 版本上配置全教程
联想ThinkServer服务器R110i RAID卡 安装CentOS7 Redhat7系统 方法,由于CentOS7 和Redhat7系统不带R110i RAID卡驱动,所以需要手动加载。