Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

steve.harman

macrumors newbie
Original poster
Dec 12, 2008
5
0
Portland
This is my first post, but I am posting since I found it difficult to get this accomplished. I hope you enjoy it. Going through the research and getting this to work was actually part of the fun.

Creating a local SUS for OSX Server

Below are the steps that I took to create a local SUS.

First off I entered the two IP's and domain name in the host file needed for reaching the Software update server at Apple. This is because of a DNS issue.

To get to the host file on your OSX Server, click on go > go to folder >
type /etc and double- click on the hosts file and it will open in text edit

enter

17.250.248.95 swscan.apple.com
17.250.248.96 swscan.apple.com

**Next**

On the Xserver I saw that there was not a:
/usr/share/swupd/html/content/catalogs/index.sucatalog
However there was a:
/usr/share/swupd/html/content/catalogs/index.sucatalog.apple

So I changed index.sucatalog to point to the latter:
sudo rm index.sucatalog
sudo ln -s /usr/share/swupd/html/content/catalogs/index.sucatalog.apple
index.sucatalog

Once this was done all that remained was to point the clients to the server.
On each of the clients you have to run "sudo defaults write
/Library/Preferences/com.apple.SoftwareUpdate CatalogURL
http://YOUR_SERVER_IP:8088/index.sucatalog"

I actually have placed this command in a login script that resides on
the Primary domain controller, which automatically pushes this command
out to all of the network users that log in.

This was kind of difficult information to find all in one place and then make it work, so I hope this will be helpful to everyone.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.