centos7防火墙 启动和关闭
2016-07-05 16:23
543 查看
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。
firewall:
systemctl start firewalld.service #启动firewall
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
查看运行状态
firewall-cmd --state
firewall:
systemctl start firewalld.service #启动firewall
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
查看运行状态
firewall-cmd --state
相关文章推荐
- linux debian 时间设置中无法选择“自动设定时间和日期”
- 关于Linux的一些常用命令
- linux日志
- 嵌入式 Linux 系统移植——BSP分析
- linux 运行run文件
- Linux管道和过滤器
- linux下mysql的root密码忘记解决方法
- opensuse linux下内核编译方法详解
- centOS下安装caffe教程(未完待续待整理)
- Linux内存分布
- windows linux 之间文件共享 samba配置
- openSuse linux下安装升级ftp服务
- linux创建PHP定时任务
- opensuse linux环境下telnet源码编译安装步骤
- [Linux] SPI 设备驱动模型(SPI 协议基础)
- linux centos安装mysql
- Linux 查看CPU信息的命令
- Linux下FILE结构体字段详解
- zabbix_agent安装(Centos+Ubuntu)
- LINUX--系列知识