From 424103c5c696a18ffef92f2d9339f296444f5ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=A2=9E=E6=B6=9B?= <3252085660@qq.com> Date: Sat, 22 Jun 2024 17:20:41 +0800 Subject: [PATCH] Linux --- ...234\215\345\212\241\347\256\241\347\220\206.md" | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 "\345\274\240\345\242\236\346\266\233/20240622-\346\234\215\345\212\241\347\256\241\347\220\206.md" diff --git "a/\345\274\240\345\242\236\346\266\233/20240622-\346\234\215\345\212\241\347\256\241\347\220\206.md" "b/\345\274\240\345\242\236\346\266\233/20240622-\346\234\215\345\212\241\347\256\241\347\220\206.md" new file mode 100644 index 0000000..9391089 --- /dev/null +++ "b/\345\274\240\345\242\236\346\266\233/20240622-\346\234\215\345\212\241\347\256\241\347\220\206.md" @@ -0,0 +1,14 @@ +# 服务管理 + +什么是服务:服务是程序,是后台运行的,响应用户或其他程序的请求 + +管理服务: + +```bash +systemctl start 服务名 #开启某服务名称 +systemctl stop 服务名 #关闭某服务名称 +systemctl restar 服务名 #重启某服务名称 +systemctl status 服务名 #查看服务状态 +systemctl enalbe 服务名 #开机自启动服务 +``` + -- Gitee