Initial configuration of Redhat Enterprise Linux 7.4 after installation

 

[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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324959182&siteId=291194637