Installation configuration of openresty

 

-----------------------------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

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326733370&siteId=291194637