一、安装gcc# yum -y install gcc二、安装libevent# wget http://www.monkey.org/~provos/libevent-2.0.12-stable.tar.gz# tar zxf libevent-2.0.12-stable.tar.gz # cd libevent-2.0.12-stable#./configure --prefix=/usr/local/lib# make && make install三、安装make# yum -y install make四、下载安装最新版本:http://memcached.org/downloads# wget http://memcached.org/files/memcached-1.4.20.tar.gz# cd memcached-1.4.20#./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/lib && make && make ins......
2015-11-15 21:54:26
一、下载pcre官网下载:http://www.pcre.org/# wget http://sourceforge.net/projects/pcre/files/pcre/8.35/pcre-8.35.tar.gz/download# cd /pcre-8.35二、下载purge模块(用于删除Nginx缓存)# wget http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz# tar zxvf ngx_cache_purge-2.1.tar.gz 三、安装zlib# wget http://prdownloads.sourceforge.net/libpng/zlib-1.2.8.tar.gz?download# tar zxvf zlib-1.2.8.tar.gz# cd zlib-1.2.8# ./configure --prefix=/usr/local/zlib# make && make install四、安装openssl# ......
2015-11-15 21:54:07
JDU:/host-001e67a8d50b /log/today # inotifywait -hinotifywait 3.14Wait for a particular event on a file or set of files.Usage: inotifywait [ options ] file1 [ file2 ] [ file3 ] [ ... ]Options: -h|--help Show this help text. @<file> Exclude the specified file from being watched. --exclude <pattern> Exclude all events on files matching the extended regular expression <pattern>. --excludei <pattern> Like --exclude but case insensitive. -m|--monitor Keep listening for events forever. Witho......
2015-11-10 11:58:22