ready to work: Open the Putty tool and enter the following command after entering the Linux system login and modify the relevant content Memcache Installation (line-by-row execution):yum-y Install memcached/etc/rc.d/init.d/memcached Startcd/usr/local/src/wget https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz TAR-ZXVF libmemcached-1.0.16.tar.gzCD libmemcached-1.0.16./configure-prefix=/usr/local/libmemcached-with-memcachedMake && make installYum Install Php-develwget http://pecl.php.net/get/memcached-2.1.0.tgz TAR-ZXVF memcached-2.1.0.tgzCD memcached-2.1.0/usr/local/php/bin/phpize./configure-enable-memcached-with-php-config=/usr/local/php/bin/php-config-with-zlib-dir- With-libmemcached-dir=/usr/local/libmemcached-prefix=/usr/local/phpmemcachedMake && make installVi/usr/local/php/lib/php.ini/usr/local/nginx/sbin/nginx-s Reload/etc/init.d/php-fpm RestartWindowsinstallation under SystemMemcacheExtended:: http://windows.php.net/downloads/pecl/releases/Unzip to findPhp_memcache.dllcopy and paste the file intoC:\wamp\bin\php\php5.4.3\extunder; Modify C:\wamp\bin\apache\apache2.2.22\binunder theInifile Extension=php_memcache.dll;
Redisinstallation (line-by-row execution):
Yum install TCL cd/usr/local/src wgethttp://download.redis.io/redis-stable.tar.gzTar xzvf redis-stable.tar.gz cd redis-stable make make Install/usr/local/src/redis-stable/src/redis-server &Notes):DetectionRedis Service Ps-ef | grep Redis cd/usr/local/src wgethttps://github.com/nicolasff/phpredis/archive/2.2.4.tar.gzTAR-ZXVF 2.2.4.tar.gz cd phpredis-2.2.4//usr/local/php/bin/phpize./configure--with-php-config=/usr/local/php/bin/ Php-config make && make install Vi/usr/local/php/lib/php.iniNotes):add a new extensionRedis.so/usr/local/nginx/sbin/nginx-s reload/etc/init.d/php-fpm Restart Windowsinstallation under SystemRedisExtended:
: http://windows.php.net/downloads/pecl/releases/Unzip to findPhp_redis.dllcopy and paste the file intoC:\wamp\bin\php\php5.4.3\extunder; Modify C:\wamp\bin\apache\apache2.2.22\binunder theInifileExtension=php_redis.dll;
Memcache and Redis Server build-up