수요일, 5월 22, 2024
HomeLinuxubuntu Memcached install

ubuntu Memcached install

ubuntu 14.04 Memcached install

1.apt-get install

apt-get update
apt-get install php5-memcache

2.Install Memcached

apt-get install memcached

3.Installing php-pear

apt-get install php-pear

4.Install memcache php extension using PECL

pecl install memcache

5.add your new memcache.so module to PHP memcache.ini file:

touch /etc/php5/conf.d/memcache.ini
echo "extension=memcache.so" >> /etc/php5/conf.d/memcache.ini

6.Start memcached

service memcached start

7.reload php-fpm

service php5-fpm reload

8.Start memcached

service nginx start

9.Test memcached

ps -aux | grep memcache

참조URL : http://memcached.org/
http://en.wikipedia.org/wiki/Memcached

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular