配置yum工具
安装镜像
命令:yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
安装OpenResty
命令:yum install openresty -y
查看安装的组件
命令:rpm -qa openresty*
查看安装的路径
命令:rpm -ql openresty
配置yum工具
安装镜像
命令:yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
安装OpenResty
命令:yum install openresty -y
查看安装的组件
命令:rpm -qa openresty*
查看安装的路径
命令:rpm -ql openresty