“Centos7 使用kvm创建虚拟机”的版本间的差异

来自CloudWiki
跳转至: 导航搜索
1. KVM环境配置
1. KVM环境配置
第2行: 第2行:
 
关闭Selinux
 
关闭Selinux
 
  <nowiki>
 
  <nowiki>
root@ localhost ~]#vim /etc/sysconfig/selinux  
+
[root@ localhost ~]#vim /etc/sysconfig/selinux  
 
# 修改SELINUX=disabled
 
# 修改SELINUX=disabled
 
# This file controls the state of SELinux on the system.
 
# This file controls the state of SELinux on the system.

2019年11月13日 (三) 00:37的版本

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