- Log in to post comments
- List available Nginx Version
[root@testsvr01 ~]# yum module list nginx
Last metadata expiration check: 0:03:22 ago on Wed 07 Dec 2022 06:36:16 PM UTC.
CentOS Stream 8 - AppStream
Name Stream Profiles Summary
nginx 1.14 [d][e] common [d] nginx webserver
nginx 1.16 common [d] nginx webserver
nginx 1.18 common [d] nginx webserver
nginx 1.20 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
[root@testsvr01 ~]#
[root@testsvr01 ~]# yum module reset nginx
Last metadata expiration check: 0:03:39 ago on Wed 07 Dec 2022 06:36:16 PM UTC.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Resetting modules:
nginx
Transaction Summary
================================================================================
Is this ok [y/N]: y
Complete!
root@testsvr01 yum.repos.d]# yum module enable nginx:1.20
Last metadata expiration check: 0:04:22 ago on Wed 07 Dec 2022 06:36:16 PM UTC.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Enabling module streams:
nginx 1.20
Transaction Summary
================================================================================
Is this ok [y/N]: y
Complete!
[root@testsvr01 ~]# yum install nginx