CentOS 6.5关闭selinux

Stella981
• 阅读 442
vi /etc/selinux/config
# 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=enforcing 
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

把  SELINUX=disabled 

谢谢

点赞
收藏
评论区
推荐文章
Wesley13 Wesley13
2年前
SRS之安装与使用
1\.安装1.1github获取源码gitclonehttps://github.com/ossrs/srs.git1.2编译1.2.1关闭防火墙和selinux先关闭防火墙,防止有时候启动没有问题,但是就是看不了。Centos6.x
Wesley13 Wesley13
2年前
VSFTP服务器搭建
1.关闭SELINUXsetenforce0vim/etc/selinux/configSELINUXdisabled2.配置firewalldfirewallcmdpermanentzonepublicaddserviceftp
Stella981 Stella981
2年前
Kubernetes教程之新手安装必看(快速浏览少走弯路)
k8s安装关闭防火墙:systemctlstopfirewalldsystemctldisablefirewalld关闭selinux:(博客文档格式可能有问题,如果出问题,则尝试手敲该命令)sedis/enforcing/disabled//etc/selinux/configsetenforce0关闭swap:(云主机貌似默认关了)swapo
Stella981 Stella981
2年前
Linux修改SSH默认端口
本文以centos系统为例:1、关闭防火墙和selinux关闭防火墙centos7systemctlstopfirewalldcentos6serviceiptablesstop关闭selinuxvi/etc/selinux/config
Stella981 Stella981
2年前
CentOS6.5 安装 MongoDB
根据项目开发环境部署而从网上的博文总结修改而来,实践可行无误1、下载MongoDBhttp://www.mongodb.org/downloadsmongodblinuxx86\_643.6.3.tgz  目前最新版是4.0.02、建议关闭selinux\root@mycentos~\vi/etc/selinux/co
Stella981 Stella981
2年前
Hadoop 2.8 二进制包安装和配置
环境:centos7准备工作:三台机器(内存大于2G)分别写hosts、设定hostname192.168.8.139master192.168.8.131slave1192.168.8.132slave2关闭防火墙关闭selinux关闭firewalld
Stella981 Stella981
2年前
Linux源码编译安装MySQL5.7
一、环境准备:我尝试过以下环境都是能成功的:1、CentOS6.7minimal镜像最小化缺省安装;2、RedHat6.5DVD基本服务器安装;3、其他Linux版本未验证。注意系统安装好之后需要配置好网卡,关闭防火墙及SELINUX:\关闭Linux防火墙命令\chkconfigipta
Stella981 Stella981
2年前
Linux中使用vsftpd搭建指定用户指定目录的ftp服务器的方法
一。检查Linux中vsftpd的安装情况。二。将系统中的SELinux关闭,然后重新启动电脑关闭SELinux的方法:修改/etc/selinux/config文件中的SELINUX""为disabled,然后重启。如果不想重启系统,使用命令setenforce0注:setenforce1设置SELinux成为
Stella981 Stella981
2年前
Centos7静默安装oracle11g
安装环境操作系统:CentOS7oracle版本:Oracle11gR2服务器IP:192.168.1.22一、安装前准备关闭selinux和防火墙:禁止selinux:vi/etc/selinux/config把SELINUXenforcing改成SELINUXdis
基于Linux系统的PXE搭建方法
本文分享自天翼云开发者社区《》,作者:tn一、底层环境准备1、安装RedHat7.6系统2、关闭防火墙和Selinuxsystemctlstopfirewalldchkconfigfirewalldoffvim/etc/sysconfig/selinux修