Archive for \'Linux\'



Setup 64bit CentOS (PHP5, MySQL, memcached, ketama)

A script to setup 64bit CentOS with PHP5, MySQL, memcached and ketama.

Force MySQL Encoding to UTF8

How to force MySQL to use UTF8 encoding by default.

Browser detection with PHP

How to set up and use PHP’s get_browser() function to detect client browsers.

Subversion Server on CentOS

How to set up a subversion server with apache and CentOS

OS X zsh shell config

zsh shell configuration file for OS X.

Set OS X Default Shell

How to change the default shell in OS X.

Replacing text with sed

How to use sed to replace text in files.

Installing MySql/PDO for PHP

How to install PDO/MySql to fix Zend_Db_Adapter_Exception errors in Zend Framework

Compile LibTorrent on OSX

How to to compile libtorrent on OS X.

Change the SSH login message

How to customize your SSH login screen.

Stop cron emails

Stop annoying emails every time a cron job is run.

Vi as default crontab editor

Change the default crontab editor.

Install Ubuntu SSH server

Ubuntu Enterprise 6 doesn’t seem to install sshd out-of-the-box.

Configure Ubuntu w/ Static IP

Ubuntu Enterprise 6 doesn’t seem to give an option to enter a static IP during install if you have DHCP available.

Installing Trac

Trac can be a little tricky to install. Here’s the steps that worked for me.