MarioNote

December 18, 2010

CVS Server Installation on Ubuntu Linux 10.04

Filed under: Linux memo,Ubuntu — mariojump @ 6:48 am

I installed CVS Server on Ubuntu 10.04.
CVS repository is copied from another machine, and it is placed in /opt/cvsroot .

Reference:
https://help.ubuntu.com/10.04/serverguide/C/cvs-server.html

# apt-get install xinetd
# apt-cache search git-cvs
# apt-get install git-cvs
# apt-cache search cvsps
# apt-get install cvsps

Edit /etc/xinetd.d/cvspserver .

# vi /etc/xinetd.d/cvspserver

The file now looks:

# cat /etc/xinetd.d/cvspserver
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f –allow-root /opt/cvsroot pserver
disable = no
}

# /etc/init.d/xinetd restart

Ensure CVS server is running.

# netstat -tap | grep cvs
tcp 0 0 *:cvspserver *:* LISTEN 11676/xinetd

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: