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 0000000000000000000000000000000000000000..93910890369472788961b74ac97099498cf0442f --- /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 服务名 #开机自启动服务 +``` +