Minecraftサーバー構築 の変更点


#author("2017-03-20T15:49:20+09:00","default:gorogoro","gorogoro")
-以下のコマンドで有効なサービス一覧を確認
 # systemctl list-units --type=service
#author("2017-03-20T19:19:21+09:00","default:gorogoro","gorogoro")

-以下のように不要なサービスを無効とする(個人的な判断なので環境に合わせて設定してください)
 # 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が消えていることを確認する