memcache on ubuntu (intrepid ibex)
March 5, 2009
Took me a few minutes to find all this so I thought I should take note.
Installing memcache
sudo apt-get install memcached
This installs memcache in the usual ubuntu/debian way. It scatters several important files around the operating system in the process.
- start script: /usr/share/memcached/scripts/start-memcached
- init.d startup: /etc/init.d/memcached
- config file: /etc/memcached.conf
Need to edit the conf file as by default it only lists on the localhost.
Below are some memcache links for more reading:
- http://www.danga.com/memcached/
- http://code.google.com/p/memcached/wiki/TutorialCachingStory -> answers the question of how to explain memcache to others
- http://lzone.de/articles/memcached.htm -> testing/hacking memcache with telnet