我曾经用这种方式识别已安装的RHEL OS版本是“服务器”还是“工作站”:
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
现在,对于RHEL8,我有了以下输出:
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 (Ootpa)
看来我没有机会了解服务器/工作站的详细信息。这怎麽可能?我怎么才能从里面得到我需要的信息?
我已经部署为VM,并希望确定它是服务器还是工作站。命令
我正在运行以下命令以找到答案:
$ cat /etc/rhel-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
$ rpm -q --whatprovides /etc/redhat-release
redhat-release-8.2-1.0.el8.x86_64
$ uname -as
Linux opus-c-master 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86
请描述您的问题
标题:腾讯云云产品新购特惠,五折上云!
地址:https://cloud.tencent.com/act/first_purchase?utm_source=portal&utm_medium=cdb&utm_campaign=firstpurchase&utm_term=0110
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
请描述您的问题
标题:腾讯云云产品新购特惠,五折上云!
地址:https://cloud.tencent.com/act/first_purchase?utm_source=portal&utm_medium=cdb&utm_campaign=firstpurchase&utm_term=0110
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0