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
更多版本镜像下载地址
阅读 2766 · 发布于 2021-05-03
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓
昵称:
随便看看
换一批
-
Android 调节手机亮度阅读 5305
-
PostgreSQL duplicate key violates unique constraint阅读 2138
-
Spring Boot 设置静态资源压缩阅读 428
-
Java 并发编程之 AQS CyclicBarrier 源码解析阅读 1474
-
软考-系统架构设计师:存储管理-页面置换算法阅读 1907
-
OpenResty 常用 HTTP 请求 API阅读 5658
-
JDK 1.7 HashMap 源码分析阅读 2212
-
Linux 网络状态工具 ss,代替 netstat阅读 14505
-
CentOS 网卡配置多个 IP 地址阅读 1253
-
Java 中 Thread 的 join 方法阅读 2111