Tomcat 发表于 2016-11-22 13:42:56

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

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


# ./install.sh lamp
Unable to get Linux distribution name, or do NOT support the current distribution.
#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

licess 发表于 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
保存,然后再运行安装脚本
页: [1]
查看完整版本: 在亚马逊服务器上安装,出现问题