CVS configuration problem on Redhat Enterprise Linux
Installation of CVS on Redhat linux
Installing CVS on Redhat Linux Redhat Enterprise 4.0
The following steps give simple steps to install CVS software on Redhat Enterprise Linux 4.0.
1) Download the tarball cvs-1.11.1p1.tar.gz
2) Run “gunzip cvs-1.11.1p1.tar”. You will get file called cvs-1.11.1p1.tar.
3) Then extract this file using command
“tar –xvf cvs-1.11.1p1.tar”.
4) Then go to directory cvs-1.11.1p1.
5) There you will find a file called INSTALL. Read it once carefully.
6) Now run the command “./configure.”
7) Build it using the command “make”.
8) Install binaries/documentation using command “make install”.
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 IP |grep 2401”. If the CVS server is running correctly it will give output as “2401/tcp open cvspserver ”.
but problem is the, it doesn't output like "2401/tcp open cvspserver"
Last edited by deepak_message; 05-11-2009 at 05:08 AM.
|