赞
踩
1.关闭firewalld
- 1.临时关闭
- systemctl stop firewalld
- 2.永久关闭
- systemctl disable firewalld
2.关闭seliunx
vim /etc/sysconfig/selinux
- # 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 #将enforcing改成disabled
- # SELINUXTYPE= can take one of three values:
- # targeted - Targeted processes are protected,
- # minimum - Modification of targeted policy. Only selected processes are protected.
- # mls - Multi Level Security protection.
- SELINUXTYPE=targeted
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。