VPS侦探论坛

 找回密码
 注册
查看: 3465|回复: 2

Lamp1.5在CentOS7.6安装失败(64位win7 VMware® Workstation 14 Pro 14.1.3 build-9474260)

[复制链接]
发表于 2019-1-2 16:34:28 | 显示全部楼层 |阅读模式

Lamp1.5在CentOS7.6安装失败(64位win7 VMware® Workstation 14 Pro  14.1.3 build-9474260)

============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Add Startup and Starting LAMP...
Add httpd service at system startup...
start apache... /etc/init.d/httpd: line 87: /usr/local/apache/bin/httpd: No such file or directory
failed
Add mysql service at system startup...
Starting MySQL.. SUCCESS!
Error: Apache install failed.
MySQL: OK
Error: PHP 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.


谢谢回答。

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-1-2 17:12:32 | 显示全部楼层


--2019-01-02 16:03:07--  https://soft.vpser.net/web/apache/httpd-2.2.34.tar.bz2
Resolving soft.vpser.net (soft.vpser.net)... 115.231.235.5
Connecting to soft.vpser.net (soft.vpser.net)|115.231.235.5|:443... failed: Connection refused.

有部分文件没有下载下来,另外不要在新系统上安装低版本php
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-1-3 10:37:00 | 显示全部楼层

我找到的安装失败原因


在CentOS7.6 min下,就可以安装成功。前提是要安装几个命令,yum install screen,WGET,原因是安装CentOS是选择的是基础服务器版安装,有的组件与LAMP有冲突。分享给大家。
|  Prober:  http://IP/p.php                                              |
+------------------------------------------------------------------------+
|  Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|  Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|  MySQL/MariaDB root password: 123456                          |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Apache is running.
SUCCESS! MySQL running (100333)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
Install lnmp takes 11 minutes.
Install lnmp V1.5 completed! enjoy it.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-19 21:44 , Processed in 0.028522 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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