zoukankan      html  css  js  c++  java
  • centos7关闭防火墙(转)

    直接命令:service firewalld stop

    1. Disable Firewalld Service.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld  

    2. Stop Firewalld Service.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld  

    3. Install iptables service related packages. Linux学习,http:// linux.it.net.cn

    [root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services Linux学习,http:// linux.it.net.cn 

    4. Make sure service starts at boot:

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl enable iptables  

    # If you do not want ip6tables, You can skip following command. Linux学习,http:// linux.it.net.cn

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl enable ip6tables Linux学习,http:// linux.it.net.cn 

    5. Now, Finally Let’s start the iptables services.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl start iptables  

    # If you do not want ip6tables, You can skip following command.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl start ip6tables  

    Firewalld Service is now disabled and stop, You can use iptables. 


    http://linux.it.net.cn/CentOS/fast/2015/0314/13904.html

  • 相关阅读:
    EBS R12.2 运行请求出错
    仿ORACLE的TRUNC函数
    EBS职责清单(Responsibility)
    Oracle 11G Client 客户端安装步骤
    UltraIso-写入硬盘映像
    EBS-WIP完工入库
    LeetCode 2 两数相加
    LeetCode 1.两数之和
    装饰器示例
    爬虫day1
  • 原文地址:https://www.cnblogs.com/softidea/p/5271726.html
Copyright © 2011-2022 走看看