Ir a la info de como instalar memcached en debian…


Before installing Memcached, make sure that your server is up-to-date.

Login as root user and perform the steps:

root@server:~# apt-get update
root@server:~# apt-get upgrade

In addition, make sure that you have installed the following packages in your server:

root@server:~# apt-get install mysql-server php5-mysql php5 php5-dev php-pear

Install Memcached

Execute the following command to install Memcached:

root@server:~# apt-get install memcached

Now test Memcached service is started and running using the following command:

root@server:~# ps -eaf | grep memcached
nobody    7148     1  0 15:09 ?        00:00:00 /usr/bin/memcached -m 64 -p 11211 -u nobody -l
root      7186  3190  0 15:13 pts/0    00:00:00 grep memcached


Para acabar usar los comandos finales de este artículo...

echo "" | sudo tee /etc/php5/conf.d/memcache.ini

Now you are ready to start using Memcache.

Confirm Memcache and See Stats

After Memcache is downloaded, you can check that it has been installed by searching for it:

ps aux | grep memcache