1.下载openresty

http://openresty.org/cn/download.html

2.上传解压

rz -E

tar -xzvf openresty-{version}.tar.gz   其中version为下载的版本号

3.进入openresty目录下,编译安装

cd openresty-{version}.tar.gz

./configure   此处可以先使用./configure --help 看下帮助 常用的配置有--prefix 指定路径,--prefix=PATH                      set the installation prefix (default to /usr/local/openresty)

make 编译

make install 安装

编写配置文件,搞定

 

详细的openresty官网都有,仅简单记录下我搭建的操作。

 

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2021-05-08
  • 2021-10-06
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-05-29
相关资源
相似解决方案