Solved

Configure CVS client on solaris 9

Posted on 2008-10-01
8
2,543 Views
Last Modified: 2013-12-21
How do i configure CVS client on solaris 9?

I have installed the software from sunfreeware.com and i added the cvs user.


I have also made entries on the /etc/services file to listen on port 2041 tcp/udp.

when I try to set up a CVS repository locally, I get the following:

cvs -d /cvs/repository
Usage: cvs [cvs-options] command [command-options-and-arguments]
  where cvs-options are -q, -n, etc.
    (specify --help-options for a list of options)
  where command is add, admin, etc.
    (specify --help-commands for a list of commands
     or --help-synonyms for a list of command synonyms)
  where command-options-and-arguments depend on the specific command
    (specify -H followed by a command name for command-specific help)
  Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
    the CVS home page at http://cvs.nongnu.org/

Please, help

-Ian
0
Comment
Question by:p0sreed
  • 4
  • 4
8 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 22621507
It's a little unclear what you are trying to do.

To create a CVS repository, you need to do

CVSROOT=/cvs/repository ; export CVSROOT

and either do

cvs init

or

cvs import .....
0
 

Author Comment

by:p0sreed
ID: 22621522
0
 
LVL 48

Expert Comment

by:Tintin
ID: 22621553
That guide is for Solaris 10, so almost ever step will not be applicable to your system.

1. Where do you want the CVS repository to exist?
2. Where do you want to access the repository from?
3. What CVS client/s will you be using?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:p0sreed
ID: 22621617
1. We have a CVS server, i want this solaris 9 machine to connect to it for check in n check out

2.I want to access the repository from this client machine

3.I am using cvs software from sunfreeware.com. if this doesn't answer your question, then i don't understand the question.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 22621668
OK, that answers most of the questions apart from the CVS server itself.  Is the only access via cvspserver?  It's also quite common to use ssh for the CVS connection, but it does depend on the setup of the CVS server.
0
 

Author Comment

by:p0sreed
ID: 22625552
It's through SSH
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 22638518
In that case, all you need to do is set

export CVS_RSH=ssh
export CVSROOT=:ext:username@server:/cvs/repository

0
 

Author Comment

by:p0sreed
ID: 22643350
the 2nd line should be

export CVSROOT=$USER@server:/<path to cvs repository>
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 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