LockScreen icon in menu bar on MacOS X

How to add an icon in your MacOS X menu bar (a la System Tray) that will allow you to lock the screen:
/Applications/Utilities/Keychain Access.app
-> Preferences -> General -> Show Status in Menu Bar

Installing Ruby MySQL gem on Mac OS X Leopard

Thanks to this post, I discovered how to install the MySQL ruby gem on Mac OS X:
You must be using the x86 variant of MySQL, not x86_64, apparently.  Then:

sudo env ARCHFLAGS="-arch i386" gem install mysql — \
–with-mysql-dir=/usr/local/mysql –with-mysql-lib=/usr/local/mysql/lib \
–with-mysql-include=/usr/local/mysql/include

Leopard screen sharing built-in

I keep forgetting where this is, and I can’t find it in google right now, so lets blog it: The builtin Screen Sharing tool in Mac OS X Leopard is at:

/System/Library/CoreServices/Screen Sharing.app

Just run it and it will prompt you for a server to connect to.  From the command line use open -a with the [...]

Installing MySQL (binaries) on Mac OS X Leopard

There are a couple of possible ways to install MySQL server on Mac OS X Leopard. Which one you take depends on what is available at mysql.com. When a new version of Mac OS come out, in the past it has taken mysql.com many months to come up with packaged binary releases of MySQL server [...]

Getting PHP working in Apache2 on Mac OS X Leopard

As with OS X Leopard Server, the OS X Leopard standard OS is missing Apache config statements to enable PHP support. Of course with standard Leopard, you don’t get the fancy Server Admin tool to let us fix it via a GUI, so we do it by hand:
In /etc/apache2/httpd.conf:
Uncomment the php LoadModule statement:

LoadModule php5_module [...]

Getting PHP working in Apache2 on Mac OS X Server

In OS X Leopard, out of the box (at least on the System I got access to) Apache2 is missing an AddHandler statement for PHP, so PHP won’t work if you just enable the module.  Here is how to fix that through Server Admin:
Check -> Web -> Settings -> Modules, php5_module is enabled.
In Settings -> [...]

Getting MySQL working on Mac OS X Server

The version of MySQL that comes preintsalled on MacOS X (Leopard) Server does not include client libraries and header files, as discussed here.  The remedy as discussed here is to:
Download MySQL-43.binaries.tar.gz
Stop MySQL Server if it was running (Server Admin -> MySQL -> Stop MySQL)

tar xvfz MySQL-43.binaries.tar.gz
cd MySQL-43.binaries
sudo tar -xzvf MySQL-43.root.tar.gz -C /

To configure and start MySQL:
Using Server Admin
Servername -> Services -> [...]