zhang_TCmalloc 发表于 2019-1-2 16:34:28

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

Lamp1.5在CentOS7.6安装失败(64位win7 VMware® Workstation 14 Pro14.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.


谢谢回答。

licess 发表于 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

zhang_TCmalloc 发表于 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.
页: [1]
查看完整版本: Lamp1.5在CentOS7.6安装失败(64位win7 VMware® Workstation 14 Pro 14.1.3 build-9474260)