diff --git "a/53 \347\216\213\351\233\257\351\235\231/20240624\346\234\215\345\212\241\345\231\250\347\256\241\347\220\206.md" "b/53 \347\216\213\351\233\257\351\235\231/20240624\346\234\215\345\212\241\345\231\250\347\256\241\347\220\206.md" new file mode 100644 index 0000000000000000000000000000000000000000..e39f7cc9fe2c57742087d82b9eb78e891c8651bb --- /dev/null +++ "b/53 \347\216\213\351\233\257\351\235\231/20240624\346\234\215\345\212\241\345\231\250\347\256\241\347\220\206.md" @@ -0,0 +1,31 @@ +# 服务器管理 + +service nginx start: + +如果你是system v,其实是用/etc/init.d/nginx start 实现 + +如果你是systemd,其实是用systemctl start nginx 实现 + + + +# 操作命令 + +启用:start + +停止:stop + +重启:restart + +重新加载配置:reload + +查看状态:status + +开机自启动:enable + +禁用:disable + +list-jobs 查看正在运行的服务 + + + +