gaohj 发表于 2020-10-28 18:54:02

军哥,帮忙看下哪里出问题了,安装lnmp1.6失败

我在虚拟机上安装能正常安装 去生产环境就失败
生成环境系统为 redhat7 无外网
RHELRepo=local CheckMirror=n ./install.sh lnmpa日志过长将安装mysql的删除了一部分


============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
软件包 iptables-services-1.4.21-34.el7.x86_64 已安装并且是最新版本
无须任何处理
iptables: Saving firewall rules to /etc/sysconfig/iptables: [确定]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
服务 iptables 信息读取出错:没有那个文件或目录
注意:正在将请求转发到“systemctl enable iptables.service”。
Add Startup and Starting LNMPA...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
Starting MySQL. SUCCESS!
Add httpd service at system startup...
start apache... /etc/init.d/httpd:行87: /usr/local/apache/bin/httpd: 没有那个文件或目录
failed
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Error: Apache install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
^C#

licess 发表于 2020-10-28 19:55:09

tar (child): httpd-2.4.41.tar.bz2:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
lnmp 1.6自带的apache是2.4.39,你自己更改了apache版本?你自己更改了版本需要自己下载好你指定的版本指定格式的源码包到安装包src目录下

gaohj 发表于 2020-10-29 09:02:19

licess 发表于 2020-10-28 19:55
lnmp 1.6自带的apache是2.4.39,你自己更改了apache版本?你自己更改了版本需要自己下载好你指定的版本指 ...

没有更改啊 默认选择的2

licess 发表于 2020-10-29 10:31:42

gaohj 发表于 2020-10-29 09:02
没有更改啊 默认选择的2

重新下载一下安装包,建议使用1.7
如果本地运营商有缓存的话,在 下载链接后面加上 ?sdf123d
页: [1]
查看完整版本: 军哥,帮忙看下哪里出问题了,安装lnmp1.6失败