Nginx(1.11.x)在Amazon Linux上安装新主线版本

时间:2016-07-18 09:44:42

标签: nginx

enter code here我需要在ec2实例上运行的 amazon linux 上安装 nginx最新主线版本1.11.x

我按照nginx官方文档的以下链接安装相同,步骤非常清楚但仍然无法安装在amazon linux上。 我在ec2上的RHEL 7上做了同样的尝试,这完全与链接中给出的步骤完美配合但不是在amazon linux上,下面是我提到的链接做安装过程

https://www.nginx.com/resources/admin-guide/installing-nginx-open-source/

是不是亚马逊linux还没有与nginx更新版本兼容???我可以在aws linux中安装1.8.x版本的nginx而没有已经在amazon存储库中找到的问题。 我尝试访问nginx存储库并安装特定版本但我收到错误,下面是我得到的错误

yum install nginx
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.11.2-1.el7.ngx will be installed
--> Processing Dependency: systemd for package: 1:nginx-1.11.2-     1.el7.ngx.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1:nginx-1.11.2-1.el7.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
       Requires: systemd
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
       Requires: libpcre.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
led by skipping the same 

0 个答案:

没有答案