LoginSignup
0
2

LinuxサーバOSインストール後初期設定

Last updated at Posted at 2023-05-30

はじめに

Linuxサーバ(RedHat系)をインストール直後にやっておくべき初期設定について覚書がてらまとめておきます

設定項目

ネットワーク設定

SELinux無効化

vi /etc/selinux/config

[変更前]
SELINUX=enable

[変更後] 
SELINUX=disabled

Firewalld無効化

ホスト名設定

設定ファイルを変更する方法

vi /etc/hostname


hostnamectlコマンドの使用

rootユーザSSH接続無効化

SSH鍵認証設定

SSHクライアント設定(LogMeTT)

NTP設定

0
2
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
2