Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using a Mac as CVS server, Linux and Mac clients

Reply
Thread Tools Display Modes

Using a Mac as CVS server, Linux and Mac clients

 
 
Mick
Guest
Posts: n/a

 
      08-20-2004, 05:08 PM
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.

 
Reply With Quote
 
 
 
 
matt neuburg
Guest
Posts: n/a

 
      08-20-2004, 10:47 PM
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
 
General Schvantzkoph
Guest
Posts: n/a

 
      08-20-2004, 11:55 PM
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
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-22-2004, 07:08 AM
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
 
Franklin M. Siler
Guest
Posts: n/a

 
      08-22-2004, 07:44 AM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SunOS 5.5 NIS clients on Linux server: problem... Evan Lavelle Linux Networking 3 12-15-2005 12:41 PM
Linux and Win dns clients against bind 9.2.4 server sdwll Linux Networking 1 09-02-2005 10:32 PM
senitel smp server on win2000 with linux rh9 clients anthony@killruddery.com Linux Networking 0 01-28-2005 10:46 PM
Setting up a VPN server for Linux clients in Debian OL/2 Linux Networking 1 07-07-2004 01:53 AM
dns update from dhcp server ok for windows clients, not ok for linux (dhclient) clients Tom Van Overbeke Linux Networking 3 08-07-2003 03:24 PM



1 2 3 4 5 6 7 8 9 10 11