Redhat Enterprise Linux 7.4 安装后初始化配置

[root@home ~]# systemctl set-default multi-user.target
[root@home ~]# vi /etc/selinux/config
SELINUX=disabled
[root@home ~]# systemctl stop firewalld.service
[root@home ~]# systemctl disable firewalld.service
[root@home ~]# mkdir /mnt/rhel
[root@home ~]# mount -o loop -t iso9660 /opt/rhel-server-7.4-x86_64-dvd.iso /mnt/rhel
[root@home ~]# vi /etc/yum.repos.d/rhel.repo
[rhel]
name=rhel
baseurl=file:///mnt/rhel
gpgcheck=0
enabled=1
[root@home ~]# yum repolist

猜你喜欢

转载自www.cnblogs.com/lightnear/p/8268020.html
今日推荐