当前位置: 首页 > news >正文

centos9 nginx 版本

centos9 安装

ssh -V
OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024

openssl version
OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)

sudo yum install nginx

=============================================================================================================================================================
Installing:nginx                                      x86_64                         2:1.20.1-20.el9                           appstream                          36 k
Installing dependencies:centos-logos-httpd                         noarch                         90.8-1.el9                                appstream                         1.5 Mnginx-core                                 x86_64                         2:1.20.1-20.el9                           appstream                         570 knginx-filesystem                           noarch                         2:1.20.1-20.el9                           appstream                         9.2 k

11

[jack@localhost ~]$ sudo yum install nginx
Last metadata expiration check: 0:00:50 ago on Sun 29 Sep 2024 12:23:43 PM CST.
Dependencies resolved.
=============================================================================================================================================================Package                                    Architecture                   Version                                   Repository                         Size
=============================================================================================================================================================
Installing:nginx                                      x86_64                         2:1.20.1-20.el9                           appstream                          36 k
Installing dependencies:centos-logos-httpd                         noarch                         90.8-1.el9                                appstream                         1.5 Mnginx-core                                 x86_64                         2:1.20.1-20.el9                           appstream                         570 knginx-filesystem                           noarch                         2:1.20.1-20.el9                           appstream                         9.2 kTransaction Summary
=============================================================================================================================================================
Install  4 PackagesTotal download size: 2.1 M
Installed size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): nginx-1.20.1-20.el9.x86_64.rpm                                                                                        379 kB/s |  36 kB     00:00
(2/4): nginx-filesystem-1.20.1-20.el9.noarch.rpm                                                                             348 kB/s | 9.2 kB     00:00
(3/4): nginx-core-1.20.1-20.el9.x86_64.rpm                                                                                   1.1 MB/s | 570 kB     00:00
(4/4): centos-logos-httpd-90.8-1.el9.noarch.rpm                                                                              1.9 MB/s | 1.5 MB     00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                        1.7 MB/s | 2.1 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transactionPreparing        :                                                                                                                                     1/1Running scriptlet: nginx-filesystem-2:1.20.1-20.el9.noarch                                                                                             1/4Installing       : nginx-filesystem-2:1.20.1-20.el9.noarch                                                                                             1/4Installing       : nginx-core-2:1.20.1-20.el9.x86_64                                                                                                   2/4Installing       : centos-logos-httpd-90.8-1.el9.noarch                                                                                                3/4Installing       : nginx-2:1.20.1-20.el9.x86_64                                                                                                        4/4Running scriptlet: nginx-2:1.20.1-20.el9.x86_64                                                                                                        4/4Verifying        : centos-logos-httpd-90.8-1.el9.noarch                                                                                                1/4Verifying        : nginx-2:1.20.1-20.el9.x86_64                                                                                                        2/4Verifying        : nginx-core-2:1.20.1-20.el9.x86_64                                                                                                   3/4Verifying        : nginx-filesystem-2:1.20.1-20.el9.noarch                                                                                             4/4Installed:centos-logos-httpd-90.8-1.el9.noarch     nginx-2:1.20.1-20.el9.x86_64     nginx-core-2:1.20.1-20.el9.x86_64     nginx-filesystem-2:1.20.1-20.el9.noarchComplete!

22
nginx -V

nginx version: nginx/1.20.1
built by gcc 11.4.1 20231218 (Red Hat 11.4.1-3) (GCC)
built with OpenSSL 3.2.2 4 Jun 2024
TLS SNI support enabled
configure arguments: 
--prefix=/usr/share/nginx 
--sbin-path=/usr/sbin/nginx 
--modules-path=/usr/lib64/nginx/modules 
--conf-path=/etc/nginx/nginx.conf 
--error-log-path=/var/log/nginx/error.log 
--http-log-path=/var/log/nginx/access.log 
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body 
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy 
--http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi 
--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi 
--http-scgi-temp-path=/var/lib/nginx/tmp/scgi 
--pid-path=/run/nginx.pid 
--lock-path=/run/lock/subsys/nginx 
--user=nginx 
--group=nginx 
--with-compat 
--with-debug 
--with-file-aio 
--with-http_addition_module 
--with-http_auth_request_module 
--with-http_dav_module 
--with-http_degradation_module 
--with-http_flv_module 
--with-http_gunzip_module 
--with-http_gzip_static_module 
--with-http_image_filter_module=dynamic 
--with-http_mp4_module 
--with-http_perl_module=dynamic 
--with-http_random_index_module 
--with-http_realip_module 
--with-http_secure_link_module 
--with-http_slice_module 
--with-http_ssl_module 
--with-http_stub_status_module 
--with-http_sub_module 
--with-http_v2_module 
--with-http_xslt_module=dynamic 
--with-mail=dynamic 
--with-mail_ssl_module 
--with-pcre 
--with-pcre-jit 
--with-stream=dynamic 
--with-stream_ssl_module 
--with-stream_ssl_preread_module 
--with-threads 
--with-cc-opt='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 
--with-ld-opt='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-E'

33

相关文章:

  • SpringBoot框架下体育馆管理系统的构建
  • Leetcode 887. 鸡蛋掉落
  • SpringBoot启动过程简述 和 SpringCloud 的五大组键
  • C语言编写一个五子棋游戏-代码实例讲解与分析
  • 给 git 添加扩展命令
  • Qt实现远程开关机
  • Flink Lookup Join的工作原理、性能优化和应用场景
  • systemd使用入门
  • 数据结构——顺序表(基础代码题)
  • golang 如何生成唯一的 UUID
  • 一个OpenHarmony rk3568编译问题
  • 品牌增长新引擎:TikTok达人内容营销策略解析
  • 6--苍穹外卖-SpringBoot项目中菜品管理 详解(二)
  • spring boot 项目中redis的使用,key=value值 如何用命令行来查询并设置值。
  • Python编码系列—Python访问者模式:为对象结构添加新功能的艺术
  • 【翻译】babel对TC39装饰器草案的实现
  • Bytom交易说明(账户管理模式)
  • CSS3 聊天气泡框以及 inherit、currentColor 关键字
  • iOS 系统授权开发
  • js正则,这点儿就够用了
  • leetcode讲解--894. All Possible Full Binary Trees
  • macOS 中 shell 创建文件夹及文件并 VS Code 打开
  • MySQL的数据类型
  • Rancher-k8s加速安装文档
  • 百度小程序遇到的问题
  • 分布式熔断降级平台aegis
  • 基于Dubbo+ZooKeeper的分布式服务的实现
  • 解决iview多表头动态更改列元素发生的错误
  • 算法---两个栈实现一个队列
  • scrapy中间件源码分析及常用中间件大全
  • 格斗健身潮牌24KiCK获近千万Pre-A轮融资,用户留存高达9个月 ...
  • 湖北分布式智能数据采集方法有哪些?
  • 专访Pony.ai 楼天城:自动驾驶已经走过了“从0到1”,“规模”是行业的分水岭| 自动驾驶这十年 ...
  • ​Kaggle X光肺炎检测比赛第二名方案解析 | CVPR 2020 Workshop
  • ​草莓熊python turtle绘图代码(玫瑰花版)附源代码
  • #C++ 智能指针 std::unique_ptr 、std::shared_ptr 和 std::weak_ptr
  • #if等命令的学习
  • $(this) 和 this 关键字在 jQuery 中有何不同?
  • $.ajax中的eval及dataType
  • $Django python中使用redis, django中使用(封装了),redis开启事务(管道)
  • (1)Nginx简介和安装教程
  • (4)Elastix图像配准:3D图像
  • (CVPRW,2024)可学习的提示:遥感领域小样本语义分割
  • (undone) MIT6.824 Lecture1 笔记
  • (更新)A股上市公司华证ESG评级得分稳健性校验ESG得分年均值中位数(2009-2023年.12)
  • (一一四)第九章编程练习
  • (转)JVM内存分配 -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m
  • (转)LINQ之路
  • (转)微软牛津计划介绍——屌爆了的自然数据处理解决方案(人脸/语音识别,计算机视觉与语言理解)...
  • **PyTorch月学习计划 - 第一周;第6-7天: 自动梯度(Autograd)**
  • ..thread“main“ com.fasterxml.jackson.databind.JsonMappingException: Jackson version is too old 2.3.1
  • .NET Framework 3.5安装教程
  • .NET Framework 和 .NET Core 在默认情况下垃圾回收(GC)机制的不同(局部变量部分)
  • .Net MVC4 上传大文件,并保存表单
  • .NET 表达式计算:Expression Evaluator