Minecraftサーバー構築 のバックアップ(No.2)
- バックアップ一覧
- ソース を表示
- Minecraftサーバー構築 は削除されています。
- 1 (2017-03-20 (月) 07:42:03)
- 2 (2017-03-20 (月) 15:49:20)
- 3 (2017-03-20 (月) 19:19:21)
- 以下のコマンドで有効なサービス一覧を確認
# systemctl list-units --type=service
- 以下のように不要なサービスを無効とする(個人的な判断なので環境に合わせて設定してください)
# systemctl disable auditd.service # 監査ログを見ても対応できないので無効。 # systemctl disable chronyd.service # NTPを使うほど厳密な処理がないので無効。 # systemctl disable kdump.service # ダンプを見ても対応できないので無効。
- SELINUXは有効活用できないので無効とする(個人的な判断なので環境に合わせて設定してください)
# sed -i.org -e 's/=enforcing/=disabled/g' /etc/selinux/config
- IPv4環境なのでIPv6を無効化する
# ip a # inet6と表示されていればIPv6を利用している # echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.d/disable_ipv6.conf # echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.d/disable_ipv6.conf # sysctl -p /etc/sysctl.d/disable_ipv6.conf # reboot # ip a # inet6が消えていることを確認する