LoginSignup
0
1

More than 1 year has passed since last update.

CentOS Stream のバージョンを調べてみた

Posted at

さくらのクラウド(IaaS)でCentOS stream 8 を使い始めたのでバージョン情報を確認してみました。

/etc/centos-release

$ cat /etc/centos-release
CentOS Stream release 8

uname -r

$ uname -r
4.18.0-257.el8.x86_64

uname -morsv

$ uname -morsv
Linux 4.18.0-257.el8.x86_64 #1 SMP Thu Dec 3 22:16:23 UTC 2020 x86_64 GNU/Linux

/etc/os-release

$ cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

/etc/system-release-cpe

$ cat /etc/system-release-cpe
cpe:/o:centos:centos:8

hostnamectl

$ hostnamectl
   Static hostname: localhost.localdomain
         Icon name: computer-vm
           Chassis: vm
        Machine ID: (省略)
           Boot ID: (省略)
    Virtualization: kvm
  Operating System: CentOS Stream 8
       CPE OS Name: cpe:/o:centos:centos:8
            Kernel: Linux 4.18.0-257.el8.x86_64
      Architecture: x86-64

参考

CentOS Linux のバージョンを調べるコマンドやファイル

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1