在linux中安装nginx

安装步骤:

  1. 首先我们需要一台虚拟机 或者 一台配置了环境的服务器

    这里我们使用**阿贝云服务器。**

    ![img](https://img2023.cnblogs.com/blog/3198764/202305/3198764-20230515174543354-322087037.png)

  2. 搜索需要的nginx版本

  yum search nginx

![img](https://img2023.cnblogs.com/blog/3198764/202305/3198764-20230515174654074-1791732030.png)

 3. 安装需要的版本

  yum install nginx

  4. 安装完成查看版本

  ![img](https://img2023.cnblogs.com/blog/3198764/202305/3198764-20230515174832130-1868184274.png)

 

 

posted @ 2026-01-29 12:10  这是哪头猪?  阅读(0)  评论(0)    收藏  举报