Google
 
 
Home arrow Linux Articles arrow Linux CVS pserver

Main Menu
 Home
 Linux Articles
 FreeBSD Articles
 Apache Articles
 Perl Articles
 Other Articles
 Program Downloads
 Free Books
 News
 The Web Links
 Contact Us

Most Read
Automating SFTP using expect
FreeBSD PPTP VPN
Shorewall Router on Linux
SnortShorwall - Using Snort And Shorewall Together
Shorewall Stand Alone Firewall

Polls
Favorite Linux/BSD
Fedora
Mandrake
Debian
Slackware
Gentoo
Suse
FreeBSD
Other
  

Syndicate
Latest news direct to your desktop
RSS

Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one

Members Online
 Linux-BSD-Central Has a Total of 701 Members   Members (701) # Online
 We have 4 Guests Online. Guests 4
 We have 0 Users Online. Users 0

Online Users
No Users Online

Statistics
OS: Linux w
PHP: 5.2.9
MySQL: 5.0.91-community
Time: 14:47
Members: 701
Hits: 1324415
News: 277
WebLinks: 15



-->

Linux CVS pserver   PDF  Print  E-mail 
Contributed by Chad Brandt  
Wednesday, 16 June 2004
Learn how to install and configure CVS as a pserver on linux.

1. Install the latest cvs. You can download the rpm and install it or use apt-get if you have it installed

   [root]# apt-get install cvs


2. create a user and group for the cvs user

   [root]# adduser cvsuser
   [root]# passwd cvsuser


3.Create a cvs root directory

   [root]# mkdir /usr/local/cvs (or where ever you want your root)
   [root]# chown cvsuser:cvsuser /usr/local/cvs


4. Initialize the cvsroot as the cvs user

   [cvsuser]# cvs -d /usr/local/cvs init


5. Setup the pserver listener. Cvs is a xinetd component

   [root]# cd /etc/xinetd.d
   [root]# vi cvs

service cvspserver
{
disable = no
socket_type = stream
wait = no
user = cvsuser
protocol = tcp
env = '$HOME=/home/cvsuser'
port = 2401
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvs pserver


6. Start cvs

   [root]# /etc/init.d/xinetd restart

CVS Pserver will listen on TCP port 2401. You can verify that it is running by looking at netstat

[root]# netstat -a -n | grep 2401
tcp     0 0 0.0.0.0:2401      0.0.0.0:*       LISTEN

Set cvs to start at boot time

   [root]# chkconfig --levels 35 xinetd on
   [root]# chkconfig --levels 35 cvs on


7. Log into cvs. Example from *nix client.

   [cvsuser]# export CVSROOT=:pserver:cvsuser@yourserver.com:/usr/local/cvs  
   [cvsuser]# cvs login

 Now you can log in from any cvs client and import a project. I have found wincvs works well for a windows client.

Comments
Easy to Follow
Written by Guest on 2004-07-24 13:02:49
8) Easy to follow instructions. I had cvs running within 20 minutes. 
Thank!!
Written by Guest on 2005-09-06 10:41:09
[/LIST][*]null[LIST]

Write Comment
Name:Guest
Title:
BBCode:Web AddressEmail AddressBold TextItalic TextUnderlined TextQuoteCodeOpen ListList ItemClose List
Comment:



Powered by AkoComment 1.0 beta 2!




 
Google Ads



 

Check out TwistByte - The best mobile apps available For awesome Android and IPhone applications!!