day 13 关闭SElinux

Day 13


作者:翟玉龙

归档:命令笔记

2019/3/18

快捷键:

Ctrl  + 1    标题1

Ctrl  + 2    标题2

Ctrl  + 3    标题3

Ctrl  + 4    实例

Ctrl  + 5    程序代码

Ctrl  + 6    正文

格式说明:

蓝色字体:注释

黄色背景:重要

绿色背景:注意

老男孩教育教学核心思想6重:重目标、重思路、重方法、重实践、重习惯、重总结

学无止境,老男孩教育成就你人生的起点!

联系方式:

网站运维QQ交流群:

Linux 385168604架构师390642196

Python 29215534大数据421358633

官方网站:

http://www.oldboyedu.com 

目录

学无止境,老男孩教育成就你人生的起点!............................................................ 1






[if !supportLists]第1章 [endif]SELinux

[if !supportLists]1.1 [endif]安全规则让Linux系统更安全的一套规则

但是这个规则太严格了,所以一般情况下都会关闭selinux

[if !supportLists]1.2 [endif]怎么关掉selinux

查看状态getenforce

[if !supportLists]1.2.1[endif]   临时关闭

       Setenforce  0

[if !supportLists]1.2.2[endif]   永久关闭

  /etc/selinux/config

[if !supportLists]第2章 [endif]防火墙简介

Linux 里的防火墙 C6 iptables   C7 firewalld

作用:防护计算机防止被入侵

Systemctl  status firewalld.service

开机自启动4

Systemctl enablefirewalld.service

开机不启动即使

   Disable

C6用法

     Chkconfig  iptables

你可能感兴趣的:(day 13 关闭SElinux)