Category Archives: OS X Server

The opposite of split is cat.

/usr/bin/split and /bin/cat, that is. Why is this useful information? Let’s imagine a wonderful world in which your web host gives you oodles of bandwidth and disk quota, and then one day secretly enacts a policy that disallows access to … Continue reading

Posted in OS X, OS X Server | Leave a comment

Installing perl modules locally

Dealing with CPAN has always felt a little weird. Today I found a nice shortcut for getting perl modules installed in a home directory, which is really useful for when you don’t have admin on the box, or if you … Continue reading

Posted in development, OS X, OS X Server, scripts | Leave a comment

OpenLDAP and SSL (and Mac OS X Server and you)

Mac OS X Server, as of Tiger, has a spiffy little UI in the Server Admin tool for creating SSL certificate requests, importing certs, or creating self-signed certs. It’s pretty easy to make it all work for http or LDAP … Continue reading

Posted in OS X Server | Leave a comment

Decrypting afp mount strings

{10} andre@werk [~] % mount | grep /Volumes/andre afp_006Af01nOUmc001Eic06SdO0-1.2c0000ae on /Volumes/andre (nodev, nosuid, mounted by andre) Huh? how helpful is that! How can I tell what server it came from? Yeah, I could netstat, but what if there’s a bunch … Continue reading

Posted in OS X, OS X Server | Leave a comment

adduser script for Mac OS X / Mac OS X Server

http://www.dreness.com/bits/tech/adduser.html (syntax colored) http://www.dreness.com/bits/tech/adduser (raw)

Posted in OS X, OS X Server, scripts | Leave a comment

Automated backups of Open Directory databases

# Automated backups of Open Directory databases (ldap / kerberos / password server) # This needs to run as root and should be mode 700 due to embedded password # Get current date TODAY=`/bin/date +’%m-%d-%y_%H:%M:%S’` # Set destination directory (do … Continue reading

Posted in OS X Server, scripts | Leave a comment

Remote Server Setup get stuck?

I was using Server Assistant to do a remote setup of Mac OS X Server, and for some reason Server Assistant hung. When I relaunched it, the target server would not allow me to start over or continue the remote … Continue reading

Posted in OS X Server | Leave a comment

Cacti in Tiger Server

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 … Continue reading

Posted in OS X, OS X Server, tutorials | 3 Comments