June 2009 Archives

Migrating nameservers

| No Comments

When migrating nameservers to new hosting, don't forget to update the nameserver ips at your domain registrar.

Boot 64 bit Snow Leopard kernel

| 5 Comments

Print nvram settings

# nvram -p

Set boot-args to use 64 bit kernel

# nvram boot-args="arch=x86_64"

Don't forget to add in your existing boot-args to the command above. Using nvram means you don't need to have to remember to hold down 6 or 4 during booting each time. To go back to the 32 bit kernel, just set the boot-args using nvram without the arch=x86_64 option.

Check if running 64 bit kernel

To check if you're using the 64 bit kernel, you can run uname -v and check if there is mention of x86_64 in the returned string.

Installing PECL extensions in CentOS

| 1 Comment

After lots of searching round I finally worked out where the hell I was going wrong. Just remount /var/tmp with exec temporarily.

$ sudo mount -o remount,exec /var/tmp
$ sudo pecl install <pecl_extension>
$ sudo mount -o remount,noexec /var/tmp