以httpd为例子:

指令名称 centos 6 centos 7
启动服务 service httpd start systemctl start httpd.service
关闭服务 service httpd stop systemctl stop httpd.service
重启服务 service httpd restart systemctl restart httpd.service
查看服务状态 service httpd status systemctl status httpd.service
设置服务开机启动 chkconfig httpd on systemctl enable httpd.service
设置服务开机关闭 chkconfig httpd off systemctl disable httpd.service
查看服务开机启动 chkconfig –list systemctl list-units –type=service

最新文章

  1. 【笔记】jstree插件的基本使用
  2. 有了jsRender,妈妈再也不用担心我用jq拼接DOM拼接的一团糟了、页面整齐了、其他伙伴读代码也不那么费劲了
  3. bx, bp, si, di寄存器的使用规则
  4. main()函数的完整形式
  5. Oracle的排序和限制条件(order by 和where)
  6. easyui问题小记
  7. [021]转 C++ Pimpl机制
  8. 【转】被误解的MVC和被神化的MVVM
  9. 搭建Myeclipse下Java Web开发环境
  10. 三星galaxy S4快捷功能
  11. angularjs-xeditable整合typeahead完成智能提示
  12. Spring Boot 系列教程6-全局异常处理
  13. 蓝桥杯-组素数-java
  14. js中表单的聚焦失焦事件
  15. iOS指纹识别Touch ID的安全性探讨
  16. vue+axios访问本地json数据踩坑点
  17. Ubuntu12.04搭建自有源
  18. 谷歌算法研究员:我为什么钟爱PyTorch?
  19. JMS之——ActiveMQ时抛出的错误Could not connect to broker URL-使用线程池解决高并发连接
  20. Rails 5 Test Prescriptions 第5章 Testing Models

热门文章

  1. 复习MintUI
  2. Hyperledger Fabric——balance transfer(一)启动示例
  3. PAT-1079 Total Sales of Supply Chain (树的遍历)
  4. CF820D Mister B and PR Shifts
  5. 二、第一个C程序:Hello World!
  6. 愉快地使用Windows Terminal
  7. Spring Boot 教程(1) - HelloWorld
  8. CukeTest+Puppeteer的Web自动化测试(二)
  9. Win10下安装Linux子系统-Ubuntu
  10. [Android-NDK编译] ndk 编译 c++ 兼容性问题汇总整理