无法在Centos 7(64位)上使用epel repo安装nginx

前端之家收集整理的这篇文章主要介绍了无法在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
 * 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

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

干杯.

原文链接:https://www.f2er.com/centos/373725.html

猜你在找的CentOS相关文章