How to install Memcached and get it to work?
Posted: Sun Dec 27, 2015 1:44 am
hi, I am using VestaCP v0.9.8 on CentOS 7 now. Before posting this topic, I had searched this forum about "memcached' but there was not enough information here.
I followed this command to install Memcached (from one of those posts on this forum):
Then I restarted httpd with this command:
Next, I checked my Memcached status with:
And got following result:

My question is: Does this means I have installed Memcached correctly? Does this means my Memcached is running properly?
Why there were "diabled" in the status check?
My Joomla caching component JotCache still can not work well if I choose Memcached as its Cache Storage. It seems that something is wrong with my Memcached.
Hope someone here will point out where is wrong in my opration.
Thank you.
I followed this command to install Memcached (from one of those posts on this forum):
Code: Select all
yum install --enablerepo=remi php-pecl-memcache memcached libmemcached -y
Code: Select all
systemctl restart httpd
Code: Select all
systemctl status memcached
If you can not read above message clear, see the screenshot below:● memcached.service - Memcached
Loaded: loaded (/usr/lib/systemd/system/memcached.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2015-12-26 20:42:08 CST; 12h ago
Main PID: 18437 (memcached)
CGroup: /system.slice/memcached.service
└─18437 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024 -l 127.0.0.1
Dec 26 20:42:08 joomlacloud systemd[1]: Started Memcached.
Dec 26 20:42:08 joomlacloud systemd[1]: Starting Memcached...

My question is: Does this means I have installed Memcached correctly? Does this means my Memcached is running properly?
Why there were "diabled" in the status check?
My Joomla caching component JotCache still can not work well if I choose Memcached as its Cache Storage. It seems that something is wrong with my Memcached.
Hope someone here will point out where is wrong in my opration.
Thank you.