Using a Mac as CVS server, Linux and Mac clients

Using a Mac as CVS server, Linux and Mac clients

Post by Mick » Sun, 22 Aug 2004 02:08:29



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.

 
 
 

Using a Mac as CVS server, Linux and Mac clients

Post by matt neubu » Sun, 22 Aug 2004 07:47:07



> 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.

--

AppleScript: The Definitive Guide
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Read TidBITS! It's free and smart. http://www.tidbits.com

 
 
 

Using a Mac as CVS server, Linux and Mac clients

Post by General Schvantzkop » Sun, 22 Aug 2004 08:55:54




>> 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

 
 
 

Using a Mac as CVS server, Linux and Mac clients

Post by Franklin M. Sile » Mon, 23 Aug 2004 16:08:45




> 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:


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/

 
 
 

Using a Mac as CVS server, Linux and Mac clients

Post by Franklin M. Sile » Mon, 23 Aug 2004 16:44:31



> 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)?

Quote:> 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.

Quote:> 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/opensource/cvsoverview.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/

 
 
 

1. comp.sys.mac.misc comp.sys.mac.system comp.sys.mac.apps

We're looking for input on a decent Mac with ethernet to Unix file transfer
utility.  At present we're using the gatorbox, but the Appletalk speed is
clearly unsuited for our pruposes, that is transferring large sounds files
from the Mac to our Unix servers.  We have some Macs with Ethernet Cards,
and have tried uShare and InterCon's Mac NFS.  A quick summary of these two:

uShare runs on the Sun 4, and fires up some atp daemons that allow the Macs
on Ethernet to mount Unix disks.  However, it seems pretty buggy, prone to
crash and isn't all that easy to configure or use. But it's just one piece
of costly software that runs on the Sun.  

Mac NFS lives on the mac, takes a bit of configuring to get running, but once
in place it seems to work.  However, it's over $200/pop, and that could get
pretty pricey, given the number of Mac at our site.  

Does anybody have any experience with these products or their competitors?

this is YOUR CHANCE to contribute your wisdom for the good of all.  Your
responses are very much appreciated.

Rick Kleffel

2. xterm locks in Blackbox

3. Linux mail server - Netscape (W/Mac) client help?

4. ISP with VirtualHost support?

5. Unix-Linux-OSF server and Mac client

6. Sending attachement using mail command

7. How to configure a Linux server for NT, Mac and SCO Unix clients?

8. Segmentation Error on boot OSR5.0.0d

9. SuSE Linux Intel Server with Mac Client - help!

10. Mac DHCP client + Linux bootpgw + NT DHCP server

11. Linux mail server - Netscape (W/Mac) client - help?

12. Linux NFS server to Mac OS X Client

13. MAC Linux, Leoarndo <-> Mac Leonardo?