配置如下:
操作系统:window xp
版本:cvsnt-2.5.03.2382.msi
安装目录:E:\CVSNT
window xp 系统的登陆账号:test
密码:******
一、先安装cvsnt-2.5.03.2382.msi
二、安装完后打开:开始--》程序--》CVSNt --》cvsnt control pannal
三、cvsnt control pannal 配置如下图所示:
三、cvsnt control pannal 配置如下图所示:
图一
图二
图三
图四
图五
图六
图七
四、通过看以上配置图,相信以明白了cvsnt control pannal 的配置,安装完之后,用户要进行设置的比较重要的图是图二,三,四,七,这几个图一定要看清楚,要不然会出现不可预知的错误,我刚开始时提到的错误:【添加用户时出现错误:cvs [server aborted]:"passwd" requires write access to the repository.】这个错误是由于图七的配置不当造成的。多选了选项:【all user are read】 的复选框。顺便说明一下:从图二的选项卡中,选择【add】按扭就可以进入图三。
五、cvsnt 安装完成和cvsnt control pannal 配置完成后,我们来添加用户,步骤如下 :
1、打开命令提示符窗口:开始--》运行---》输入cmd 后回车。
2、输入命令:set cvsroot = :pserver:test@localhost:2401/cvsroot
注:红色的test 为window xp 的系统登陆账号,红色的cvsroot 为数据苍库的名称,也就是我们图三中的Name 里的值,蓝色的2401为端口号,这是默认的端口号,可以省略不写,但是良好的习惯写上吧。
3、.输入命令:cvs login
出现提示:Logging in to :pserver:test@localhost:2401:/cvsroot。
4、输入密码:****** ,此时已经登陆到cvs 上去了。
5、下面开始用系统用户添加别的授权用户:
输入命令:cvs passwd -r test -a zdm
出现提示:
Adding user zdm@localhost
New Password:
输入密码:123456
出现提示:Verify Password:
输入确认密码:123456
此时添加用户成功。
6、尝试用刚添加的用户登陆:
首先先退出系统用户:输入命令:cvs logout
然后,尝用zdm登陆:
输入命令:set cvsroot=:pserver:zdm@localhost:2401/cvsroot
输入命令:cvs login
出现提示:Logging in to :pserver:zdm@localhost:2401:/cvsroot。
输入密码:123456 ,此时已经登陆到cvs 上去了。
7、如果要添加多个用户,重复步骤5就可以了。
8、当添加完成用户后,我们关闭window xp 系统用户,到数据苍库e:\cvsroot\cvsroot\目录下找到config文件,注意开头两行代码:
# Set this to 'no' if pserver shouldn't check system users/passwords
#SystemAuth=yes
把第二行#SystemAuth=yes 改成 SystemAuth=no ,然后保存就可以了。
---------------
CVS添加用户的过程
D:\cvs\CVSROOT>set cvsroot=:pserver:administrator@127.0.0.1:/cvs
D:\cvs\CVSROOT>cvs login
Logging in to :pserver:administrator@127.0.0.1:2401:/cvs
CVS Password:
D:\cvs\CVSROOT>cvs passwd -r administrator -a lrj
Adding user lrj@127.0.0.1
New Password:
Verify Password:
cvs可供使用的命令
CVS commands are:
add Add a new file/directory to the repository
admin Administration front end for rcs
annotate Show last revision where each line was modified
chacl Change the Access Control List for a directory
checkout Checkout sources for editing
chown Change the owner of a directory
commit Check files into the repository
diff Show differences between revisions
edit Get ready to edit a watched file
editors See who is editing a watched file
export Export sources from CVS, similar to checkout
history Show repository access history
import Import sources into CVS, using vendor branches
init Create a CVS repository if it doesn't exist
info Display information about supported protocols
log Print out history information for files
login Prompt for password for authenticating server
logout Removes entry in .cvspass for remote repository
ls List files in the repository
lsacl List the directories Access Control List
passwd Set the user's password (Admin: Administer users)
authserver Authentication server mode
rannotate Show last revision where each line of module was modified
rdiff Create 'patch' format diffs between releases
release Indicate that a Module is no longer in use
remove Remove an entry from the repository
rename Rename a file or directory
rchacl Change the Access Control List for a directory
rchown Change the owner of a directory
rlsacl List the directories Access Control List
rlog Print out history information for a module
rtag Add a symbolic tag to a module
server Server mode
status Display status information on checked out files
tag Add a symbolic tag to checked out version of files
unedit Undo an edit command
update Bring work tree in sync with repository
version Show current CVS version(s)
watch Set watches
watchers See who is watching a file
xdiff Show differences between revisions using an external diff p
rogram
(Specify the --help option for a list of other help options)
分享到:
相关推荐
windows下CVS安装和简单配置 windows下CVS安装和简单配置 windows下CVS安装和简单配置
我研究了网上一天的资料,总结了一下,并自己截图试验了一下,cvs配置很成功
安装配置CVS,要用播放器打开。
教你一步步在Linux下安装配置cvs
CVS配置 CVS配置 CVS配置 使用的配置
windows下cvs服务器安装配置 安装cvsnt 配置cvsnt
MyEclipse中配置CVS,MyEclipse中配置CVS,MyEclipse中配置CVS
简单的CVS在XP下安装及配置笔记,图文并貌。
很详细的Eclipse3.4下CVS的安装过程
在Win7环境下安装和配置CVS服务,包含推荐安装版本,及具体安装配置方法
CVS在Solaris下的安装要比在Windows下的安装复杂的多。本文档以实例的形式详细讲述了在Solaris5.10下安装CVS1.1.3并进行具体配置的过程。
Eclipse3[1].4之CVS的安装与配置.pdfEclipse3[1].4之CVS的安装与配置.pdfEclipse3[1].4之CVS的安装与配置.pdf
cvs在windows环境下的安装,配置与使用,包括禁系统登陆,此文档为本人边操作边填写
在eclipse环境下进行配置如何使用CVS,详细讲解了如何配置cvs,在配置过程中要注意的问题,动手教大家如何用这么好的版本控制管理工具CVS
eclipse配置CVSeclipse配置CVS
centos5 cvs安装,一步一步教程,明了简单。还有用户管理说明。
cvs在window下配置,里面的下载网址有些问题,但配置好用
基于CentOS 5.4版本,按照部署CVS服务,其他版本CentOS配置类似,其他LIUNX版本配置CVS需要稍加修改
CVS安装总结,虚拟机加红帽6.2的环境,实体机加5.2的环境都有验证过。