centos7 和centos6 服务操作命令对比
2024-10-09 06:53:20
以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 |
最新文章
- 【笔记】jstree插件的基本使用
- 有了jsRender,妈妈再也不用担心我用jq拼接DOM拼接的一团糟了、页面整齐了、其他伙伴读代码也不那么费劲了
- bx, bp, si, di寄存器的使用规则
- main()函数的完整形式
- Oracle的排序和限制条件(order by 和where)
- easyui问题小记
- [021]转 C++ Pimpl机制
- 【转】被误解的MVC和被神化的MVVM
- 搭建Myeclipse下Java Web开发环境
- 三星galaxy S4快捷功能
- angularjs-xeditable整合typeahead完成智能提示
- Spring Boot 系列教程6-全局异常处理
- 蓝桥杯-组素数-java
- js中表单的聚焦失焦事件
- iOS指纹识别Touch ID的安全性探讨
- vue+axios访问本地json数据踩坑点
- Ubuntu12.04搭建自有源
- 谷歌算法研究员:我为什么钟爱PyTorch?
- JMS之——ActiveMQ时抛出的错误Could not connect to broker URL-使用线程池解决高并发连接
- Rails 5 Test Prescriptions 第5章 Testing Models
热门文章
- 复习MintUI
- Hyperledger Fabric——balance transfer(一)启动示例
- PAT-1079 Total Sales of Supply Chain (树的遍历)
- CF820D Mister B and PR Shifts
- 二、第一个C程序:Hello World!
- 愉快地使用Windows Terminal
- Spring Boot 教程(1) - HelloWorld
- CukeTest+Puppeteer的Web自动化测试(二)
- Win10下安装Linux子系统-Ubuntu
- [Android-NDK编译] ndk 编译 c++ 兼容性问题汇总整理