转自systemctl详解

systemctl 是系统服务管理器命令,它实际上将 service 和 chkconfig 这两个命令组合到一起。
任务 旧指令 新指令
使某服务自动启动 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

最新文章

  1. MySql 获取当前节点及递归所有上级节点
  2. 通过js获得选择文件的绝对路径
  3. CentOS系统配置redis
  4. LeetCode Reverse Linked List II 反置链表2
  5. ValueBar
  6. Java并发编程:sleep、wait、yield对比
  7. hdu3998 Sequence(最大流,LIS)
  8. NOI十连测 第六测 T1
  9. 深入理解final和static关键字
  10. Spring Data 整合 ElasticSearch搜索服务器
  11. php lcg_value与mt_rand生成0~1随机小数的效果比较
  12. eclispe安装tomcate没有srver解决
  13. 注册Activity
  14. 2013-2014 ACM-ICPC, NEERC, Southern Subregional Contest Problem H. Password Service dp
  15. [百度贴吧]10GB 通信线缆
  16. Windows Azure系列公开课 - 第二课:为什么选择Windows Azure(上)
  17. hadoop排序 -- 全排序
  18. python学习(八)定制类和枚举
  19. NB-IOT连接移动onenet平台流程
  20. python使用pika链接rabbitmq Connection reset by peer 解决办法

热门文章

  1. python字符串操作方法详解
  2. oracle的concat、convert、listagg函数(字符串拼接和类型转换)
  3. Unity热更新对比
  4. lua叠代器
  5. Linux 添加新磁盘 && 创建分区 && 挂载
  6. jsp 页面使用标签遍历
  7. Linux centosVMware Linux集群架构LVS DR模式搭建、keepalived + LVS
  8. CentOS7中Tomcat的安装和配置
  9. 39 (guava包)AbstractScheduledService的使用
  10. Indexed (materialized) views in SQL Server,different with Oracle (materialized) views