VPS侦探论坛

 找回密码
 注册
查看: 3016|回复: 3

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

[复制链接]
发表于 2020-10-28 18:54:02 | 显示全部楼层 |阅读模式

我在虚拟机上安装能正常安装 去生产环境就失败
生成环境系统为 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[root@acmdb lnmp1.6-full]#

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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目录下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-10-29 09:02:19 | 显示全部楼层

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

没有更改啊 默认选择的2
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-10-29 10:31:42 | 显示全部楼层



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

重新下载一下安装包,建议使用1.7
如果本地运营商有缓存的话,在 下载链接后面加上 ?sdf123d
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 08:00 , Processed in 0.026862 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表