RHEL(Red Hat Enterprise Linux) - user000422/0 GitHub Wiki

基本

読み方 RHEL … れる

メンテナンスサポート … 影響度が「重大」および「重要」レベルの対応は行われる。

バージョン サポート(フル) サポート(メンテナンス)
9.3 2027-05 2032-05
8.9 2024-05 2029-05
7.9 2019-08 2024-06

コマンド

RHEL7までは yum、RHEL8以降は dnf

# バージョン確認
cat /etc/redhat-release

# EPELインストール(RHEL7)
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

# タイムゾーンの変更(RHEL7)Asia/Tokyo
timedatectl set-timezone Asia/Tokyo

# firewalld ファイアウォール
systemctl start firewalld
systemctl stop firewalld

# FTP(vsftp)
systemctl start vsftpd
systemctl enable vsftpd # 自動起動

■vsftpd FTPサーバ ログ /var/log/vsftpd.log

**■NTP(時刻同期)** RHEL6までは「ntpd」。7以降は「chrony」。

# 状態確認
systemctl status chronyd

# 起動
systemctl start chronyd

# 自動起動設定
systemctl enable chronyd