Chinaunix首页 | 论坛 | 博客
  • 博客访问: 130108
  • 博文数量: 17
  • 博客积分: 2000
  • 博客等级: 大尉
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-13 14:07
文章分类

全部博文(17)

文章存档

2011年(1)

2009年(5)

2008年(11)

我的朋友
cvs

分类: LINUX

2008-09-23 08:35:04

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 cvsrepo

and 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) |
0

上一篇:没有了

下一篇:IO Architecture and Device Drivers

给主人留下些什么吧!~~