step by step

Installing memcached On CentOS/RHEL

Using info from CentOS forums, Sunny Walia and Ryan Boren, here’s how I got memcached running on my Dotster VPS:

Install libevent:

``` wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz tar zxvf libevent-1.3e.tar.gz cd libevent-1.3e   ./configure make make install ```

Install memcached

``` wget http://danga.com:80/memcached/dist/memcached-1.2.5.tar.gz tar zxvf memcached-1.2.5.tar.gz cd memcached-1.2.5   ./configure make make install ```

We will start the server to use 30 megs of ram (-m 30), listen on ip 127.0.0.1 (-l 127.0.0.1) and run on port 11211 (-p 11211) as user ‘nobody’ (-u nobody):

``` memcached -u nobody -d -m 30 -l 127.0.0.1 -p 11211 ```

Get an error?

``` memcached: error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such file or directory ```

Show it the path to the library:

``` LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH ```

2002 Honda Civic iPod/iPhone Install

Last weekend, while I was putting an iPod interface into my Scion I did the same thing for my 2002 Honda Civic. Using Ben Johnson’s story as a guide, I bought a PIE HON98-AUX interface and dove in. Aside from tools (screwdrivers and 8 and 10mm sockets), you’ll need: The interface adapter Audio wiring — […] » about 700 words

2004 Scion xB iPod/iPhone Install

Based on this story about an iPod interface install I purchased a PIE TOY03-AUX aux input adapter so I could finally listen to my iPhone without using the lousy FM transmitter. Sure, I coulda bought a new car, as the manufacturers seem to have finally come to their senses and started including such inputs, but […] » about 400 words