大将军手把手教你:把服务添加到systemctl进行统一管理
systemctl和service一样,是linux的服务管理工具systemd是linux最新的初始化系统,目的是提高系统的启动速度,尽可能的减少启动进程,尽可能多的并发启动进程。systemctl使用方法:systemctl +common+Unti例如:systemctl start mysqlsystemctl reload nginx比较常用的common有:start:启动stop:停止restart:重启,同stop后startenable:设置服务开机
原创
2020-05-20 17:30:06 ·
2904 阅读 ·
0 评论