CentOS 7服务管理

CentOS 6 使用service 管理指令: service 服务名 [start | stop | restart | reload | status]

但在 CentOS7.0 后 不再使用 service ,而是 systemctl

  systemctl   [start | stop | restart | reload | status]   服务名

例如:查看防火墙状态

指令:systemctl status  firewalld.service

posted @ 2021-06-02 23:54  未来的数据大师  阅读(49)  评论(0编辑  收藏  举报