VPS侦探论坛

 找回密码
 注册
查看: 3303|回复: 1

在亚马逊服务器上安装,出现问题

[复制链接]
发表于 2016-11-22 13:42:56 | 显示全部楼层 |阅读模式

在安装软件的时候,出现以下错误,该怎么解决啊    谢谢


[root@ip- lnmp1.3-full]# ./install.sh lamp
Unable to get Linux distribution name, or do NOT support the current distribution.
[root@ip-lnmp1.3-full]#  cat /proc/version
Linux version 4.4.23-31.54.amzn1.x86_64 (mockbuild@gobi-build-64012) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Tue Oct 18 22:02:09 UTC 2016
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-11-22 16:35:35 | 显示全部楼层



cat /etc/issue
cat /etc/*-release
看一下

如果是Amazon Linux AMI的话可以先临时把 include/main.sh里的
elif grep -Eqi "Aliyun" /etc/issue || grep -Eq "Aliyun" /etc/*-release; then 替换为 elif grep -Eqi "Amazon Linux AMI" /etc/issue || grep -Eq "Amazon Linux AMI" /etc/*-release; then
保存,然后再运行安装脚本
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-28 11:21 , Processed in 0.025041 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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