zoukankan      html  css  js  c++  java
  • CentOS关闭防火墙&SELinux

    须知:

    防火墙配置文件:/etc/sysconfig/iptables

    查看防火墙状态:service iptables status

    关闭防火墙:service iptables stop

    关闭iptalbes:chkconfig iptables off

    查看那SELinux状态:getenforce

    SELinux配置文件:/etc/selinux/config

    ****************************************************************

    关闭防火墙:service iptables stop

    关闭iptalbes:chkconfig iptables off

    关闭SELinux:

    执行命令:vim /etc/selinux/config,修改:

    SELINUX=enforcing 为 SELinux=disable

  • 相关阅读:
    16
    15
    14
    13
    12
    11
    10
    python包管理器修改镜像地址
    Linux环境下安装hadoop分布式集群+问题总结
    解剖css中的clear属性
  • 原文地址:https://www.cnblogs.com/jeffry/p/5066188.html
Copyright © 2011-2022 走看看