我刚刚构建了一个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
这应该可以解决你的问题.
干杯.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。