Linux yum 安装 OpenResty
OpenResty yum Linux About 1,465 words下载镜像
wget https://mirrors.tuna.tsinghua.edu.cn/openresty/centos/7/x86_64/openresty-1.19.3.1-1.el7.x86_64.rpm
wget https://mirrors.tuna.tsinghua.edu.cn/openresty/centos/7/x86_64/openresty-openssl111-1.1.1i-1.el7.x86_64.rpm
wget https://mirrors.tuna.tsinghua.edu.cn/openresty/centos/7/x86_64/openresty-pcre-8.44-1.el7.x86_64.rpm
wget https://mirrors.tuna.tsinghua.edu.cn/openresty/centos/7/x86_64/openresty-zlib-1.2.11-3.el7.centos.x86_64.rpm
安装镜像
sudo yum install openresty-*.rpm
可能出现的错误
Determining fastest mirrors
--> Processing Dependency: openresty-openssl111 >= 1.1.1h-1 for package: openresty-1.19.3.1-1.el7.x86_64
--> Processing Dependency: openresty-pcre >= 8.44-1 for package: openresty-1.19.3.1-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: openresty-1.19.3.1-1.el7.x86_64 (/openresty-1.19.3.1-1.el7.x86_64)
Requires: openresty-openssl111 >= 1.1.1h-1
Error: Package: openresty-1.19.3.1-1.el7.x86_64 (/openresty-1.19.3.1-1.el7.x86_64)
Requires: openresty-zlib >= 1.2.11-3
Error: Package: openresty-1.19.3.1-1.el7.x86_64 (/openresty-1.19.3.1-1.el7.x86_64)
Requires: openresty-pcre >= 8.44-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
原因
需要安装openresty-openssl111
、openresty-zlib
、openresty-pcre
指定版本。
参考地址
http://openresty.org/en/linux-packages.html#centos
更多版本镜像下载地址
Views: 3,273 · Posted: 2021-05-03
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...