Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sysadmin question: how best to sync /usr/local development across boxes?




On Apr 28, 2005, at 5:49 PM, OpenMacNews wrote:

hi all,

(ok, so i'm not certain this is the right list ... but server mgmt seems to be closest topic ... pls let me know if this is better posted elsewhere. thx.)

as many do, i have a relatively heavily customized /usr/local/ tree that i build into on my local (desktop) OSX 10.3.9 G4 box.

i've now also got a number of other boxes (G3s, G4s, both 'native' and cpu-upgraded) that, eventually (will/should), get the same tools/widgets built into their /usr/local/ trees.

typically, i end up building all on each box ... til now, a set of scripts has mostly minimized the effort ... but as those trees grow, its getting to be a hassle.

I ended up going with fink and apt. I have fink on all the workstations and servers at my office, and I have a local repository of deb files on one of my G5 workstations. The G5 runs "fink scanpackages" every night to keep the apt repository up to date, so all I have to do is "apt-get update" & "apt-get upgrade" on the workstations to keep them up to date.


Yes, there are other packaging systems besides fink, but I use debian on my linux boxes, so I found fink to be the best fit for me.

By adding my local machine first in /sw/etc/apt/sources.list, my local machines go to my repository server first, so they get to use the 100T to download packages.

I also write fink info files for local files & scripts that I want to keep controlled by package management.

There are a variety of howtos for exactly how to set this up, including one on my blog at <http://digitalhominid.blogspot.com/ 2005/02/how-to-set-up-local-fink-repository.html>

I haven't gotten around to writing a howto for creating a custom fink info file, mainly because I found the documentation at <http:// fink.sourceforge.net> easy to follow.

I created a dummy package that requires all the packages I want on my workstations - that way all I need to do on a new machine is add my local source, then "apt-get upgrade; apt-get install jpbws" to get apt to install the full load.

jpb
--
Joe Block <email@hidden>

Making machines do more so that man may do less.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >sysadmin question: how best to sync /usr/local development across boxes? (From: OpenMacNews <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.