导航

(4)关于systemctl命令

一、关于systemctl命令

(1) 重启服务器这个服务【】被重启:systemctl stop 某个服务

(2) 重启服务器这个服务【不会】被重启:systemctl disable 某个服务

(3) 允许这个服务的重启再启动:systemctl enable 某个服务

(4) 开机后,查看各个服务器的启动状态:systemctl list-unit-files,如图

截屏2025-08-25 23.11.54

(5) 关于防火墙的操作

systemctl stop或start或restart或disable或enable ufw

posted on 2025-08-30 17:23  熊猫暴捶林黛玉  阅读(10)  评论(0)    收藏  举报