问题和原因:

Select php version:
	1 php-5.2.17 (default)
	2 php-5.3.27
Please Input 1,2: 1
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.linode.com
* extras: mirrors.linode.com
* rpmforge: mirror.webnx.com
* updates: mirrors.linode.com
Setting up Install Process
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
Nothing to do
----  https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
Resolving github.com... 
Connecting to github.com|... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cloud.github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz [following]
--2014-06-26 09:05:31--  https://cloud.github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
Resolving cloud.github.com... 54.230.142.83, 205.251.215.123, 54.230.143.249, ...
Connecting to cloud.github.com|54.230.142.83|:443... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.
--2014-06-26 09:05:31--  http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
Resolving memcached.googlecode.com... 2607:f8b0:400e:c04::52, 74.125.28.82
Connecting to memcached.googlecode.com|2607:f8b0:400e:c04::52|:80... connected.
HTTP request sent, awaiting response... 200 OK
	The file is already fully retrieved; nothing to do.
--2014-06-26 09:05:31--  http://pecl.php.net/get/memcache-2.2.7.tgz
Resolving pecl.php.net... 76.75.200.106
Connecting to pecl.php.net|76.75.200.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
	The file is already fully retrieved; nothing to do.
tar: libevent-1.4.14b-stable.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
memcached_ins.sh: line 35: cd: libevent-1.4.14b-stable: No such file or directory
memcached_ins.sh: line 36: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

1.卸载云锁

/usr/local/yunsuo_agent/uninstall

2.Memcache的安装

wget -c http://down.wdlinux.cn/in/memcached_ins.sh

3.编辑安装文件

vi memcached_ins.sh

vi的操作方法是先按insert键,然后通过键盘操作把下面相关地址换掉

修改完成后,按esc键退出,按:键,输入wq退出

4.安装

sh memcached_ins.sh

5.服务启动或停止

service memcached start|stop|restart

 

2017年5月24日