CentOS 6.5关闭selinux

1vi /etc/selinux/config 2# This file controls the state of SELinux on the system. 3# SELINUX= can take one of these three values: 4# enforcing - SELinux security policy is enforced. 5# permissive - SELinux prints warnings instead of enforcing. 6# disabled - No SELinux policy is loaded. 7SELINUX=enforcing 8# SELINUXTYPE= can take one of these two values: 9# targeted - Targeted processes are protected, 10# mls - Multi Level Security protection. 11SELINUXTYPE=targeted

把  SELINUX=disabled 

谢谢

点赞
收藏

评论区

加载中...

相关推荐

手写Java HashMap源码

HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22

VSFTP服务器搭建

1.关闭SELINUXsetenforce0vim/etc/selinux/configSELINUXdisabled2.配置firewalldfirewallcmdpermanentzonepublicaddserviceftp

Kubernetes教程之新手安装必看(快速浏览少走弯路)

k8s安装关闭防火墙:systemctlstopfirewalldsystemctldisablefirewalld关闭selinux:(博客文档格式可能有问题,如果出问题,则尝试手敲该命令)sedis/enforcing/disabled//etc/selinux/configsetenforce0关闭swap:(云主机貌似默认关了)swapo

Linux修改SSH默认端口

本文以centos系统为例:1、关闭防火墙和selinux关闭防火墙centos7systemctlstopfirewalldcentos6serviceiptablesstop关闭selinuxvi/etc/selinux/config

CentOS6.5 安装 MongoDB

根据项目开发环境部署而从网上的博文总结修改而来,实践可行无误1、下载MongoDBhttp://www.mongodb.org/downloadsmongodblinuxx86\_643.6.3.tgz  目前最新版是4.0.02、建议关闭selinux\root@mycentos~\vi/etc/selinux/co

Hadoop 2.8 二进制包安装和配置

环境:centos7准备工作:三台机器(内存大于2G)分别写hosts、设定hostname192.168.8.139master192.168.8.131slave1192.168.8.132slave2关闭防火墙关闭selinux关闭firewalld