Ubuntu 24.10 aapanel nginx not installed
` creating: ngx_http_substitutions_filter_module-master/util/
inflating: ngx_http_substitutions_filter_module-master/util/update-readme.sh
inflating: ngx_http_substitutions_filter_module-master/util/wiki2google_code_homepage.pl
inflating: ngx_http_substitutions_filter_module-master/util/wiki2pod.pl
cat: /www/server/panel/install/nginx/config.pl: No such file or directory
checking for OS
- Linux 6.11.0-19-generic x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
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
Ubuntu 24.10
\l
Bit:64 Mem:11675M Core:6 gcc: cmake:
Linux 6.11.0-19-generic x86_64
ERROR: nginx-1.24.0 installation failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
cat: /etc/redhat-release: No such file or directory
lua-resty-core-0.1.26.zip: No such file or directory
unzip: cannot find or open lua-resty-core-0.1.26.zip, lua-resty-core-0.1.26.zip.zip or lua-resty-core-0.1.26.zip.ZIP.
nginx.sh: line 596: cd: lua-resty-core-0.1.26: No such file or directory
make: getcwd: No such file or directory
make: *** No rule to make target 'install'. Stop.
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
lua-resty-lrucache-0.13.zip: No such file or directory
unzip: cannot find or open lua-resty-lrucache-0.13.zip, lua-resty-lrucache-0.13.zip.zip or lua-resty-lrucache-0.13.zip.ZIP.
nginx.sh: line 603: cd: lua-resty-lrucache-0.13: No such file or directory
make: getcwd: No such file or directory
make: *** No rule to make target 'install'. Stop.
cp: cannot stat '/www/server/nginx/sbin/nginx': No such file or directory
chmod: cannot access '/www/backup/nginxBak': No such file or directory
md5sum: /www/server/nginx/sbin/nginx: No such file or directory
nginx.sh: line 616: cd: /www/server/nginx: No such file or directory
--2026-01-25 11:31:04-- https://na1-node.bt.cn/conf/nginx1.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2497 (2.4K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/nginx.conf’
0K .. 100% 1.64G=0s
2026-01-25 11:31:04 (1.64 GB/s) - ‘/www/server/nginx/conf/nginx.conf’ saved [2497/2497]
--2026-01-25 11:31:04-- https://na1-node.bt.cn/conf/pathinfo.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 289 [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/pathinfo.conf’
0K 100% 222M=0s
2026-01-25 11:31:04 (222 MB/s) - ‘/www/server/nginx/conf/pathinfo.conf’ saved [289/289]
--2026-01-25 11:31:04-- https://na1-node.bt.cn/conf/enable-php.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 241 [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php.conf’
0K 100% 121M=0s
2026-01-25 11:31:05 (121 MB/s) - ‘/www/server/nginx/conf/enable-php.conf’ saved [241/241]
/www/server/nginx/html/index.html: No such file or directory
chmod: cannot access '/www/server/nginx/html/': No such file or directory
chmod: cannot access '/www/server/nginx/html/*': No such file or directory
chown: warning: '.' should be ':': ‘www.www’
mv: cannot stat '/www/server/nginx/waf/wafconf': No such file or directory
/www/server/nginx/html/index.html: No such file or directory
chmod: cannot access '/www/server/nginx/html/index.html': No such file or directory
--2026-01-25 11:31:05-- https://na1-node.bt.cn/conf/nginx/en.0.default.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 100 [application/octet-stream]
Saving to: ‘/www/server/panel/vhost/nginx/0.default.conf’
0K 100% 71.1M=0s
2026-01-25 11:31:05 (71.1 MB/s) - ‘/www/server/panel/vhost/nginx/0.default.conf’ saved [100/100]
--2026-01-25 11:31:05-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-52-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-52-wpfastcgi.conf’
0K . 100% 366M=0s
2026-01-25 11:31:06 (366 MB/s) - ‘/www/server/nginx/conf/enable-php-52-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:06-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-53-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-53-wpfastcgi.conf’
0K . 100% 271M=0s
2026-01-25 11:31:06 (271 MB/s) - ‘/www/server/nginx/conf/enable-php-53-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:06-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-54-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-54-wpfastcgi.conf’
0K . 100% 341M=0s
2026-01-25 11:31:06 (341 MB/s) - ‘/www/server/nginx/conf/enable-php-54-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:06-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-55-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-01-25 11:31:07 ERROR 404: Not Found.
--2026-01-25 11:31:07-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-56-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-56-wpfastcgi.conf’
0K . 100% 310M=0s
2026-01-25 11:31:07 (310 MB/s) - ‘/www/server/nginx/conf/enable-php-56-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:07-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-70-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-70-wpfastcgi.conf’
0K . 100% 327M=0s
2026-01-25 11:31:08 (327 MB/s) - ‘/www/server/nginx/conf/enable-php-70-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:08-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-71-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-71-wpfastcgi.conf’
0K . 100% 327M=0s
2026-01-25 11:31:08 (327 MB/s) - ‘/www/server/nginx/conf/enable-php-71-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:08-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-72-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-72-wpfastcgi.conf’
0K . 100% 302M=0s
2026-01-25 11:31:08 (302 MB/s) - ‘/www/server/nginx/conf/enable-php-72-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:08-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-73-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-73-wpfastcgi.conf’
0K . 100% 311M=0s
2026-01-25 11:31:09 (311 MB/s) - ‘/www/server/nginx/conf/enable-php-73-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:09-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-74-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-74-wpfastcgi.conf’
0K . 100% 231M=0s
2026-01-25 11:31:09 (231 MB/s) - ‘/www/server/nginx/conf/enable-php-74-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:09-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-75-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-01-25 11:31:09 ERROR 404: Not Found.
--2026-01-25 11:31:09-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-80-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-80-wpfastcgi.conf’
0K . 100% 303M=0s
2026-01-25 11:31:10 (303 MB/s) - ‘/www/server/nginx/conf/enable-php-80-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:10-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-81-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-81-wpfastcgi.conf’
0K . 100% 329M=0s
2026-01-25 11:31:10 (329 MB/s) - ‘/www/server/nginx/conf/enable-php-81-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:10-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-82-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-82-wpfastcgi.conf’
0K . 100% 229M=0s
2026-01-25 11:31:10 (229 MB/s) - ‘/www/server/nginx/conf/enable-php-82-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:10-- https://na1-node.bt.cn/install/wordpress_conf/nginx/enable-php-83-wpfastcgi.conf
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1327 (1.3K) [application/octet-stream]
Saving to: ‘/www/server/nginx/conf/enable-php-83-wpfastcgi.conf’
0K . 100% 233M=0s
2026-01-25 11:31:11 (233 MB/s) - ‘/www/server/nginx/conf/enable-php-83-wpfastcgi.conf’ saved [1327/1327]
--2026-01-25 11:31:11-- https://na1-node.bt.cn/init/nginx.init
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2939 (2.9K) [application/octet-stream]
Saving to: ‘/etc/init.d/nginx’
0K .. 100% 1.04G=0s
2026-01-25 11:31:11 (1.04 GB/s) - ‘/etc/init.d/nginx’ saved [2939/2939]
--2026-01-25 11:31:11-- https://na1-node.bt.cn/init/124nginx.init
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3744 (3.7K) [application/octet-stream]
Saving to: ‘/etc/init.d/nginx’
0K ... 100% 2.03G=0s
2026-01-25 11:31:11 (2.03 GB/s) - ‘/etc/init.d/nginx’ saved [3744/3744]
Starting nginx... /etc/init.d/nginx: line 55: /www/server/nginx/sbin/nginx: No such file or directory
failed
安装基础网站流量统计程序...
安装基础网站流量统计程序完成
|-Successify --- Command executed! ---
`