CentOS-CentOS 7 mini安裝後設定
安裝套件
yum install vim bind-utils nfs-utils ntsysv setuptool telnet dig wget openssh-clients ntpdate rsync mlocate glibc libgcc unzip
安裝核心開發工具'Development Tools'
yum groupinstall 'Development Tools'
主機名稱及 DNS 伺服器
vi /etc/sysconfig/network
HOSTNAME=acme.example.com
DNS1=10.16.1.112
DNS2=8.8.8.8
SEARCH=example.com
關閉 selinux
vi /etc/sysconfig/selinux
SELINUX=disabled
or
sed -i "s/SELINUX=.*/SELINUX=disabled/" /etc/selinux/config
or
sed -i "s/SELINUX=.*/SELINUX=disabled/" /etc/selinux/config
停用ipv6
vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
安裝vm-tools
yum install open-vm-tools
安裝 epel 套件
yum install epel-release
網路功能 NetworkManager
systemctl status NetworkManager.service
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。