วิธีการดู Version ของ Red Hat Enterprise Linux, Centos Linux สามารถทได้ 2 วิธีด้วยกัน คือ
- ดู version ที่ไฟล์ /etc/redhat-release
# cat /etc/redhat-release
CentOS release 5.2 (Final) //หมายถึงเป็น Centos Version 5 release 2
- ดู version ด้วยการใช้คำสั่ง uname
uname -a
Linux tum.ezylinux.com 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:19:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
วิธีที่ 2. ระบบจะไม่ได้บอก version แต่เราจะดูที่ kernel แทนว่าเป็น kernel version อะไรเพราะว่า kernel ของ Red Hat และ Centos จะเป็นเวอร์ชั่นที่แน่นอนในแต่ละ release คือ
Red Hat Enterprise, Centos version 3 จะใช้ kernel version 2.4.21-*
Red Hat Enterprise, Centos version 4 จะใช้ kernel version 2.6.9-*
Red Hat Enterprise, Centos version 5 จะใช้ kernel version 2.6.18-*
Related posts:
- วิธีดู version ของ SUSE Linux Enterprise และ Open Enterprise Server for Linux ในการดู version ของ SUSE Linux Enterprise และ Open Enterprise Server for Linux นั้นเราจะใช้คำสั่ง `uname -r` ใช้สำหรับดู kernel version เพื่อไปเปรียบเทียบกับ...
- How to Disable Firewall on Red Hat Enterprise Linux, Centos Firewall ของ Red Hat Enterprise จะใช้ iptables ซึ่งก็เหมือนๆกับ Linux ค่ายอื่นๆ ไม่ว่าจะเป็น Centos, Debian, Suse, หรือ Ubuntu ต่างก็ใช้ iptables ด้วยกันทั้งนั้น...
- What are the memory and CPU limits of the largesmp kernel in Red Hat Enterprise Linux 4? ใน RedHat v.4 (Update 3 ขึ้นไป) ที่ใช้งานกันอยู่ในปัจจุบันนี้ ทาง RedHat ได้ออก kernel ที่สามารถ support cpu ที่มีจำนวนมาก โดยใช้ชื่อ kernel นี้ว่า kernel-largesmp-2.6.9-xxx.EL.yyy.rpm...
- What is a Red Hat Enterprise Linux Installation Number and where do I get it? Resolution: The Red Hat Enterprise Linux 5 Installation Number is a 16-character hexadecimal text string used during the installation...
- Red Hat launched Red Hat Enterprise Linux 5 update 5 (RHEL5.5) เมื่อวันพุธที่ผ่านมา Red Hat ได้ออก update 5 ซึ่งเป็น Update ตัวล่าสุดของ Red Hat Enterprise Linux version 5 (RHEL5) โดยใน update นี้...