Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

CVS Configuration Procedure – Install CVS – CVS Setup Guide

cvs-configuration-install

cvs-configuration-install

CVS Configuration – Install CVS

  • Procedure #1:-

Use rpm or up2date or yum command to install cvs:

for Redhat Use:-

rpm -ivh cvs
OR#    up2date cvs
for fedora use:-

yum install cvs
For Debian Users:-

apt-get install cvs

Create a CVS user#
useradd cvs
#     passwd cvs

Above command will create a user cvs and group cvs with /home/cvs home directory.
Configure CVS

Open /etc/profile and append following line:# vi /etc/profile
Append following line:
 export CVSROOT=/home/cvs
Save the file and exit to shell promot.

Make sure your /etc/xinetd.d/cvs looks as follows:

# less /etc/xinetd.d/cvsOutput:

service cvspserver
{
disable            = no
socket_type    = stream
wait                = no
user                = cvs
group              = cvs
log_type          = FILE /var/log/cvspserver
protocol          = tcp
env                 = ‘$HOME=/home/cvsroot’
bind                = 192.168.1.100
log_on_failure  += USERID
port                = 2401
server             = /usr/bin/cvs
server_args     = -f –allow-root=/home/cvsroot pserver
}

Note: Replace 192.168.1.100 with your actual server IP address.

Restart xinetd:# service xinetd restartAdd users to this group (see this howto for more info)
# adduser username -g cvs

# passwd usernameClient configuration

Finally user can connect to this CVS server using following syntax:
$ export CVSROOT=:pserver:@:/home/cvs
$ cvs loginWhere,

* Login – username
* 192.168.1.100 – CVS server IP
——————————————

  • Procedure #2:-

——-
1st Set CVS in /etc/profile as
CVSROOT=$HOME
then
export CVSROOT in .bashrc file

2nd:-
Creat a cvs directory
mkdir -p /home/cvs
cs /home/cvs/
touch Entries
touch Root
touch Repository
touch Templet

then
vi Entries
(should be empty)
then save and close.
vi Repository
edit as “./”
then save and close
vi Root
it shoud contain your path name…
eg:- pwd >> Root
save and quit
Vi Templet
edit BugID:
save and close
3rd:-
On Shell prompt
cvs init
cvs checkout ./
cvs add
cvs commit or ci

and have a look bellow links too..

http://www.taursys.com/howto/cvs/
http://www.cyberciti.biz/faq/linux-setup-a-concurrent-versioning-system-cvs-howto/
http://www.cs.brandeis.edu/~guru/cvs.html
http://defindit.com/readme_files/cvs.html
http://www.taursys.com/howto/cvs/

if you are facing any problem then let me know..

Thanks,
-Amaresh

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x