Solved

Installing a cvs server (pserver) on Red Hat 7.3

Posted on 2002-07-11
4
235 Views
Last Modified: 2013-12-15
Does anyone know of a HOWTO for installing CVS on RH 7.3.

I tried to follow this one, but I'm having a hard time making the pserver a service and starting it.

http://www.taursys.com/howto/cvs/

Thanks,

Matt
0
Comment
Question by:mraible
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
if you successfully completed step2 1-7, you should be able to login and checkout.
Other steps described are only necessary if you want to use cvs' private passwd file (which must be configured in the cvs config files in CVSROOT).

What's going wrong? please post commands and results.
0
 
LVL 1

Author Comment

by:mraible
Comment Utility
The problem is that when I get to step #6, there is no file at: /etc/inetd.conf

So I put this information:

#
# CVS PServer
#
cvspserver stream tcp nowait cvs /usr/bin/cvs cvs --allow-root=/usr/local/cvsroot pserver

In a cvspserver file in /etc/init.d/cvspserver - but it won't start as a service, and if I use a GUI to try and configure it, it won't show up - even though this line:

cvspserver 2401/tcp #CVS PServer

is in /etc/services.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 150 total points
Comment Utility
oops, it's RH (should have read carefully)
RH uses xinetd, not inetd, so you need to have a
  /etc/xinetd.d/cvs
file with following content:
# default: on
# description: cvs
service cvspserver
{
    port          = 2401
    socket_type   = stream
    wait          = no
    user          = root
    server        = /usr/bin/cvs
    server_args   = -f --allow-root=/usr/local/cvsroot pserver
    log_on_failure += USERID
    disable       = no
}

Then restart xinetd with
  kill -1 <pid of xinetd>
0
 
LVL 1

Author Comment

by:mraible
Comment Utility
Awesome, and much faster than on my Windows 2000 box with double the RAM!

Thanks for your help!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now