centos8上安装openresty
一,openresty的官网地址: http://openresty.org/ 说明:说一下openresty的安装方式: 从openresty的安装目录下,可以看到openresty编译安装了自己作了魔改的几个库: luajit,nginx,openssl,pcre,zlib [root@localhost openresty]# pwd /usr/local/openresty [root@localhost openresty]# ls bin COPYRIGHT luajit lualib nginx openssl pcre site zlib 如果编译源码方式安装,可能会有一些编译参数与二进制版不一致导致openresty的安装/运行中出现bug, 所以除非openresty内置nginx的编译参数不满足需求,否则强烈推荐采用官方打好的二进制包方式安装, 针对centos平台,当然是使用yum 说明:架构森林是一个专注架构的博客,对应的源码可以访问这里获取 https://github.com/liuhongdi/ 二,查看本地centos的版本: [root@localhost lib]# cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 三,安装yum-utils [root@localhost