VPS侦探论坛

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

lnmp安装失败

[复制链接]
发表于 2020-1-3 10:24:19 | 显示全部楼层 |阅读模式

Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
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
发表于 2020-1-3 15:22:38 | 显示全部楼层


已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirror.bit.edu.cn
软件包 gcc-4.8.5-39.el7.x86_64 已安装并且是最新版本
无须任何处理
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirror.bit.edu.cn
软件包 gcc-c++-4.8.5-39.el7.x86_64 已安装并且是最新版本
......
......
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
....
./configure: error: C compiler cc is not found

gcc、gcc-c++等包按提示已经安装好,但是文件却不存在,有可能安装了被删掉或者系统有问题
被删掉的话可以尝试 yum reinstall gcc gcc-c++ ,然后 c++ --version 看是否返回版本信息,没返回就是不想,只能更换其他系统或版本试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-1-3 11:30:04 | 显示全部楼层

最终还是选择lnmp1.6版本
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 01:39 , Processed in 0.026231 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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