美文网首页
centos6,centos7启动服务对比

centos6,centos7启动服务对比

作者: TechLogs | 来源:发表于2020-04-15 09:57 被阅读0次
    指令名称 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

    相关文章

      网友评论

          本文标题:centos6,centos7启动服务对比

          本文链接:https://www.haomeiwen.com/subject/xcuqvhtx.html