Install and configure Memcached source code in CentOS 6.6
Host environment: CentOS 6.6 x86_64
1. Install Memcached
1. Because Memcached depends on the libevent library and uses it for Socket processing, we need to install the libevent library. Here
Let's take a look at this article and repost it from nginx.cn.
Nginx itself cannot process PHP. It is only a Web server. After receiving the request, if it is a PHP request, it is sent to the PHP interpreter for processing and the result is
Install memcached in linux, linuxmemcachedSystem image and environment requirements:
1) For windows series and developer-related tutorials, refer to section 1.0 to start installation steps.
2) For Centos 6 series and Aliyun Linux 6 series and later
Centos system install memcached extension for php 1. install memcached through yum
Yum-y install memcached
# Run the following command after installation:
# The memcached help message indicates that the installation is successful.
Download memadmin,:http://www.junopen.com/memadmin/and create a new site in IIS. Test address: Http://wap.yousawang.com/mem,1. Restart ApacheService httpd Restrat/ETC/INIT.D/HTTPD stop/ETC/INIT.D/HTTPD start2. Restart MySQLService mysqld Restart/etc/
System mirroring and environmental requirements:1) for the Windows Series version and developers of the relevant tutorials, please refer to this Article 1.0 start the installation steps2) for Centos 6 series and Aliyun Linux 6 series, please refer
Install memcached on centos
1. Install libevent
Install libevent before installing memcached.
Wgethttp: // sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz
Tar zxvf libevent-2.0.22-stable.tar.gz
: This article mainly introduces how to build the Nginx + Tomcat + Memcached server load balancer cluster service. For more information about PHP tutorials, see.
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/4
Install, configure, and monitor Memcached
Memcached is a distributed object Cache System Based on key => value. Although redis is relatively powerful, Memcached still has advantages in some scenarios, such as database cache.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.