Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Using a Mac as CVS server, Linux and Mac clients

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2004, 06:08 PM
Default Using a Mac as CVS server, Linux and Mac clients



I need a CVS repository for source control. Builds are for both Linux
and Mac OS X (10.2), so my idea was to setup a repository on a Mac box,
then access it remotely from the Linux environment, but I'm having no luck.

I'm on a small lan - I've given each box a unique IP address.
I can ping the Mac from Linux.
I can open an ssh session from Linux on the Mac.
I can't rcp files (Connection refused). Any other network operations
result in Connection refused.
I can see the Mac, and the files under my account from my Windows XP box.

I've turned on all the sharing stuff (system settings, sharing) on the Mac.
I don't really have a clue what I doing. Can anybody point me to a
resource for this kind of information?

Mick.



Mick
Reply With Quote
  #2  
Old 08-20-2004, 11:47 PM
matt neuburg
Guest
 
Posts: n/a
Default Re: Using a Mac as CVS server, Linux and Mac clients

Mick <(E-Mail Removed)> wrote:

> I need a CVS repository for source control. Builds are for both Linux
> and Mac OS X (10.2), so my idea was to setup a repository on a Mac box,
> then access it remotely from the Linux environment, but I'm having no luck.
>
> I'm on a small lan - I've given each box a unique IP address.
> I can ping the Mac from Linux.
> I can open an ssh session from Linux on the Mac.
> I can't rcp files (Connection refused). Any other network operations
> result in Connection refused.
> I can see the Mac, and the files under my account from my Windows XP box.
>
> I've turned on all the sharing stuff (system settings, sharing) on the Mac.
> I don't really have a clue what I doing. Can anybody point me to a
> resource for this kind of information?


Use ssh (rsh), not pserver. I was never able to get pserver working, but
I got ssh working on the first try.

If you want resources, use google. Here's one:

<http://www.novajo.ca/cvs.html >

But I'm not going to do your google searching for you. All the info you
need is out there. m.

--
matt neuburg, phd = (E-Mail Removed), http://www.tidbits.com/matt/
AppleScript: The Definitive Guide
http://www.amazon.com/exec/obidos/AS...methingsbymatt
Read TidBITS! It's free and smart. http://www.tidbits.com
Reply With Quote
  #3  
Old 08-21-2004, 12:55 AM
General Schvantzkoph
Guest
 
Posts: n/a
Default Re: Using a Mac as CVS server, Linux and Mac clients

On Fri, 20 Aug 2004 22:47:07 +0000, matt neuburg wrote:

> Mick <(E-Mail Removed)> wrote:
>
>> I need a CVS repository for source control. Builds are for both Linux
>> and Mac OS X (10.2), so my idea was to setup a repository on a Mac box,
>> then access it remotely from the Linux environment, but I'm having no luck.
>>
>> I'm on a small lan - I've given each box a unique IP address.
>> I can ping the Mac from Linux.
>> I can open an ssh session from Linux on the Mac.
>> I can't rcp files (Connection refused). Any other network operations
>> result in Connection refused.
>> I can see the Mac, and the files under my account from my Windows XP box.
>>
>> I've turned on all the sharing stuff (system settings, sharing) on the Mac.
>> I don't really have a clue what I doing. Can anybody point me to a
>> resource for this kind of information?

>
> Use ssh (rsh), not pserver. I was never able to get pserver working, but
> I got ssh working on the first try.
>
> If you want resources, use google. Here's one:
>
> <http://www.novajo.ca/cvs.html >
>
> But I'm not going to do your google searching for you. All the info you
> need is out there. m.


setenv CVSEDITOR xemacs
setenv CVS_RSH ssh

setenv CVSROOT :ext:ServerName:/CVSROOT_path

Reply With Quote
  #4  
Old 08-22-2004, 08:08 AM
Franklin M. Siler
Guest
 
Posts: n/a
Default Re: Using a Mac as CVS server, Linux and Mac clients

General Schvantzkoph wrote:
> On Fri, 20 Aug 2004 22:47:07 +0000, matt neuburg wrote:
>
>
> setenv CVSEDITOR xemacs
> setenv CVS_RSH ssh
>
> setenv CVSROOT :ext:ServerName:/CVSROOT_path
>

csh...yuck. If you're using an sh-compatible shell (bash, zsh, etc.)
you want to use export:

export EDITOR=vim
export CVS_RSH=ssh

CVS will use EDITOR if CVSEDITOR is not set. I don't set CVSROOT in my
environment because once you have checked out you don't need it. You
simply do something like:

cvs -d (E-Mail Removed):/var/cvs co project

and after that you need not specify the repository as long as you're
inside the resulting project directory.
--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
Reply With Quote
  #5  
Old 08-22-2004, 08:44 AM
Franklin M. Siler
Guest
 
Posts: n/a
Default Re: Using a Mac as CVS server, Linux and Mac clients

Mick wrote:

> I need a CVS repository for source control. Builds are for both Linux
> and Mac OS X (10.2), so my idea was to setup a repository on a Mac box,
> then access it remotely from the Linux environment, but I'm having no luck.
>
> I'm on a small lan - I've given each box a unique IP address.
> I can ping the Mac from Linux.
> I can open an ssh session from Linux on the Mac.


beg pardon? Can you ssh /into/ the CVS server (that's the important bit)?

> I can't rcp files (Connection refused). Any other network operations
> result in Connection refused.


You can use scp, sftp, or rsync over ssh to transfer files, provided of
course that ssh is working.

> I can see the Mac, and the files under my account from my Windows XP box.
>
> I've turned on all the sharing stuff (system settings, sharing) on the Mac.
> I don't really have a clue what I doing. Can anybody point me to a
> resource for this kind of information?


sshd is the only daemon you need for this, but naturally you need to
create a repository and so forth. If you haven't read this, read it:

http://developer.apple.com/internet/...soverview.html

see my other post or the man pages for more info on how to set up your
environment to use CVS over ssh seamlessly. BTW, don't forget to turn
your unused services off.
--
Franklin M. Siler UIUC: Undergraduate in Electrical Engineering
Marching Illini Trumpets, Basketball Band Staff, ACM SigMation
http://umgawa.bands.uiuc.edu/~fsiler/
Reply With Quote
Reply

Tags
clients, cvs, linux, mac, server

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.