当前位置:论坛首页 > Linux面板 > 讨论

Ubuntu 16.04.4 安装 Nginx 和 Apache 失败解决办法

发表在 Linux面板2019-1-10 11:14 [复制链接] 0 1365

日前遇到一次升级,点击升级后一闪而过,提升安装成功实际上 安装失败。
日志提示:

  1. checking for GD library ... not found
  2. checking for GD library in /usr/local/ ... not found
  3. checking for GD library in /usr/pkg/ ... not found
  4. checking for GD library in /opt/local/ ... not found

  5. ./configure: error: the HTTP image filter module requires the GD library.
  6. You can either do not enable the module or install the libraries.

  7. make: *** No rule to make target 'build', needed by 'default'.  Stop.
复制代码


库文件损坏

升级库
  1. sudo apt-get update
复制代码
发现错误
  1. dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
复制代码
崩溃。。

  1. kill PID

  2. ps cax | grep PID

  3. sudo rm/var/lib/dpkg/lock

  4. sudo dpkg --configure -a
复制代码



成功

后台安装Nginx 成功
使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表