mount /dev/sr1 /mnt mount –o loop –t iso9660 rhel.iso /mnt
mkdir /opt/cdrom cp -fr /mnt/* /opt/cdrom
# CentOS7-Media.repo [root@docker1 yum.repos.d]# cat CentOS-Media.repo # CentOS-Media.repo # # This repo can be used with mounted DVD media, verify the mount point for # CentOS-7. You can use this repo and yum to install items directly off the # DVD ISO that we release. # # To use this repo, put in your DVD and use it with the other repos too: # yum --enablerepo=c7-media [command] # # or for ONLY the media repo, do this: # # yum --disablerepo=\* --enablerepo=c7-media [command]
help 命令的帮助信息,用法:yum helpcommand clean 清除缓存数据,如yum clean all makecache 生成元数据缓存数据,yum makecache deplist 列出包的依赖关系 erase 卸载包 fs 为当前文件系统创建快照,或者列出或删除当前已有快照。 快照是非常有用的,升级或打补丁前拍个快照,就能放心地升级或打补丁了 fssnapshot 同fs一样 groups 操作包组 history 查看yum事务信息,yum是独占模式的进程,所以有时候查看事务信息还是有用的 info 输出包或包组的信息,例如该包是谁制作的,大概是干什么用的,来源于哪个包组等信息 install 包安装命令 list 列出包名,一般会结合grep来搜索包,如yum list all | grep -i zabbix provides 搜索给定的内容是谁提供的,可用来搜索文件来源于哪个包,如 yum provides '*bin/mysql'可搜索mysql命令来源于何处 reinstall 重新安装包 repolist 列出可用的仓库列表 search 给定字符串搜索相关包,并给出相关包较为详细的信息 update 更新包
Plugin Commands
从8开始:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
builddep Install build dependencies for package or spec file changelog Show changelog data of packages config-manager manage yum configuration options and repositories copr Interact with Copr repositories. debug-dump dump information about installed rpm packages to file debug-restore restore packages recorded in debug-dump file debuginfo-install install debuginfo packages download Download package to current directory groups-manager create and edit groups metadata file needs-restarting determine updated binaries that need restarting offline-distrosync Prepare offline distrosync of the system offline-upgrade Prepare offline upgrade of the system playground Interact with Playground repository. repoclosure Display a list of unresolved dependencies for repositories repodiff List differences between two sets of repositories repograph Output a full package dependency graph in dot format repomanage Manage a directory of rpm packages reposync download all packages from remote repo system-upgrade Prepare system for upgrade to a new release
Options: -R [minutes], --randomwait=[minutes]:最多等待时间 -q, --quiet 安静模式 -v, --verbose 详细模式 -y, --assumeyes 对所有问题回答yes --assumeno 对所有问题回答no --enablerepo=[repo] 启用一个或多个仓库,可用通配符通配仓库ID --disablerepo=[repo] 禁用一个或多个仓库,可用通配符通配仓库ID -x [package], --exclude=[package] 通配要排除的包 --nogpgcheck 禁用gpgcheck --color=COLOR 带颜色 --downloadonly 仅下载包,不安装或升级。默认下载在yum的缓存目录 /var/cache/yum/$basearch/$releasever --downloaddir=DLDIR 指定下载目录 -c [config file], --config [config file] config file location -q, --quiet quiet operation -v, --verbose verbose operation --version show YUM version and exit --installroot [path] set install root --nodocs do not install documentations --noplugins disable all plugins --enableplugin [plugin] enable plugins by name --disableplugin [plugin] disable plugins by name --releasever RELEASEVER override the value of $releaseverin config and repo files --setopt SETOPTS set arbitrary config and repo options --skip-broken resolve depsolve problems by skipping packages -h, --help, --help-cmd show commandhelp --allowerasing allow erasing of installed packages to resolve dependencies -b, --best try the best available package versions in transactions. --nobest do not limit the transaction to the best candidate -C, --cacheonly run entirely from system cache, don't update cache -R [minutes], --randomwait [minutes] maximum command wait time -d [debug level], --debuglevel [debug level] debugging output level --debugsolver dumps detailed solving results into files --showduplicates show duplicates, in repos, in list/search commands -e ERRORLEVEL, --errorlevel ERRORLEVEL error output level --obsoletes enables yum's obsoletes processing logic for upgrade or display capabilities that the package obsoletes for info, list and repoquery --rpmverbosity [debug level name] debugging output level for rpm -y, --assumeyes automatically answer yesfor all questions --assumeno automatically answer no for all questions --enablerepo [repo] Temporarily enable repositories for the purpose of the current dnf command. Accepts an id, a comma-separated list of ids, or a glob of ids. This option can be specified multiple times. --disablerepo [repo] Temporarily disable active repositories for the purpose of the current dnf command. Accepts an id, a comma-separated list of ids, or a glob of ids. This option can be specified multiple times, but is mutually exclusive with `--repo`. --repo [repo], --repoid [repo] enable just specific repositories by an id or a glob, can be specified multiple times --enableenable repos with config-manager command (automatically saves) --disabledisable repos with config-manager command (automatically saves) -x [package], --exclude [package], --excludepkgs [package] exclude packages by name or glob --disableexcludes [repo], --disableexcludepkgs [repo] disable excludepkgs --repofrompath [repo,path] label and path to an additional repository to use (same path as in a baseurl), can be specified multiple times. --noautoremove disable removal of dependencies that are no longer used --nogpgcheck disable gpg signature checking (if RPM policy allows) --color COLOR control whether color is used --refresh set metadata as expired before running the command -4 resolve to IPv4 addresses only -6 resolve to IPv6 addresses only --destdir DESTDIR, --downloaddir DESTDIR set directory to copy packages to --downloadonly only download packages --comment COMMENT add a comment to transaction --bugfix Include bugfix relevant packages, in updates --enhancement Include enhancement relevant packages, in updates --newpackage Include newpackage relevant packages, in updates --security Include security relevant packages, in updates --advisory ADVISORY, --advisories ADVISORY Include packages needed to fix the given advisory, in updates --bz BUGZILLA, --bzs BUGZILLA Include packages needed to fix the given BZ, in updates --cve CVES, --cves CVES Include packages needed to fix the given CVE, in updates --sec-severity {Critical,Important,Moderate,Low}, --secseverity {Critical,Important,Moderate,Low} Include security relevant packages matching the severity, in updates --forcearch ARCH Force the use of an architecture
# 例如当前bash版本为 [root@vagrant ~]# bash --version bash --version GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# 查找指定关键字的rpm包 [root@docker2 ~]# yum search openssl Last metadata expiration check: 22:13:44 ago on Tue 04 Jun 2024 06:57:20 PM CST. ============================================================================== Name Exactly Matched: openssl ============================================================================== openssl.x86_64 : Utilities from the general purpose cryptography library with TLS implementation ============================================================================= Name & Summary Matched: openssl ============================================================================= apr-util-openssl.x86_64 : APR utility library OpenSSL crypto support openssl-devel.x86_64 : Files for development of applications which will use OpenSSL openssl-devel.i686 : Files for development of applications which will use OpenSSL openssl-fips-provider.i686 : FIPS module for OpenSSL openssl-fips-provider.x86_64 : FIPS module for OpenSSL openssl-perl.x86_64 : Perl scripts provided with OpenSSL openssl-pkcs11.x86_64 : A PKCS#11 engine for use with OpenSSL openssl-pkcs11.i686 : A PKCS#11 engine for use with OpenSSL perl-Crypt-OpenSSL-Bignum.x86_64 : Perl interface to OpenSSL for Bignum perl-Crypt-OpenSSL-RSA.x86_64 : Perl interface to OpenSSL for RSA perl-Crypt-OpenSSL-Random.x86_64 : OpenSSL/LibreSSL pseudo-random number generator access rsyslog-openssl.x86_64 : TLS protocol support for rsyslog via OpenSSL library xmlsec1-openssl.x86_64 : OpenSSL crypto plugin for XML Security Library xmlsec1-openssl.i686 : OpenSSL crypto plugin for XML Security Library ================================================================================== Name Matched: openssl ================================================================================== compat-openssl11.i686 : Utilities from the general purpose cryptography library with TLS implementation compat-openssl11.x86_64 : Utilities from the general purpose cryptography library with TLS implementation openssl-libs.x86_64 : A general purpose cryptography library with TLS implementation openssl-libs.i686 : A general purpose cryptography library with TLS implementation ================================================================================ Summary Matched: openssl ================================================================================= perl-Net-SSLeay.x86_64 : Perl extension for using OpenSSL qatengine.x86_64 : Intel QuickAssist Technology (QAT) OpenSSL Engine [root@docker2 ~]#
[root@vagrant ~]# yum info openssl Last metadata expiration check: 4:41:31 ago on Fri 07 Jun 2024 04:48:06 AM CST. Installed Packages # 已安装的 Name : openssl Epoch : 1 Version : 3.0.7 Release : 24.0.1.el9 Architecture : x86_64 Size : 1.8 M Source : openssl-3.0.7-24.0.1.el9.src.rpm Repository : @System From repo : anaconda Summary : Utilities from the general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : ASL 2.0 Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols.
Available Packages # 可用的 Name : openssl Epoch : 1 Version : 3.0.7 Release : 27.0.3.el9 Architecture : x86_64 Size : 1.3 M Source : openssl-3.0.7-27.0.3.el9.src.rpm Repository : ol9_baseos_latest Summary : Utilities from the general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : ASL 2.0 Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols.
Name : openssl Epoch : 1 Version : 3.0.7 Release : 27.0.3.el9 Architecture : src Size : 15 M Source : None Repository : ol9_appstream Summary : Utilities from the general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : ASL 2.0 Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols.
Name : openssl Epoch : 1 Version : 3.0.7 Release : 27.0.3.el9 Architecture : src Size : 15 M Source : None Repository : ol9_baseos_latest Summary : Utilities from the general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : ASL 2.0 Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols.
yum provides
1
yum provides ip
dnf repoquery
1 2 3 4 5 6 7
# 只依据包名称查询 [root@vagrant ~]# dnf repoquery 'net*tools' Last metadata expiration check: 1:57:36 ago on Fri 07 Jun 2024 09:42:12 AM CST. net-tools-0:2.0-0.62.20160912git.el9.src net-tools-0:2.0-0.62.20160912git.el9.x86_64 netlabel_tools-0:0.30.0-13.el9.src netlabel_tools-0:0.30.0-13.el9.x86_64
[root@vagrant ~]# dnf group list installed Last metadata expiration check: 4:25:23 ago on Fri 07 Jun 2024 04:48:06 AM CST. Installed Environment Groups: Minimal Install [root@vagrant ~]# dnf grouplist installed Last metadata expiration check: 4:25:57 ago on Fri 07 Jun 2024 04:48:06 AM CST. Installed Environment Groups: Minimal Install
# 列出所有组 [root@vagrant ~]# dnf grouplist Last metadata expiration check: 4:28:40 ago on Fri 07 Jun 2024 04:48:06 AM CST. Available Environment Groups: Server with GUI Server Workstation Custom Operating System Virtualization Host Installed Environment Groups: Minimal Install Available Groups: Legacy UNIX Compatibility Console Internet Tools Container Management Development Tools .NET Development Graphical Administration Tools Headless Management Network Servers RPM Development Tools Scientific Support Security Tools Smart Card Support System Tools
如上两种写法都可以。
1 2 3 4 5 6 7 8 9 10
# 列出隐藏组 # 有些组一般通过环境组安装,默认为隐藏 [root@vagrant ~]# dnf grouplist hidden installed Last metadata expiration check: 4:27:11 ago on Fri 07 Jun 2024 04:48:06 AM CST. Installed Environment Groups: Minimal Install Installed Groups: Core VMware platform specific packages [root@vagrant ~]#
# 例如当前bash版本为 [root@vagrant ~]# bash --version bash --version GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 [comments abridged] # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d
Module command-specific options: --enabled show only enabled modules --disabled show only disabled modules --installed show only installed modules or packages --profile show profile content --available show only available packages --all remove all modular packages
<modular command> disable: disable a module with all its streams enable: enable a module stream info: print detailed information about a module install: install a module profile including its packages list: list all module streams, profiles and states provides: list modular packages remove: remove installed module profiles and their packages repoquery: list packages belonging to a module reset: reset a module switch-to: switch a module to a stream and distrosync rpm packages update: update packages associated with an active stream module-spec Module specification
# 列出可用模块列表 [root@vagrant ~]# yum module list Last metadata expiration check: 0:26:57 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary mariadb 10.11 client, galera, server [d] MariaDB Module maven 3.8 common [d] Java project management and project comprehension tool nginx 1.22 common [d] nginx webserver nginx 1.24 common [d] nginx webserver nodejs 18 common [d], development, minimal, s2i Javascript runtime nodejs 20 common [d], development, minimal, s2i Javascript runtime php 8.1 common [d], devel, minimal PHP scripting language php 8.2 common [d], devel, minimal PHP scripting language postgresql 15 client, server [d] PostgreSQL server and client module postgresql 16 client, server [d] PostgreSQL server and client module redis 7 common [d] Redis persistent key-value database ruby 3.1 common [d] An interpreter of object-oriented scripting language ruby 3.3 common [d] An interpreter of object-oriented scripting language
[root@vagrant ~]# yum module list postgresql Last metadata expiration check: 0:23:26 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary postgresql 15[d][e] client, server [d] PostgreSQL server and client module postgresql 16 client, server [d] PostgreSQL server and client module
[root@vagrant ~]# yum module list nginx Last metadata expiration check: 0:36:49 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@vagrant ~]# yum module info --profile [common] nginx:1.22 Last metadata expiration check: 0:38:12 ago on Fri 07 Jun 2024 09:42:12 AM CST. Unable to resolve argument common Name : nginx:1.22:9020020221218004026:9:x86_64 common : nginx : nginx-all-modules : nginx-filesystem : nginx-mod-http-image-filter : nginx-mod-http-perl : nginx-mod-http-xslt-filter : nginx-mod-mail : nginx-mod-stream
Name : nginx:1.22:9020020231011212752:f855f1a9:x86_64 common : nginx : nginx-all-modules : nginx-filesystem : nginx-mod-http-image-filter : nginx-mod-http-perl : nginx-mod-http-xslt-filter : nginx-mod-mail : nginx-mod-stream
Name : nginx:1.22:9030020231109020034:1b7ac61d:x86_64 common : nginx : nginx-all-modules : nginx-filesystem : nginx-mod-http-image-filter : nginx-mod-http-perl : nginx-mod-http-xslt-filter : nginx-mod-mail : nginx-mod-stream
# 启用指定的模块流 # 注意:对于指定模块,只能启用一个模块流,启用其他模块流将会禁用原始的模块流。 [root@vagrant ~]# yum module list nginx Last metadata expiration check: 0:41:40 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@vagrant ~]# yum module enable nginx:1.22 Last metadata expiration check: 0:42:00 ago on Fri 07 Jun 2024 09:42:12 AM CST. Dependencies resolved. ====================================================================================================================================================================== Package Architecture Version Repository Size ====================================================================================================================================================================== Enabling module streams: nginx 1.22
Is this ok [y/N]: y Complete! [root@vagrant ~]# yum module list nginx Last metadata expiration check: 0:42:14 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 [e] common [d] nginx webserver nginx 1.24 common [d] nginx webserver
[root@vagrant ~]# yum module list nginx Last metadata expiration check: 0:51:42 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 [e] common [d] nginx webserver nginx 1.24 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@vagrant ~]# yum module switch-to nginx:1.24 Last metadata expiration check: 0:51:59 ago on Fri 07 Jun 2024 09:42:12 AM CST. Dependencies resolved. =========================================================================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================================================================== Switching module streams: nginx 1.22 -> 1.24
Is this ok [y/N]: y Complete! [root@vagrant ~]# yum module list nginx Last metadata expiration check: 0:52:08 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 [e] common [d] nginx webserver
[root@vagrant ~]# yum module list nginx Last metadata expiration check: 1:02:13 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 [e] common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@vagrant ~]# yum module install nginx:1.24 Last metadata expiration check: 1:03:53 ago on Fri 07 Jun 2024 09:42:12 AM CST. Dependencies resolved. =========================================================================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================================================================== Installing group/module packages: nginx x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 46 k nginx-all-modules noarch 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 8.0 k nginx-filesystem noarch 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 8.9 k nginx-mod-http-image-filter x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 20 k nginx-mod-http-perl x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 36 k nginx-mod-http-xslt-filter x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 18 k nginx-mod-mail x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 53 k nginx-mod-stream x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 80 k Installing dependencies: gd x86_64 2.3.2-3.el9 ol9_appstream 132 k jbigkit-libs x86_64 2.1-23.el9 ol9_appstream 58 k libXpm x86_64 3.5.13-10.el9 ol9_appstream 62 k libtiff x86_64 4.4.0-12.el9 ol9_appstream 204 k libwebp x86_64 1.2.0-8.el9_3 ol9_appstream 286 k nginx-core x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 599 k oracle-logos-httpd noarch 90.2-1.0.4.el9 ol9_baseos_latest 37 k Installing module profiles: nginx/common
Complete! [root@vagrant ~]# yum module list nginx Last metadata expiration check: 1:04:38 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 [e] common [d] [i] nginx webserver
Installing group/module packages: # 模块流配置文件中指定的包 nginx x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 46 k nginx-all-modules noarch 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 8.0 k nginx-filesystem noarch 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 8.9 k nginx-mod-http-image-filter x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 20 k nginx-mod-http-perl x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 36 k nginx-mod-http-xslt-filter x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 18 k nginx-mod-mail x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 53 k nginx-mod-stream x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 80 k Installing dependencies: # 依赖包 gd x86_64 2.3.2-3.el9 ol9_appstream 132 k jbigkit-libs x86_64 2.1-23.el9 ol9_appstream 58 k libXpm x86_64 3.5.13-10.el9 ol9_appstream 62 k libtiff x86_64 4.4.0-12.el9 ol9_appstream 204 k libwebp x86_64 1.2.0-8.el9_3 ol9_appstream 286 k nginx-core x86_64 1:1.24.0-1.0.1.module+el9.4.0+90262+d5d126d9 ol9_appstream 599 k oracle-logos-httpd noarch 90.2-1.0.4.el9 ol9_baseos_latest 37 k Installing module profiles: nginx/common
使用yum module info查看配置文件中指定的需要安装的包
1 2 3 4 5 6 7 8 9 10 11 12 13
[root@vagrant ~]# yum module info --profile common nginx:1.24 Last metadata expiration check: 1:12:59 ago on Fri 07 Jun 2024 09:42:12 AM CST. Unable to resolve argument common Name : nginx:1.24:9040020240409052757:bc5b3234:x86_64 common : nginx : nginx-all-modules : nginx-filesystem : nginx-mod-http-image-filter : nginx-mod-http-perl : nginx-mod-http-xslt-filter : nginx-mod-mail : nginx-mod-stream [root@vagrant ~]#
[root@vagrant ~]# yum module list nginx Last metadata expiration check: 1:15:38 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 [e] common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@vagrant ~]# yum module reset nginx Last metadata expiration check: 1:15:54 ago on Fri 07 Jun 2024 09:42:12 AM CST. Dependencies resolved. ====================================================================================================================================================================== Package Architecture Version Repository Size ====================================================================================================================================================================== Resetting modules: nginx
Is this ok [y/N]: y Complete! [root@vagrant ~]# yum module list nginx Last metadata expiration check: 1:16:04 ago on Fri 07 Jun 2024 09:42:12 AM CST. Oracle Linux 9 Application Stream Packages (x86_64) Name Stream Profiles Summary nginx 1.22 common [d] nginx webserver nginx 1.24 common [d] nginx webserver