FrontPage > UNIX > Linux > CentOS

CentOS

http://www.centos.org/

RedHat Enterprise Linuxの互換(クローンOS)

RedHatのロゴ部分、ライセンスに関わる部分はRHELと異なるが、
RHELのソースを元に作成されているため。

バージョン毎のコマンド

機能CentOS6CentOS7CentOS8備考
サポート期限2020/11/302024/6/302021/12/31
ファイルシステムext4xfs
アプリアップデートyumyumdnfyumも「dnf(dnf-3)」にリンクあり
IP設定ifconfigip address showip address show略称:ip a s
IP追加ifconfig addip address addip address add略称:ip a a
IP削除ifconfig delip address delip address del略称:ip a d
routeip routeip route略称:ip r
Bridge設定brctlbrctl+ip linkip linkbrctl[bridge-utils]、ip[iproute2]、略称:ip l
Bridge表示brctl showbrctl showbridge link show
Bridge追加brctl addbrbrctl addbrip link add
Bridge削除brctl delbrbrctl delbrip link del
ARPテーブル表示arpip neighbor showip neighbor show略称:ip n s
インターフェイス等の表示netstatssss
パケットフィルタiptablesfirewalld + iptablesebtablesiptables[iptables-services]
NTP設定ntpntp+chronychrony
NTP設定確認ntpq -pchronyc sourceschronyc sources
サービス設定servicesystemctlsystemctl
サービス自動起動設定chkconfigsystemctlsystemctl
GUIでネットワーク設定nmtuinmtui
CUIでネットワーク設定nmclinmcli

バージョン

最新版

バージョンバージョン確認日サポート期限
CentOS StreamCentOS Stream 82021/102024/05/31
CentOS 8CentOS 8.4.2105 (8.4)2021/062021/12/31
CentOS 7CentOS 7.9-2009 (7.9)2020/112024/06/30
CentOS 6CentOS 6.102018/062020/11/30
CentOS 5CentOS 5.112014/092017/03/31

※バーションでコマンドが多々変わったりする。Linuxコマンド比較

CentOS 8(2105) → 2021/05 (CentOS 8.4)RHEL 8.4
CentOS 8(2011) → 2020/11 (CentOS 8.3)RHEL 8.3
CentOS 8(2004) → 2020/04 (CentOS 8.2)RHEL 8.2
CentOS 8(1911) → 2019/11 (CentOS 8.1)RHEL 8.1
CentOS 8(1905) → 2019/05 (CentOS 8.0)RHEL 8.0
CentOS 7(2009) → 2020/09 (CentOS 7.9)RHEL 7.9
CentOS 7(2003) → 2020/03 (CentOS 7.8)RHEL 7.8
CentOS 7(1908) → 2019/08 (CentOS 7.7)RHEL 7.7
CentOS 7(1810) → 2018/10 (CentOS 7.6)RHEL 7.6
CentOS 7(1804) → 2018/04 (CentOS 7.5)RHEL 7.5
CentOS 7(1708) → 2017/08 (CentOS 7.4)RHEL 7.4
CentOS 7(1611) → 2016/11 (CentOS 7.3)RHEL 7.3
CentOS 7(1511) → 2015/11 (CentOS 7.2)RHEL 7.2
CentOS 7(1503) → 2015/03 (CentOS 7.1)RHEL 7.1
CentOS 7(1406) → 2014/06 (CentOS 7.0)RHEL 7


CDからブート起動可能な「Live CD」が提供されている。
ちょっと試したい場合、システムが壊れて復旧させたい時などに使用できます。

redhat-releaseを元にインストールチェックしているアプリは、
下記でインストール可能となる。(Oracle等!?)
「/etc/redhat-release」
CentOS 4.0 (final)
      ↓
Red Hat Enterprise Linux AS release 4 (Nahant)
※現状の「RHEL 5.2」と「CentOS 5.2」では大部分変更されているので、
 「/etc/redhat-release」のみの変更だけで無く、パッケージ変更も必要だと思われる。

引用「http://japan.internet.com/linuxtutorial/20050513/5.html

[CentOS 8.4] # cat /etc/redhat-release
CentOS Linux release 8.4.2105
[CentOS 8.2] # cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
[CentOS 7.8] # cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[CentOS 7.3] # cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[CentOS 7.2] # cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[CentOS 6.9] # cat /etc/redhat-release
CentOS release 6.9 (Final)
[CentOS 6.8] # cat /etc/redhat-release
CentOS release 6.8 (Final)

ソフトウェアのアップデート

メモ

メモ(外部)


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-10-05 (火) 14:52:12