centos7常用命令
2016-05-13 00:00
429 查看
摘要: centos7常用命令
###centos7常用命令
###centos7常用命令
防火墙
#启动firewall systemctl start firewalld.service #停止firewall systemctl stop firewalld.service #禁止firewall开机启动 systemctl disable firewalld.service #查看默认防火墙状态 firewall-cmd --state
iptables
# 安装iptables yum install iptables-services # iptables配置文件路径 vi /etc/sysconfig/iptables #开机启动/禁用iptables systemctl enable iptables.service systemctl disable iptables.service #开启/停止服务 systemctl start iptables.service systemctl stop iptables.service #查看状态 systemctl status iptables.service
nginx
nginx -t 检查nginx配置文件 nginx -s reload 重新加载配置文件
相关文章推荐
- Linux下Beego怎么部署在后台运行
- Linux系统Gradle构建工具安装
- centos6.5安装mysql
- 工作中常用的linux/unix命令
- CentOS7安装iptables防火墙
- linux下删除乱码文件
- linux安装jdk
- linux安装并配置SVN指南
- Linux下随机10字符病毒的清除
- Linux下编译安装PHP环境
- Centos7下Yum安装PHP5.5,5.6,7.0
- CentOS下搭建samba服务器与Windows进行共享服务
- CentOS 7 安装 MySQL
- 定时任务软件crond
- Linux(CentOS)安装SVN服务端
- Linux初识
- Linux基础篇
- CentOS下编译安装MySQL
- CentOS上PHP完全卸载
- CentOS6.7安装python的virtualenv环境