1. eclipse中cvs使用
2. cvs服务器安装
Install CVS files:
sudo apt-get install cvs
Install the CVS server:
sudo apt-get install cvsd
When prompted in the cvsd installation process for Repository, type in “/cvsrepo”.
Now that the cvsd installation in complete goto /var/lib/cvsd
or seeking for a change(or if there is a new version of cvs updated):
sudo cvsd-buildroot /var/lib/cvsd
If the folder cvsrepo does not exist, then create it ..
sudo mkdir cvsrepo
sudo chown -R cvsd:cvsd cvsrepoand then initilize the repository
sudo cvs -d /var/lib/cvsd/cvsrepo init
create a user and password
sudo cvsd-passwd /var/lib/cvsd/cvsrepo +username
sudo vi /var/lib/cvsd/cvsrepo/CVSROOT/config
Change "SystemAuto=no" (可选)
Test
cvs -d :pserver:username@localhost:/cvsrepo login
cvs -d :pserver:username@localhost:/cvsrepo checkout .
OLD:
参考:
1. cvs install
1) search
apt-cache search cvs
2)install
通过apt-get安装cvs。
sudo apt-get install cvs
sudo apt-get install cvsd (server)
安装时需输入代码库的存放目录(安装过程中提示如下):
The repositories here should be initialized by hand with something like 'cvs -d â│ /var/lib/cvsd/myrepos init' after which passwords can be set with 'cvsd-passwd â│ /var/lib/cvsd/myrepos anonymous'. See the file /usr/share/doc/cvsd/README.gz for details ‚ on creating repositories.
输入/home/cvsroot
2. 初始化cvs代码库存放目录
1)建立目录
guoguo@ubuntuguoguo:~$ sudo mkdir /home/cvsroot
2)初始化cvs目录
guoguo@ubuntuguoguo:~$ sudo cvs -d /home/cvsroot init
3)设置cvs用户及密码
guoguo@ubuntuguoguo:~$ sudo cvsd-passwd /home/cvsroot guoguo
4)修改目录权限
guoguo@ubuntuguoguo:~$ sudo chown cvsd:cvsd /home/cvsroot/
3. 修改用户权限
guoguo@ubuntuguoguo:~$ sudo usermod -g cvsd guoguo
guoguo@ubuntuguoguo:~$ sudo vi /etc/cvsd/cvsd.conf
阅读(723) | 评论(0) | 转发(0) |