インストール直後にやることメモ(CentOS7編)
インストール直後にする(自分の)儀式をまとめる。
基本ローカルネットワーク運用を前提としています。
パッケージアップデート
何も考えずに全パッケージアップデート。
# yum update
# reboot
net-toolsインストール
ipコマンドでもいいのですが、ifconfig使いたいおじさんなのでインストールしておきます。
# yum install net-tools
firewalld停止
ローカル運用なのでがばがばにしときます。
# systemctl stop firewalld
# systemctl disable firewalld
SELinux無効化
設定ファイルの変更は書き換える場所を間違ると悲惨なので注意する。
# getenforce
# setenforce 0
# getenforce
# vi /etc/selinux/config
→ SELINUX=disabled
# reboot
IPアドレス設定
(IPv4設定)
# nmcli c m eth0 ipv4.addresses 192.168.YYY.ZZZ/24
# nmcli c m eth0 ipv4.method manual
# nmcli c m eth0 ipv4.gateway 192.168.YYY.1
# nmcli c m eth0 ipv4.may-fail no
# nmcli c m eth0 ipv4.dns 8.8.8.8
(IPv6無効化)
# nmcli c m eth0 ipv6.method ignore
Author And Source
この問題について(インストール直後にやることメモ(CentOS7編)), 我々は、より多くの情報をここで見つけました https://qiita.com/masayoshist/items/83fa7c97da3e33a94e75著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .