Linux yum 安装 OpenResty
OpenResty yum Linux 大约 1465 字下载镜像
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
更多版本镜像下载地址
阅读 1910 · 发布于 2021-05-03
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
数据结构:稀疏数组阅读 789
-
Docker 部署 Alertmanager阅读 2714
-
Linux 使用 dd 查看日志增长速度、方法每秒执行次数阅读 340
-
Nginx 配置之解决 413 错误(Request Entity Too Large)阅读 5133
-
Java 使用 FutureTask 解决缓存击穿(缓存踩踏)问题阅读 2656
-
GoJS 右键菜单隐藏和显示事件监听阅读 1384
-
Linux 文件删除后未释放空间解决办法阅读 1663
-
Android 揭露效果 Reveal Effect阅读 1875
-
走进 Rust:Vector 集合阅读 1332
-
OpenResty 中使用 lua-resty-woothee 解析 User-Agent阅读 4087