如何确认RedHat Enterprise Linux版本? [英] How to confirm RedHat Enterprise Linux version?

查看:181
本文介绍了如何确认RedHat Enterprise Linux版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我从DVD(RedHat/5.1.x86_64)安装了RHEL 5.1,但发出命令时却感到困惑:

I am a bit confused by the fact that although I installed RHEL 5.1 from DVD (RedHat/5.1.x86_64), when I issue command:

cat /etc/redhat-release

我得到了:

Red Hat Enterprise Linux Server release 5.5 (Tikanga)

这是什么意思?这是发行版本还是内核版本?还有另一种方法可以确认RHEL的真实版本吗?

What does this mean? is this to be the release version or kernel version? Is there another way to confirm the real version of RHEL?

我问这个问题是因为某些应用程序将依赖于此.

I am asking this question because there will be certain applications that would depend on this.

非常感谢.

推荐答案

我假设您已经运行yum upgrade.通常,这会将您更新到最新的次要版本.

I assume that you've run yum upgrade. That will in general update you to the newest minor release.

确定版本的主要资源是/etc/redhat_releaselsb_release -a

Your main resources for determining the version are /etc/redhat_release and lsb_release -a

这篇关于如何确认RedHat Enterprise Linux版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆