centos6.x和centos7命令对比
2017-02-15 17:22
309 查看
功能 | 6.x | 7.x | 备注 |
启动服务 | service httpd start | systemctl start httpd.service | 启动httpd |
关闭服务 | service httpd stop | systemctl stop httpd.service | 关闭httpd |
重启服务器 | service httpd restart | systemctl restart httpd.service | 重启httpd |
查看服务状态 | service httpd status | systemctl status httpd.service | 查看httpd状态 |
开机启动 | chkconfig httpd on | systemctl enable httpd.service | |
关闭开机启动 | chkconfig httpd off | systemctl disable httpd.servicce | |
查看开机启动项 | chkconfig --list | systemctl list-units -type=service或 systemctl list-unit-files|grep enabled | |
关闭防火墙 | service iptables stop | systemctl stop firewalld.service | centos7改用firewalld防火墙 |
更新时间:
2017-02-28
2017-02-16
2017-02-15
参考文章: http://www.lai18.com/content/8862711.html
相关文章推荐
- centos7 和centos6 服务操作命令对比
- centos7的systemd命令对比
- DOS和Linux常用命令的对比
- 转贴 Oracle 和 mysql 的一些简单命令对比参照 [2004年6月25日 22:35]
- MySQL & PostgreSQL 小命令对比
- RedHat(CentOS)和Ubuntu安装软件命令对比(区别)
- Firefly和CVS常见命令对比
- H3C与Cisco命令对比
- FreeBSD与linux的部分命令对比(持续更新中)
- 思科华为命令对比表
- cisco和H3C命令对比
- Oracle 和 mysql 的一些简单命令对比参照
- Oracle 和 mysql 的一些简单命令对比参照
- Oracle和mysql 的一些简单命令对比参照
- DOS 和 Linux 常用命令的对比
- Firefly和CVS常见命令对比
- 关于NETSTAT命令和TRACERT命令的区别对比
- Oracle 与 Mysql 常用命令对比
- 思科、华为常用命令对比(转)
- DOS和Linux常用命令的对比