源代码编译安装

# 下载源代码安装包
• wget https://openresty.org/download/openresty-1.15.8.1.tar.gz
• tar -zxf openresty-VERSION.tar.gz
• cd openresty-VERSION/ 
• ./configure --prefix=/usr/local/openresty
• make -j2 
• make install

 

需要gcc ,可通过yum 安装

 

posted @ 2020-04-06 07:45  后山前堂客  阅读(105)  评论(0)    收藏  举报