LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-13-2006, 03:36 PM   #1
feipeng
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Question How to setup a CVS server in SuSE 10.0 with DSL connection?


I want to setup a CVS server in my laptop at home in SuSE 10.0 with DSL connection. I have completely no experience to setup any server before. What should I do? Could you please give me the instructions step by step? Thanks in advance for any useful hint!

Feipeng
 
Old 03-14-2006, 09:52 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
you mainly have 2 choices to set this up:
- run a "real" cvs server (using the pserver protocol).
- run cvs over ssh (optionnaly telnet).

For the first one, your need to run cvsd from inetd, have a dedicated port openned and configure cvs specific users.

For the second one, all you need is an ssh access to the machine. Meanwhile, things will be easier if you use ssh with a public key rather than with password (so you only type the password for your private key at the beginning of session rather than typing the password for the remote account every time cvs has some action to perform).

If you already have a cvs repository installed locally on your laptop and you can access your laptop through ssh, then accessing cvs from a remote machine is pretty simple. This a quick example to checkout a simple module (that we will call 'bla') from the command line using bash in a terminal:

Code:
export CVSHOME=:ext:yourUsername@yourServerOrIp.com:/path/to/CVSROOT
export CVS_RSH=ssh
cvs co bla
For more info and in depth, have a look at http://ximbiot.com/cvs/manual/

Good luck
 
Old 03-15-2006, 09:51 AM   #3
feipeng
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks. Zeitounator.

I have read the relevant parts in CVS manual about how to setup a CVS pserver. I will try this.

The problem is, with the DSL connection, the IP address is dynamic. Can I have a static IP address (or even virtual one) or a domain name to search the dynamic IP address? Otherwise, I have to know the IP address every time to access the CVS server. Right?
 
Old 03-15-2006, 10:25 AM   #4
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by feipeng
Can I have a static IP address
I have no idea, ask your dsl provider. Mine offers static IP as a standard feature.

Quote:
Originally Posted by feipeng
or a domain name to search the dynamic IP address?
This is called dynamic DNS. There are different ways and prices to get this rolling. I personnaly use http://dyndns.com free service. It lets you choose an available subdomain of one of the domains name they own (something like yoursubdomain.linuxhome.net, yoursubdomain.is-a-geek.net and tons of others...).

Once your account is created you can update the ip whenever it changes:
- Using a webform
- Using your dsl router if you have one and it supports this feature (my netgear router does)
- Using one of the program supported by your dynamic dns provider (such as ipcheck)

The first method works but you need to update your IP manually whenever it changes. The 2 other ones are much better since the update will take place automagically as soon as your ip changes.

Last edited by zeitounator; 03-15-2006 at 10:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS server setup issues. Nasher Linux - Software 3 09-07-2009 04:16 AM
cvs server setup axelmang Linux - Newbie 2 08-19-2005 05:43 AM
CVS Server setup harisankar Linux - Software 0 08-06-2004 08:07 AM
CVS Server Setup - Mandrake 10 datprogrammer Linux - Software 0 07-06-2004 09:45 AM
Setup up DSL connection shinpadsmt Linux - Newbie 6 02-08-2004 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration