Centos7 使用kvm创建虚拟机

来自CloudWiki
112.38.217.46讨论2019年11月13日 (三) 00:37的版本 1. KVM环境配置
跳转至: 导航搜索

1. KVM环境配置

关闭Selinux

[root@ localhost ~]#vim /etc/sysconfig/selinux 
# 修改SELINUX=disabled
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted