Archive for the 'tutorials' Category

get notified!

Posted by dre on September 7th, 2008

Mac OS X makes extensive use of a variety of event notification mechanisms, as described here. One such mechanism is documented in the notify(3) man pages, and it is these types of libnotify notifications that are the focus of this post. Notifications can be posted and observed in a global namespace across all processes (with [...]

Applied Kerberos troubleshooting

Posted by dre on July 4th, 2008

The following is an IRC transcript taken from #afp548, irc.freenode.net. It chronicles the troubleshooting process of a fairly well-hidden edge case of Kerberos configuration in Mac OS X Server.
pastebin.ca was used to relay larger hunks of textual information; I’ve made local copies of the results since the pastebin pages expire in 1 month. Pastebin displays [...]

Tiger Server servermgrd library for Python

Posted by dre on June 11th, 2007

motivation
I finally found a reason to write some Python. Being something of a monitoring and data junkie, I’ve had a fair amount of experience with snmp, data mining scripts, etc. After writing this post to the server list, I figured I’d make some templates for snmp that published interesting pieces of data about the server. [...]

X11 mobility with Xmove

Posted by dre on April 29th, 2006

X11 is a windowing system for *nix computers. There is one point about X11 that needs to be understood before anything that follows will make sense, so I’ve cribbed the following bit from the X11 wikipedia page to explain:
X features network transparency: the machine where application programs (the client applications) run can differ from the [...]

The Journeyman’s Guilde to Quicktime Presentations

Posted by dre on April 29th, 2006

This guide will demonstrate a method for creating multi-track, multi-media, self-contained quicktime movies. A good example of this would be the presentation format where there are multiple tracks of media that need to be coordinated with specific timings. Perhaps there is a ‘talking head’ video track, and a series of slides that need to be [...]

Cacti in Tiger Server

Posted by dre on April 29th, 2006

Install XCode
Install and configure darwinports
Download the newest version from macosforge.
Add the darwinports paths to your shell config file. e.g.
PATH=”/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:$PATH”
Update the ports collection
sudo port -d selfupdate
Install rrdtool from darwinports
Execute the following to install rrdtool and all of its dependencies for you.
sudo port install rrdtool
Local user setup [...]