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

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

    评论

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样