Linux Deploy安装nginx出错,目录找不到?

有台旧手机,看到一些旧手机利用教程,打算刷个CentOS,然后再刷一些H5游戏一键脚本,测试下游戏,顺便熟悉一下这系统。

现在用了某个一键脚本,卡在nginx安装这里,好像找不到目录,自己尝试新建目录,好像也不行。

SH文件
ltcq.sh(86.92 KB)



--2021-06-28 21:42:41--  http://103.224.251.67:5880/rpm/centos7/64/nginx-1.10.2.rpm
正在连接 103.224.251.67:5880... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2299796 (2.2M) [application/x-redhat-package-manager]
正在保存至: “nginx-1.10.2.rpm”

100%[==============================================================================>] 2,299,796   1.66MB/s 用时 1.3s   

2021-06-28 21:42:43 (1.66 MB/s) - 已保存 “nginx-1.10.2.rpm” [2299796/2299796])

准备中...                          ################################# [100%]
        软件包 nginx-1.10.2-1.el7.centos.x86_64 是针对 different 构架的
/www/server/nginx/conf/nginx.conf: 没有那个文件或目录
/www/server/nginx/conf/pathinfo.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-52.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-53.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-54.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-55.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-56.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-70.conf: 没有那个文件或目录
/www/server/nginx/conf/enable-php-71.conf: 没有那个文件或目录
ln: 无法创建符号链接"/lib64/libpcre.so.1": 文件已存在
ln: 无法创建符号链接"/lib/libpcre.so.1": 文件已存在
/www/server/nginx/html/index.html: 没有那个文件或目录
--2021-06-28 21:42:43--  http://103.224.251.67:5880/init/nginx.init
正在连接 103.224.251.67:5880... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2753 (2.7K) [application/octet-stream]
正在保存至: “/etc/init.d/nginx”

100%[==============================================================================>] 2,753       --.-K/s 用时 0s      

2021-06-28 21:42:43 (32.5 MB/s) - 已保存 “/etc/init.d/nginx” [2753/2753])

Running in chroot, ignoring request.
Starting nginx... /etc/init.d/nginx: line 38: /www/server/nginx/sbin/nginx: No such file or directory
 failed
========================================================
ERROR: nginx-1.10.2 installation failed.
回复列表(1|隐藏机器人聊天)
添加新回复
回复需要登录