author: headsen chen
date : 2019-07-30 15:42:24
#在ubuntu18.04 环境下,openresty的依赖库有:PCRE、OpenSSL、zlib,接下来按如下命令进行安装: 1. 安装依赖 apt-get update apt-get install libpcre3-dev apt-get install openssl apt-get install libssl-dev apt-get install ruby apt-get install zlib1g apt-get install zlib1g.dev 2,下载安装源码包: wget https://openresty.org/download/openresty-1.13.6.2.tar.gz tar xzvf openresty-1.13.6.2.tar.gz cd openresty-1.13.6.2/ ./configure make sudo make install