14.4. インストール後の手順
次の手順は、RHEL 8 のインストール直後に実行する必要があるセキュリティー関連の手順です。
システムを更新します。root で以下のコマンドを実行します。
yum update
# yum update
Copy to Clipboard Copied! ファイアウォールサービスの
firewalld
は、Red Hat Enterprise Linux のインストールによって自動的に有効になりますが、キックスタート設定などで明示的に無効になっている場合があります。このような場合は、ファイアウォールを再度有効にしてください。firewalld
を開始するには、root で次のコマンドを実行します。systemctl start firewalld systemctl enable firewalld
# systemctl start firewalld # systemctl enable firewalld
Copy to Clipboard Copied! セキュリティーを強化するために、不要なサービスは無効にしてください。たとえば、コンピューターにプリンターがインストールされていない場合は、次のコマンドを使用して、
cups
サービスを無効にします。systemctl disable cups
# systemctl disable cups
Copy to Clipboard Copied! アクティブなサービスを確認するには、次のコマンドを実行します。
systemctl list-units | grep service
$ systemctl list-units | grep service
Copy to Clipboard Copied!