?
Solved

CVS Setup

Posted on 2003-03-28
7
Medium Priority
?
480 Views
Last Modified: 2013-12-06
I need guidance in setting up a CVS Client/Server system.
This will be a fairly long process as I have very little knowledge of networks, or CVS for that matter.

Here's what I want to setup:
Server:  A P3 machine to be used exclusively as a CVS server, running Red Hat Linux 8.0
On a LAN behind a firewall.

Clients:
3 machines: 1 workstation on the LAN (Win2k)
               1 laptop (Win2k) capable of being on the LAN or dialin thru modem (using VPNClient)
               1 workstation (RH8.0) connecting only via dialin thru modem (using VPNClient)
(The last 2 machines are the same user)

Thus far, I have RH8.0 and CVS installed in the server.

From the cursory reading I've done, apparently I will want to use SSH.

I'm not sure where to go from here, so i guess this is part 1 of the question.  
What do I do next?

(i posted this question in Networking a couple days ago, but received no responses, so I'm trying it here.
If you can suggest a better category please do so)
0
Comment
Question by:allelopath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 

Accepted Solution

by:
ohadr earned 1000 total points
ID: 8228475
If you are working only either through the LAN or through VPNclient there is no need for SSH encription because VPNclient is already encrypting everything for work that is done outside your LAN, and I guess you are not afraid from attacks from inside your LAN. All you need to do is install CVS regularly, and use IP address on the CVSROOT so the remote machine will not need to query the DNS for the local machine name.

What you need to do is:
1. Install RedHat CVS package first.
2. Open a directory on the CVS server which will be the cvsroot directory (where your repository will reside).
3. On the server write:
cvs -d <cvsroot directory> init

I would recommend using winCVS on the windows machines as it will be the easiest for people who are not familiar with it,
4. Install it on the windows machine (http://www.wincvs.org).

5. Set the repository name (CVSROOT) to be:
:method:[[user][:password]@]hostname[:[port]]/path/to/repository

Use IP instead of hostname so the VPNclient will work.
6. As the method I would probably use pserver (make sure password authentication is working on your installation it should be all set by the RedHat package but if not read section 2.9.3.1on http://www.cvshome.org/docs/manual/cvs_2.html#SEC29

7. On the RH machine either use JCVS or just regular CVS clients commands just set the CVSROOT enviorment variable the same as on the windows machine,

And that’s it, you are set to go.

Let me know if you need more help,

Ohadr.
0
 
LVL 1

Author Comment

by:allelopath
ID: 8228872
You are correct in that I am not concerned about attacks from within the LAN.

I have to set up users on the server side, do I not?  Will the users be users of the server machine itself (thru RH) or of CVS?

I've read the pserver is not good to use because the password encryption is really weak.

0
 

Expert Comment

by:ohadr
ID: 8230006
Yes, you need to set the users on the RH server.
And why do you that concern of the users authentication of being to week, are you afraid users from inside your LAN will access this CVS? This authentication is working either when you are working inside the LAN. When you’re using it from outside the LAN you are using VPNClient which has its own authentication and encryption in order to login your LAN, only after the user passes the VPNClient authentication his CVS client will use this “week” authentication which is again the second authentication and not the main one.
Unless you afraid from people that have access to you LAN to access this CVS without permission I wouldn’t bother using something else.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 1

Author Comment

by:allelopath
ID: 8239312
ok, i think i understand the authentication issue.  I'll user pserver.

for [port], do I use 2401?
0
 
LVL 1

Author Comment

by:allelopath
ID: 8239336
Also, not sure about the [ ] in setting CVSROOT, do they appear at all, or not, e.g.:

:pserver:joeuser:zzzz@128.111.222.333:2401/usr/local/cvsrep

and how would I set CVS root on the server itself, in particulaur would the method still be pserver?
0
 
LVL 1

Author Comment

by:allelopath
ID: 8403065
CVSROOT is set in .bashrc
0
 
LVL 1

Author Comment

by:allelopath
ID: 8403067
Got it working on the LAN.
Next is to do it remotely thru VPN Client.
0

Featured Post

How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 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