ol7初始化

Server With GUI   +Compatility libraries+ Development Tools

关闭图形化:

systemctl set-default multi-user.target

关防火墙:

#systemctl stop firewalld

#systemctl disable firewalld

 

 关NetworkManager:

# systemctl stop NetworkManager
# systemctl disable NetworkManager

关selinux:

vi /etc/sysconfig/selinux

SELINUX=enforcing 改为 SELINUX=disabled,重启生效

服务器上挂载光盘镜像ISO文件。

#mkdir -pv /mnt/cdrom

#mount -t iso9660  /dev/cdrom  /mnt/cdrom

[ yum.repos.d]# cat RhOS-Yum-Local.repo

[base]

name=RedhatOS-$releasever - Base

baseurl=file:///mnt/cdrom

enabled=1

gpgcheck=0

相关推荐