http://www.freeos.com/articles/4608/
We did following steps:
9) Now open file called /etc/services and add the following lines.
Cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations
10) Open file called /etc/xinetd.conf and add the following lines to that file.
service cvspserver
{
Port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv =
server = /opt/bin/cvs
server_args = --allow-root=/home/cvs -f pserver
env = HOME=/home/cvs
log = /var/log/cvslog
}
11) Space on both sides of = in the above file is a must.
12) Restart xinetd services by running command “ services xinted restart “
13) Check whether CVS is running on the port 2401 by using the following command “nmap 192.168.16.17 |grep 2401”. If the CVS server is running correctly it will give output as “2401/tcp open cvspserver ”.
14) Suppose you want to put my CVS repository at /home/cvs. Then create an environmental variable called CVSROOT which points to /home/cvs.
15) Create the actual repository by the command “cvs -d /home/cvs init”.
16) Create a link to /etc/password to file called passwd.
17) Now go to the client machine and install the Wincvs available from //titan/software/cvs.
18) Open Wincvs window. Go to admin>>preferences.
19) At the ‘Enter CVSROOT’ field enter “:pserver:username@cvsserver_name:/home/cvs”.
20) In the Authentication field select “ password file on cvs server”.
21) Now it is time to create to new modules. In Wincvs client go to Create>>Import module. Select the folder from which you want to create the module.
22) Then in “import settings” dialog box enter the module name as whatever you want. Mention vendor tag and release tag appropriately. You can also give log message that is associated with this module.
23) Now any other client machine access the same modules
No comments:
Post a Comment