quweiie 发表于 2024-12-11 15:15:54

【待反馈】centOS stream 9 宝塔安装nginx1.26,安装失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.3
系统版本:centOS stream 9
问题描述:nginx1.26安装包下载不完整,安装失败
相关截图(日志、错误):

堡塔运维南一 发表于 2024-12-11 15:57:50

您好,请您将安装报错的截图发出来看看

quweiie 发表于 2024-12-11 19:56:03

cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
| ^~~~~~~
compilation terminated.
make: *** Error 1
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
| ^~~~~~~
compilation terminated.
make: *** Error 1
--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:04 ERROR 404: Not Found.

--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz.256sum
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:04 ERROR 404: Not Found.

sha256sum: el-9-nginx-1.26.2.tar.gz.256sum: no properly formatted SHA256 checksum lines found
--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:05 ERROR 404: Not Found.

sha256sum: el-9-nginx-1.26.2.tar.gz.256sum: no properly formatted SHA256 checksum lines found
CentOS Stream release 9
Bit:64 Mem:31475M Core:56 gcc:11.5.0 cmake:3.26.5
Linux 5.14.0-539.el9.x86_64 x86_64
nginx-1.26安装包下载不完整,安装失败!
请尝试使用编译安装重新安装nginx
或截图以上报错信息发帖至论坛www.bt.cn/bbs求助
|-Successify --- 命令已执行! ---

quweiie 发表于 2024-12-11 20:01:30

堡塔运维南一 发表于 2024-12-11 15:57
您好,请您将安装报错的截图发出来看看

cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
| ^~~~~~~
compilation terminated.
make: *** Error 1
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
| ^~~~~~~
compilation terminated.
make: *** Error 1
--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:04 ERROR 404: Not Found.

--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz.256sum
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:04 ERROR 404: Not Found.

sha256sum: el-9-nginx-1.26.2.tar.gz.256sum: no properly formatted SHA256 checksum lines found
--2024-12-11 15:09:04-- https://dg2.bt.cn/soft/nginx/el-9-nginx-1.26.2.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 211.99.98.159, 240e:97e:4000:33f:103:212:48:148
Connecting to dg2.bt.cn (dg2.bt.cn)|211.99.98.159|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-11 15:09:05 ERROR 404: Not Found.

sha256sum: el-9-nginx-1.26.2.tar.gz.256sum: no properly formatted SHA256 checksum lines found
CentOS Stream release 9
Bit:64 Mem:31475M Core:56 gcc:11.5.0 cmake:3.26.5
Linux 5.14.0-539.el9.x86_64 x86_64
nginx-1.26安装包下载不完整,安装失败!
请尝试使用编译安装重新安装nginx
或截图以上报错信息发帖至论坛www.bt.cn/bbs求助
|-Successify --- 命令已执行! ---
页: [1]
查看完整版本: 【待反馈】centOS stream 9 宝塔安装nginx1.26,安装失败