系统相关
首页 > 系统相关> > 我如何弄清楚我的AMazon Linux发行版所基于的CentOS版本?

我如何弄清楚我的AMazon Linux发行版所基于的CentOS版本?

作者:互联网

我被告知我们最近创建了一个新的Amazon Linux实例,其中包含最新最好的版本(2017.3-01版).我试图找出它是否基于CentOS 7(因为这是唯一支持安装Google Chrome的版本).我跑了

[davea@mymachine ~]$uname -a
Linux mymachine 4.9.32-15.41.amzn1.x86_64 #1 SMP Thu Jun 22 06:20:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

但我还是不知道我的Amazon Linux发行版基于什么版本的CentOS.

编辑:根据给出的建议,这里是cat命令的输出

[davea@mymachine ~]$sudo cat /etc/*release*
[sudo] password for davea:
NAME="Amazon Linux AMI"
VERSION="2017.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2017.03"
PRETTY_NAME="Amazon Linux AMI 2017.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2017.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Amazon Linux AMI release 2017.03
cpe:/o:amazon:linux:2017.03:ga

解决方法:

在服务器故障上发现这个. https://serverfault.com/questions/798427/what-linux-distribution-is-the-amazon-linux-ami-based-on

总结一下:
引自AWS人员:

The Amazon Linux AMI is not based on any one upstream Linux project.
That said, one of the goals of the most current Amazon Linux AMI
(2013.09) is to be as compatible as possible with RHEL 6. If there are
places in which you find that we are not, please let us know so that
we can investigate further.”

标签:linux,version,centos,amazon-linux
来源: https://codeday.me/bug/20190812/1641702.html