Setting up memcached

First, install memcached:

sudo apt-get install memcached

Then, look at /etc/memcached.conf. Look for where it says:

-p 11211
 * 1) Default connection port is 11211

Either note this number or change it to a number you do want, as long as it's not the same as the Apache port number or another port number you are using.

Then, look at $LJHOME/etc/config-local.pl to make sure the port number on this line:

@MEMCACHE_SERVERS = ('127.0.0.1:11211');

Matches the one in /etc/memcached.conf.

You can then start memcached with:

/etc/init.d/memcached start