Add New CVS Instance on Ubuntu

1. Add new directory.

$ sudo mkdir moa_hrp



2. Initial the directory.

$ sudo cvs -d /var/lib/cvsd/cvsrepo/moa_hrp init


3. Check your CVSROOT directory, there is no passwd file.



4. Create a new user.



5. Add new repository to the CVS server.



6. Add this line of code.



7. Restart your CVS service.



8. Try to login.



9. Done.


create a new project in cvs server

1. define your project in your hard drive


2. create a new project, refer the command below: –

cvs -d :pserver:faizal@localhost:/myrepos import -m "importing my project to CVS reposity" . LMS_Struts start

3. after finished, check your project in CVS

4. finish – yeay!!

setup cvs server on ubuntu

1. open terminal – (for this tutorial, I am using puTTY from Windows 7 to Ubuntu 10.04)

2. install cvs

3. install cvsd

4. check ‘myrepos’ directory in /var/lib/cvsd

5. initial the directory

sudo cvs -d /var/lib/cvsd/myrepos init

6. modify the file /var/lib/cvsd/myrepos/CVSROOT/config

sudo vi /var/lib/cvsd/myrepos/CVSROOT/config

add the line into it:


save and exit vi

7. create LockDir directory

sudo mkdir /var/lib/cvsd/tmp/myrepos

8. add user and define your password – I created a user named ‘faizal’ with ‘password’

sudo cvsd-passwd /var/lib/cvsd/myrepos faizal

9. edit cvsd.conf file and save it

sudo vi /etc/cvsd/cvsd.conf

go to end of line and change this part

Listen 2401

if you are connected through LAN, change from to

10. change ownership with recursive for /var/lib/cvsd directory

sudo chown -R cvsd:cvsd /var/lib/cvsd

11. restart cvsd and check status

12. test your cvs connection from localhost

13. test your cvs server from different machine in the same network

14. finish – yeay!