Qiita Conference 2025

Qiita史上最多!豪華12名のゲストが登壇

特別講演ゲスト(敬称略)

ymrl、成瀬允宣、鹿野壮、伊藤淳一、uhyo、徳丸浩、ミノ駆動、みのるん、桜庭洋之、tenntenn、けんちょん、こにふぁー

84
81

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

自分のサーバのOSのバージョンがわからなくなった時に調べる方法

Posted at

各OS毎に異なります

まずはカーネルのバージョンを調べる

[riki@ ~]$ cat /proc/version 
Linux version 2.6.18-402.el5 (mockbuild@builder17.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Tue Feb 10 17:49:04 EST 2015

  • uname -a でもOK
[riki@ ~]$ uname -a
Linux sub0000540167.hmk-temp.com 2.6.18-402.el5 #1 SMP Tue Feb 10 17:49:04 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

Debiun系の場合

$ cat /etc/debian_version
4.0

centOS/RedHat Enterprise Linux

[riki@ ~]$ cat /etc/redhat-release 
CentOS release 5.11 (Final)

Fedoraの場合

$ cat /etc/fedora-release
Fedora release 9 (Sulphur)
84
81
1

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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
84
81

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?