This website is running on my Raspberry Pi with a 700 MHz ARM processor and 256Mb memory, these are not very high specs therefore i’m using Memcached. Memcached is a distributed memory caching system that is often used to speed up dynamic (database-driven) websites by caching data and objects in RAM to reduce stress on the webserver. This article handles the installation and configuration of Memcached on my Raspberry Pi running Raspbian (based on Debian Wheezy).
I am installing the software from packages, documentation available at Google Code, with apt-get.
After the installation has completed you can see the stats with the following command:
This will give you a list with the following stats:
This shows that the Memcached is now listening on port 11211 with localhost connections only. We will change this to the, catch-all, IP 0.0.0.0 by changing the line: “-l 127.0.0.1” to “-l 0.0.0.0” in the file “/etc/memcached.conf”. After changing the config you can see if we can now make a connection from external machines use the following command:comments powered by Disqus
mycreativity.nl - all about my creations | copyright © 2009-2017 mycreativity