redhat install oneinstack failed

问答中心分类: Linuxredhat install oneinstack failed
Hello World asked 6 年 ago

mysql 和 openssl都安装成功了,我的是red hat ,重新安装了yum,使用的是CentOS6版本的yum。
make[2]: Leaving directory `/home/yanxiaoke/oneinstack/src/openssl-1.1.1a'
make[1]: Leaving directory `/home/yanxiaoke/oneinstack/src/nginx-1.14.2'
make: *** [build] Error 2
[1;31mNginx install failed, Please Contact the author! [0m
/bin/cp: cannot stat `../init.d/Nginx-init-CentOS': No such file or directory
sed: can't read /etc/init.d/nginx: No such file or directory
error reading information on service nginx: No such file or directory
error reading information on service nginx: No such file or directory
mv: cannot stat `/usr/local/nginx/conf/nginx.conf': No such file or directory
/bin/cp: cannot stat `../config/nginx.conf': No such file or directory
grep: /usr/local/nginx/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
include/nginx.sh: line 67: /usr/local/nginx/conf/proxy.conf: No such file or directory
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
/home/yanxiaoke/oneinstack/src /home/yanxiaoke/oneinstack /home/yanxiaoke
nginx: unrecognized service

3 Answers
Hello World answered 6 年 ago

上面那个是第二次安装的错误 第一次出现的错误是 /configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using --without -http_gzip_module option, or install the zlib library into the system, or build the zlib library statically from the source with nginx by using --with-zlib=<path> option. make: *** No rule to make target 'build', needed by 'default'.  Stop. Nginx install failed, Please Contact the author!  我使用yum安装了 zlib library后,再次./install.sh后,就出现了标题中的错误

oneinstack answered 6 年 ago
yum 源没配置好,依赖没安装好。

Hello World answered 6 年 ago
确实是依赖问题!终于解决了