systemctl管理服务---RHEL7系统
2018-12-18 本文已影响0人
CC晨_程序小生
systemctl管理服务(RHEL 7系统)
命令
-
systemctl enable 服务名称
命令:将服务加到开机启动项中 -
systemctl start 服务名称
命令:启动服务 -
systemctl restart 服务名称
命令:重启服务 -
systemctl stop 服务名称
命令:关闭服务 -
systemctl status 服务名称
命令:查看服务名称