今天在安装memcached时出现了以下错误(tar: libevent-1.4.14b-stable.tar.gz: Cannot open: No such file or directory),错误如下:
- 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.
- cd /tmp
- wget -c https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
- wget -c http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
- wget -c http://pecl.php.net/get/memcache-2.2.7.tgz
- tar xf libevent-1.4.14b-stable.tar.gz
- cd libevent-1.4.14b-stable
- ./configure –prefix=/usr
- make
- [ $? != 0 ] && exit
- make install
- cd ..
wget -c http://down.wdlinux.cn/in/memcached_ins.sh chmod 755 memcached_ins.sh /memcached_ins.sh之后出现以下页面,就表示安装成功了

wget -c http://down.wdlinux.cn/in/memcached_ins.sh chmod 755 memcached_ins.sh ./memcached_ins.sh服务启动或停止
service memcached start服务停止
service memcached stop服务重启
service memcached restart或在WDCP后台启动也可 mysqli的安装
wget -c http://down.wdlinux.cn/in/mysqli_ins.sh chmod 755 mysqli_ins.sh ./mysqli_ins.shpdo_mysql的安装
wget -c http://down.wdlinux.cn/in/pdo_mysql_ins.sh chmod 755 pdo_mysql_ins.sh ./pdo_mysql_ins.shmysql innodb的安装
wget -c http://down.wdlinux.cn/in/mysql_innodb_ins.sh chmod 755 mysql_innodb_ins.sh ./mysql_innodb_ins.shlibmcrypt的安装
wget -c http://down.wdlinux.cn/in/libmcrypt_ins.sh chmod 755 libmcrypt_ins.sh ./libmcrypt_ins.shphp zip的支持
wget -c http://down.wdlinux.cn/in/zip_ins.sh chmod 755 zip_ins.sh ./zip_ins.sh