How to install Memcached on CentOS?
Memcached is very fast caching system for MySQL. It is a distributed, high-performance, in-memory caching system that is primarily used to speed up sites that make heavy use of databases.Steps -1. Firstly clean-up yum -
yum clean all
2. Update the packages -
yum -y update
3. Install memcached and it's related packages -
yum -y install memcachedOnce done with installation we can proceed with the configuration -1. You can fire below command to check the information of memcached command -
memcached -h2. Configuration file path is as follow -
/etc/sysconfig/memcachedMemcached will start on port 11211 by default as per the default configuration file as follow -
CACHESIZE=”64″If you want to edit the any value in file memcached file then follow below steps -
Update the value which you'd like to update and save the configuration file.3. Restart the memcached service -
service memcached restart4. Start the web server. For Apache web server fire below command -
service httpd restart5. Check the status of memcached -
service memcached status6. Stop memcached service -
service memcached stopAll done.
Was this answer helpful?
Let's make a quick start by looking at the various commands to get files and folders from a...
If you don't want to setup to a full monitoring solution such as Nagios you can create your own...
Steps to update the MySQL Password - 1. First stop MySQL service by following command....
Node means Server and JS means Java Script so in simple words Node.js is a Server Side Java...
phpMyAdmin used to provide graphical user interface for your databases. Accessing or performing...
Powered by WHMCompleteSolution