yum install cvs
Create a CVS user and group.
Create a CVS user and group.
useradd cvspasswd cvsCreate, setup and own cvsroot directory
mkdir /usr/local/cvsrootcvs -d /usr/local/cvsroot initchown cvs:cvs /usr/local/cvsrootSet default CVSROOT
vi /etc/profileAppend following line:
export CVSROOT=/usr/local/cvsrootAnd load it into the shell
./e
tc/profileAdd /etc/xinetd.d/cvspserver and make it look as follows:
vi /etc/xinetd.d/cvspserver service cvspserver
{
disable = no
socket_type = stream
wait = no
user = cvs
group = cvs
log_type = FILE /var/log/cvspserver
protocol = tcp
env = '$HOME=/usr/local/cvspserver'
log_on_failure += USERID
port = 2401
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvsroot pserver
}Restart xinetd:
service xinetd restartYou can check
/var/log/messages file for relevant error messages.Add users to this group:
adduser <username> -g cvs
Change their password
passwd username
Thanks,
Vishal Vyas
Thanks,
Vishal Vyas

0 comments:
Post a Comment