openresty官网:http://www.openresty.org/

1.安装依赖包

yum install -y gcc gcc-c++ zlib-devel pcre-devel openssl-devel readline-devel

2.安装openresty

#解压压缩包
tar
-zxvf openresty-1.13.6.2.tar.gz
#编译软件 cd openresty
-1.13.6.2 ./configure --prefix=/data/server/openresty-1.13.6.2 \ --user=www --group=www \ --with-http_ssl_module \ --with-http_flv_module \ --with-http_stub_status_module \ --with-http_gzip_static_module \ --with-pcre \ --with-http_realip_module
#安装软件
gmake && gmake install
#创建软链接
cd /data/server/openresty-1.13.6.2
ln -sf openresty-1.13.6.2 openresty

 

  

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-04-10
  • 2021-06-25
  • 2021-10-03
  • 2021-08-09
  • 2021-11-28
猜你喜欢
  • 2021-10-13
  • 2021-05-19
  • 2021-12-10
  • 2021-12-04
  • 2021-06-16
  • 2022-12-23
相关资源
相似解决方案