-----------------------------openresty的安装配置:
yum -y install gcc gcc-c++ autoconf automake
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel
openresty下载地址:
http://openresty.org/en/download.html
docker专用:
https://github.com/openresty/docker-openresty
tar zxvf ...
cd openresty/
./configure --prefix=/export/App/nginx --with-luajit
make && make install
cd /usr/local/openresty/nginx
./sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
---------------------------#系统内核优化
http://blog.youkuaiyun.com/chenleixing/article/details/46906305