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

【已解答】centos 8.5安装nginx失败

发表在 Linux面板3 小时前 [复制链接] 4 18

Linux centos 8.5  安装nginx 失败


checking for malloc_trim ... found
checking for pipe2 ... found
checking for signalfd ... found
checking for execvpe ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
+ ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module-ng-1.3.0
+ ngx_http_sticky_module was configured
adding module in /www/server/nginx/src/ngx_http_substitutions_filter_module-master
+ ngx_http_subs_filter_module was configured
adding module in /www/server/nginx/src/nginx-dav-ext-module
+ ngx_http_dav_ext_module was configured
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... not found
checking for GD library in /usr/local/ ... not found
checking for GD library in /usr/pkg/ ... not found
checking for GD library in /opt/local/ ... not found
checking for GD library in /opt/homebrew/ ... not found

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

make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
/www/server/panel/install/public.sh: line 157: cmake: command not found
CentOS Linux release 8.5.2111
Bit:64 Mem:1735M Core:2 gcc:8.5.0 cmake:
Linux 4.18.0-348.7.1.el8_5.x86_64 x86_64
使用道具 举报 只看该作者 回复
发表于 3 小时前 | 显示全部楼层
使用道具 举报 回复 支持 反对
发表于 3 小时前 | 显示全部楼层
make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
使用道具 举报 回复 支持 反对
发表于 26 分钟前 | 显示全部楼层
checking for malloc_trim ... found
checking for pipe2 ... found
checking for signalfd ... found
checking for execvpe ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
+ ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module-ng-1.3.0
+ ngx_http_sticky_module was configured
adding module in /www/server/nginx/src/ngx_http_substitutions_filter_module-master
+ ngx_http_subs_filter_module was configured
adding module in /www/server/nginx/src/nginx-dav-ext-module
+ ngx_http_dav_ext_module was configured
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... not found
checking for GD library in /usr/local/ ... not found
checking for GD library in /usr/pkg/ ... not found
checking for GD library in /opt/local/ ... not found
checking for GD library in /opt/homebrew/ ... not found

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

make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
/www/server/panel/install/public.sh: line 157: cmake: command not found
CentOS Linux release 8.5.2111
Bit:64 Mem:1735M Core:2 gcc:8.5.0 cmake:
Linux 4.18.0-348.7.1.el8_5.x86_64 x86_64
使用道具 举报 回复 支持 反对
发表于 3 分钟前 | 显示全部楼层
  1. yum install gd gd-devel cmake -y
复制代码

执行命令重新安装,centos8官方已经停止维护,尽量更换debian12,ubuntu24.04等其他系统
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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