CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了无法在Centos 7(64位)上使用epel repo安装nginx大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我刚刚构建了一个64位的Centos服务器,我正在尝试在其上安装NGINX.使用epel 7(beta)repo我在尝试安装时遇到以下错误: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.as29550.net * epel: mirror.vorboss.net
我刚刚构建了一个64位的Centos服务器,我正在尝试在其上安装Nginx.使用epel 7(beta)repo我在尝试安装时遇到以下错误
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.as29550.net
 * epel: mirror.vorboss.net
 * extras: centos.hyve.com
 * updates: centos.mirroring.pulsant.co.uk
Resolving Dependencies
--> Running transaction check
---> Package Nginx.x86_64 0:1.0.15-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package: Nginx-1.0.15-5.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: Nginx-1.0.15-5.el6.x86_64
--> Finished Dependency Resolution
Error: Package: Nginx-1.0.15-5.el6.x86_64 (epel)
           Requires: libpcre.so.0()(64bit)
Error: Package: Nginx-1.0.15-5.el6.x86_64 (epel)
           Requires: perl(:MODULE_COMPAT_5.10.1)
 You Could try using --skip-broken to work around the problem
 You Could try running: rpm -Va --nofiles --nodigest

有没有人成功通过yum安装Nginx

我建议添加Nginx repo
sudo rpm -Uvh http://Nginx.org/packages/centos/7/noarch/RPMS/Nginx-release-centos-7-0.el7.ngx.noarch.rpm

这应该可以解决你的问题.

干杯.

大佬总结

以上是大佬教程为你收集整理的无法在Centos 7(64位)上使用epel repo安装nginx全部内容,希望文章能够帮你解决无法在Centos 7(64位)上使用epel repo安装nginx所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: