如何判断我拥有的是 Red Hat Server 还是 Workstation?我知道我的 redhat 版本信息位于 /etc/redhat-release 中。
Red Hat Enterprise Linux Client release 5.9 (Tikanga)
我需要订购更新的订阅,但不知道是否需要 Workstation 5。
答案1
您可以通过查看 /etc/redhat-release 来判断。以下是它们在每个系统上的外观:
Workstation:
/etc/redhat-release
Red Hat Enterprise Linux Workstation release 6.2 Beta
Client:
/etc/redhat-release
Red Hat Enterprise Linux Client release 5.9 (Tikanga)
Server:
/etc/redhat-release
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
答案2
您正在运行工作站,服务器版本显示“Red Hat Enterprise Linux Server in /etc/redhat-release
.
[root@archiware ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
你也可以尝试跑步rpm -q --whatprovides /etc/redhat-release
。
[root@archiware ~]# rpm -q --whatprovides /etc/redhat-release
redhat-release-server-6Server-6.5.0.1.el6.x86_64