Alibaba Cloud Linux 3.2104 LTS 64位服务器上安装 Nginx

在 Alibaba Cloud Linux 3.2104 LTS 64位服务器上安装 Nginx 可以通过以下步骤完成:

更新软件包列表:

yum update

安装 Nginx:

yum install nginx

启动 Nginx 服务:

systemctl start nginx

设置 Nginx 开机自启动:

systemctl enable nginx

验证 Nginx 是否正常运行:

systemctl status nginx

重新加载 Nginx 配置:

systemctl reload nginx

 重启Nginx:

systemctl restart nginx

停止 Nginx 服务:

systemctl stop nginx
posted @ 2025-05-23 15:54  那知归不归  阅读(265)  评论(0)    收藏  举报