วิธีดู Version ของ Red Hat Enterprise Linux, Centos Linux

วิธีการดู Version ของ Red Hat Enterprise Linux, Centos Linux สามารถทได้ 2 วิธีด้วยกัน คือ

  1. ดู version ที่ไฟล์ /etc/redhat-release
    # cat /etc/redhat-release
    CentOS release 5.2 (Final) //หมายถึงเป็น Centos Version 5 release 2
  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-*
Red Hat Enterprise, Centos version 6 จะใช้ kernel version 2.6.32-*

Related posts:

  1. วิธีดู version ของ SUSE Linux Enterprise และ Open Enterprise Server for Linux ในการดู version ของ SUSE Linux Enterprise และ Open...
  2. RPM repository of RPM add-on packages for Red Hat Enterprise Linux and CentOS รวบรวม RPM repository ที่มีประโยชน์ต่อคนที่ต้องการ RPM package ที่ไม่มีในแผ่นหรือใน base...
  3. How to Disable Firewall on Red Hat Enterprise Linux, Centos Firewall ของ Red Hat Enterprise จะใช้ iptables ซึ่งก็เหมือนๆกับ...
  4. What are the memory and CPU limits of the largesmp kernel in Red Hat Enterprise Linux 4? ใน RedHat v.4 (Update 3 ขึ้นไป) ที่ใช้งานกันอยู่ในปัจจุบันนี้ ทาง...
  5. Red Hat launches Red Hat Enterprise Linux 5 update 5 (RHEL5.5) เมื่อวันพุธที่ผ่านมา Red Hat ได้ออก update 5 ซึ่งเป็น Update...

You can leave a response, or trackback from your own site.

Leave a Reply