systemctl命令用法
2015-05-29 12:35
316 查看
任务 | 旧指令 | 新指令 |
使某服务自动启动 | chkconfig --level 3 httpd on | systemctl enable httpd.service |
使某服务不自动启动 | chkconfig --level 3 httpd off | systemctl disable httpd.service |
检查服务状态 | service httpd status | systemctl status httpd.service (服务详细信息) systemctl is-active httpd.service (仅显示是否 Active) |
显示所有已启动的服务 | chkconfig --list | systemctl list-units --type=service |
启动某服务 | service httpd start | systemctl start httpd.service |
停止某服务 | service httpd stop | systemctl stop httpd.service |
重启某服务 | service httpd restart | systemctl restart httpd.service |
相关文章推荐
- 优化SQL查询:如何写出高性能SQL语句
- 账号密码数据库加密说明
- cocos2dx左下角三行数值意义
- 我做的第一个dedecms网站出现的一些问题归纳下
- 记点啥呢...先记下基础的序列化吧~
- [Servlet]总结
- 通过eclipse直接打断点调试程序
- 第一个Sprint
- 树型菜单
- 类ListView和SimpleAdapter
- 在VC++中用SQL语句为access加字段时注意事项
- Junit不太会瞎玩
- 抓住51cto终身会员卡最后一滴奶酪
- 纯代码为多个小框框中添加图像、文字和按钮
- Meet Surprise
- 网站性能优化的35条黄金守则
- 【JavaScript 2—基础知识点】:数据类型
- 【JavaScript 2—基础知识点】:数据类型
- 记点总结~
- Hibernate工作原理