CVS Repository Setup on Solaris 8
Download this article as a single PDF document
Introduction
Background
Using version control software (VCS) is addicting, even when you first start using a simple system revision control system like CVS and you do it the right way,
you'll never want to go back to developing without a VCS.
Installing CVS over SSH on a Solaris 8 SPARC presented me a few small hurdles, and in this article I'll try to guide you through the installation steps I followed.
Installing SSH on Solaris 8 takes up a large part of time and setting up CVS itself wasn't actually too much of a problem.
Some of the information in this article is a matter of taste or preference, so feel free to use your own directories and installation paths.
Prerequisites
I did not start the installation from scratch, instead, the command line version of the cvs tool was already installed
from a package downloaded from the Sun FreeWare site.
CVS Repository Setup
I was going to provide a CVS repository to all users in the Unix group 'staff'.
The base directory for the repository was going to be /cvs. Creating the directory and granting access rights is done using these commands (as root):
# mkdir /cvs # chown -R nobody:staff /cvs # chmod -R 0770 /cvs # chmod -R g+s /cvs
The recursive option for the chmod and chown commands isn't really necessary,
but it's my habit of using -R when it does no harm.
The 'g+s' bit is in there because you can't set a group sticky bit using a numeric parameter, so you'll have to do it in a symbolic way on Solaris.
After the directory is set up, it's a simple matter of initializing the repository using:
cvs -d /cvs init
That's all folks!
YazzY
<comments />
Marie said ...
<comment date="2012-03-13T17:27:27Z" name="Marie"> Awesome thoughts for Create new SVN itopsreory on our ubuntu server Steps you followed for create URL for itopsreory is wonderful. Have enjoyed the directory of this project!! Thanks </comment>