This guide describes very briefly the installation of cvs server on Fedora Core 4. This guide is a modified version of this site: http://home.wanadoo.nl/cwdegier/cvs.html. I only wrote this after I had installed CVS, so I may have made a mistake with the instructions, so use it at your own risk.
rpm -q cvs
cvs-1.11.17-2
rpm -ihv <your cvs package>or
yum install cvs
# default: off
# description: cvspserver
service cvspserver
{
id = cvspserver
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
server = /usr/bin/cvs
Port = 2401
passenv =
server_args = --allow-root=/home/cvsroot -f pserver
env = HOME=/home/cvsroot
log = /var/log/cvslog }
export CVSROOT=/home/cvsroot
groupadd cvsadmin
useradd -M cvsuser -G cvsadmin
mkdir $CVSROOT
chmod -R 775 $CVSROOT
chgrp -R cvsadmin $CVSROOT
touch $CVSROOT/locks
cvs init # creates $CVSROOT/CVSROOT
# Set this to "no" if pserver shouldn't check system users/passwords
SystemAuth=no
# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
TopLevelAdmin=yes
htpasswd -d -c /home/cvsroot/CVSROOT/passwd dogAdd a colon and 'cvsuser' after each encrypted password in the created password file (/home/cvsroot/CVSROOT/passwd):
dog:WEOI$(@(@(#JD(:cvsuser
# This file affects handling of files based on their names.
#
# The -t/-f options allow one to treat directories of files
# as a single file, or to transform a file in other ways on
# its way in and out of CVS.
#
# The -m option specifies whether CVS attempts to merge files.
#
# The -k option specifies keyword expansion (e.g. -kb for binary).
#
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
#
# wildcard [option value][option value]...
#
# where option is one of
# -f from cvs filter value: path to filter
# -t to cvs filter value: path to filter
# -m update methodology value: MERGE or COPY
# -k expansion mode value: b, o, kkv, &c
#
# and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'
*.gif -k 'b'
*.tga -k 'b'
*.bmp -k 'b'
*.psd -k 'b'
*.tif -k 'b'
*.png -k 'b'
*.iff -k 'b'
*.aiff -k 'b'
*.obj -k 'b'
*.dat -k 'b'
*.exe -k 'b'
*.com -k 'b'
*.dll -k 'b'
*.dsw -k 'b'
*.dsp -k 'b'
*.lwo -k 'b'
*.lws -k 'b'
*.p -k 'b'
*.ico -k 'b'
*.frx -k 'b'
*.class -k 'b'
*.jar -k 'b'
*.zip -k 'b'
*.lzh -k 'b'
*.lha -k 'b'
*.rar -k 'b'
*.arj -k 'b'
*.arc -k 'b'
*.avi -k 'b'
*.mov -k 'b'
*.asf -k 'b'
*.smk -k 'b'
*.jpg -k 'b'
*.mpg -k 'b'
*.swf -k 'b'
*.frx -k 'b'
*.fli -k 'b'
*.flc -k 'b'
*.tiff -k 'b'
*.bin -k 'b'
*.dat -k 'b'
*.wad -k 'b'
*.ppt -k 'b'
*.pdf -k 'b'
*.3ds -k 'b'
*.max -k 'b'
service xinetd restart
export CVSROOT=:pserver:dog@yourhostname:/home/cvsroot
cvs login
-A RH-Firewall-1-INPUT -s 192.168.88.14 -p tcp --dport 2401 -j ACCEPT
service iptables restart
Last update: January 29, 2006