info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: installing cvs server on redhat linux 8.0


From: Bruce Douglas
Subject: RE: installing cvs server on redhat linux 8.0
Date: Thu, 30 Jan 2003 09:25:46 -0800

Brian..

Thanks for the response... made the changes... but i'm still confused.. i'm
guessing....

Do you know of a definitive site/doc that actually spells out how to bring a
CVS server online. The sites I've seen leave things out/make assumptions....
As I said, I can't afford to screw this up.....


Thanks

Bruce
address@hidden


-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
Brian Kowald
Sent: Thursday, January 30, 2003 8:07 AM
To: address@hidden
Subject: RE: installing cvs server on redhat linux 8.0



You don't have to edit xinetd.conf but did you create the file
/etc/xinetd.d/cvsserver?

Here is mine:

service cvspserver
{
    port        = 2401
    socket_type = stream
    protocol    = tcp
    wait        = no
    user        = root
    passenv     = PATH
    server      = /usr/bin/cvs
    env         = HOME=/cvsrepo
    server_args = -f --allow-root=/cvsrepo/TEST pserver
}


This says I have one repository in /cvsrepo/TEST and that I want to use the
pserver protocol

Then restart xinetd.  After that you should see it listening on port 2401


Look at the online manual, most of this stuff in in there.


Next to have to create the reppository at a prompt on the server:

Looks like you did the init. After that I would say stop using "local mode"
and connect to the repository from a client.

It looks like you just have permissions wrong for your repository. When you
are using local mode (-d /home/cvsroot), the system is going to look at the
permissions of the current logged in user. Set the owner and the group of
the files in the repository to "cvs"  and put the user you want to be the
"administator" (you) into the cvs group.


Brian





-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Bruce
Douglas
Sent: Wednesday, January 29, 2003 10:12 PM
To: address@hidden
Subject: installing cvs server on redhat linux 8.0


hi...

New to cvs and redhat 8.0. trying to install a cvs server on redhat 8.0
server. I have the following rpms installed:
        sendmail-8.12.5-7
        sendmail-cf-8.12.5-7
        cvs-1.11.2-5

I'd like to be able to configure the server for both password and anonymous
access if possible.... (but I'll take what I can get!)

I used the following procedure as a guide to install/configure the server:

        edited "/etc/services" to include the line:

                ==>services:cvspserver 2401/tcp # CVS protocol server

        edited "etc/inetd.conf" to include the following lines :

        ==># Allow CVS to be accessed as server in a client/server relationship
        ==>cvspserver stream tcp nowait root /usr/bin/cvs
cvs -f -l --allow-root=/raid/cvsroot

        (I DO NOT HAVE THIS. IT SEEMS THAT I DO HAVE "xinetd.conf". I DIDN'T 
MAKE
THIS CHANGE)

        created a new user as "cvs"
        created a new group as "cvs"

        created a repository directory as "/root/cvsroot"

        changed the folder permissions for "cvs"

        ran the following command:
                cvs -d /root/cvsroot init [return]

        ran the following command:
                cvs -d /root/cvsroot checkout CVSROOT [return]


        modified the CVSROOT/config file:

                # Set this to "no" if pserver shouldn't check system 
users/passwords
                SystemAuth=no

                # Set `PreservePermissions' to `yes' to save file status 
information
                # in the repository.
                PreservePermissions=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


        created /root/CVSROOT/passwd by copying/modifying the /etc/passwd file

        ==>     root:x:cvs
        ==>     test:x:cvs
        ==>     steview:x:cvs


        Run the commands

                cvs -d /raid/cvsroot add /root/CVSROOT/passwd [return]
                cvs -d /raid/cvsroot commit /root/CVSROOT [return]

                (the 2nd command returned the following.....)
                address@hidden test]$ cvs -d /home/cvsroot commit /root/CVSROOT
                cvs [commit aborted]: /home/cvsroot/CVSROOT: Permission denied


At this point I realize that I'm lost...

Can anyone point me to documentation that would guide me through the process
of setting up a CVS server on a Redhat 8.0 machine....

I've tried to review the cvshome.org docs, but I haven't come across the
right section for actually installing the CVS server.... I've performed
searches through google, but i've seen different pieces of information....

I can't afford to screw this up!!!

Any help/assistance would be greatly appreciated....

Thanks

Bruce Douglas
address@hidden





_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs





reply via email to

[Prev in Thread] Current Thread [Next in Thread]