-----------------------------Openresty installation configuration:
yum -y install gcc gcc-c++ autoconf automake
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel
openresty download address:
http://openresty.org/en/download.html
docker specific:
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
---------------------------#System kernel optimization
http://blog.csdn.net/chenleixing/article/details/46906305