爱吃鱼油 2016-08-31 11:03 采纳率: 0%
浏览 5364

Linux下 rpm安装nginx

]$ sudo yum install nginx
Loaded plugins: fastestmirror
nginx | 2.9 kB 00:00:00

nginx/x86_64/primary_db | 15 kB 00:00:00

Loading mirror speeds from cached hostfile

  • base: mirrors.163.com
  • extras: mirrors.sina.cn
  • updates: centos.ustc.edu.cn Resolving Dependencies --> Running transaction check ---> Package nginx.x86_64 0:1.10.1-1.el6.ngx will be installed --> Processing Dependency: libpcre.so.0()(64bit) for package: nginx-1.10.1-1.el6.ngx.x86_64 --> Finished Dependency Resolution Error: Package: nginx-1.10.1-1.el6.ngx.x86_64 (nginx) Requires: libpcre.so.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
  • 写回答

3条回答 默认 最新

  • oyljerry 2016-08-31 14:52
    关注

    你需要先安装libpcre库 然后再配置安装nginx

    评论

报告相同问题?