Mac OS X

Simple SSH port forward on Mac OS X Server

Simple SSH port forward on Mac OS X Server

In the our office we’re hosting several jailed apache servers (FreeBSD) behind a Mac OS X server reverse-proxy (pound). Obviously this caused some access limitations to the jailed machines on the private network. To work around this we were able to port-forward ssh connections from the reverse proxy to specific jails. Unfortunately this was not well documented by Apple.

Read more…

Change OS X server hostname or ip address

Change OS X server hostname or ip address

I had to shuffle around a couple of our servers lately. If you’ve got a static ip address and your hostname changes this is the way to do it.

Read more…

Install OS X packages from the command line

Install OS X packages from the command line

I had to figure out how to do this recently, so here you go.

Read more…

Installing Apache/PHP/MySQL on Mac OS 10.4

Installing Apache/PHP/MySQL on Mac OS 10.4

This post will cover compiling and installing Apache 2, MySQL Community Server 5.1 and PHP 5 from source on Mac OS X Server 10.4.

There are a number of pre-compiled LAMP packages for Mac OS X (one of my favorite being MAMP), if you’re in a hurry or don’t need a lot of custom configuring then I suggest you give one of those a shot.

It should be noted that OS X Server 10.4 comes with old versions of Apache 1.3, MySQL and PHP already installed. If you choose to roll your own install from source, you won’t be able to use Apple’s built in management console for the new software you just installed.

Read more…