如何在AWS EC2 Red Hat 7.3.1-5中安装Nginx时修复错误

时间:2018-12-10 22:50:13

标签: nginx amazon-ec2 redhat rpm yum

我正在尝试在aws EC2中安装nginx,但是找不到某些相关的库。我在rpmfinder中搜索了与Red Hat 7兼容的缺少.so兼容的rpm,但没有运气。我如何摆脱这个问题?非常感谢您的帮助。谢谢!!!

**cat /proc/version** 
Linux version 4.14.77-81.59.amzn2.x86_64 (mockbuild@ip-10-0-1-59) (gcc     version 7.3.1 20180303 (**Red Hat 7.3.1-5**) (GCC)) #1 SMP Mon Nov 12 21:32:48 UTC 2018

**sudo yum install nginx**

Error: Package: 1:nginx-mod-http-xslt-filter-1.12.2-1.amzn2.0.3.x86_64 
(amzn2extra-nginx1.12)
Requires: libxslt.so.1(LIBXML2_1.0.18)(64bit)
Error: Package: 1:nginx-1.12.2-1.amzn2.0.3.x86_64 (amzn2extra-    nginx1.12)
Requires: libprofiler.so.0()(64bit)
Error: Package: 1:nginx-mod-http-image-filter-1.12.2-1.amzn2.0.3.x86_64     (amzn2extra-nginx1.12)
Requires: libgd.so.2()(64bit)
Error: Package: 1:nginx-mod-http-xslt-filter-1.12.2-1.amzn2.0.3.x86_64 (amzn2extra-nginx1.12)
Requires: libxslt.so.1()(64bit)
Error: Package: 1:nginx-mod-http-image-filter-1.12.2-1.amzn2.0.3.x86_64 (amzn2extra-nginx1.12)
Requires: gd
Error: Package: 1:nginx-mod-http-xslt-filter-1.12.2-1.amzn2.0.3.x86_64 (amzn2extra-nginx1.12)
Requires: libexslt.so.0()(64bit)
Error: Package: 1:nginx-mod-http-xslt-filter-1.12.2-1.amzn2.0.3.x86_64 (amzn2extra-nginx1.12)
Requires: libxslt.so.1(LIBXML2_1.0.11)(64bit)

0 个答案:

没有答案