[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upgrading cvs to newer version
From: |
Rene Berber |
Subject: |
Re: Upgrading cvs to newer version |
Date: |
16 May 2002 11:44:16 -0700 |
Anette van der Schyf <address@hidden> wrote in message news:<address@hidden>...
> We are currently running cvs version 1.10.7 on linux 2.2. We want to upgrade
> to version 1.11.2 of cvs. I would like to know if the following steps of
> upgrading is correct:
>
> 1. I have downloaded cvs-1.11.tar.gz
You mean cvs-1.11.2.tar.gz
> 2. Type on commandline: gunzip cvs-1.11.tar.gz
> 3. Type on commandline: tar xvf cvs-1.11.tar.gz
It's tar xvf cvs-1.11.2.tar
or do 2 and 3 in one step: tar xzvf cvs-1.11.2.tar.gz
> 4. Type on commandline: cd cvs-1.11
> 5. Type on commandline: ./configure
> 6. Type on commandline: make
Test the new program before installing (run at least src/cvs
--version, and src/cvs version);
Also at this point you may want to disable access to cvs (from other
people in perhaps other machines). If you use pserver then comment
the line in /etc/inetd.conf that starts cvs, and send a SIGHUP to
inetd; if you use ssh/rsh then rename the program (i.e. mv
/usr/bin/cvs /usr/bin/cvs.old).
You can see if any cvs process is running, that means that somebody is
using it.
> 7. Type on commandline: make install
That should work for a standard build, installed under /usr/local.
Some versions of Linux (like RedHat for instance) install it under
/usr. You can have 2 copies and work with that, or use "./configure
--prefix=/usr" to replace the old version.
> Do I need to set up everything again (the whole cvs)?
No.
> Or will the existing
> repository and users acces etc still be ok? (I don't want to break
> anything!)
Yes, the repository and user access doesn't have to be changed.
Regards.
--
R. Berber
rberber AT mailandnews.com