Debian is quite simply excellent, and I wouldn't even consider running any other distro in production anymore.
Occasionally though, there are packages that become a bit outdated, and a source install is needed.
For me, Memcached is one of those packages. The latest in the Debian Lenny Apt repositories is 1.2.2, but the latest stable build is actually 1.4.4. Good luck seeing that in the stable apt repositories anytime soon :)
So, to make life easy, I've put together a fairly simple bash script that downloads and installs Memcached, and libevent, for you.
The script is a blunt instrument, and assumes...
- You haven't installed memcached from apt repositories on this machine
- You won't be sad when it puts config and startup files at