From Fedora Project Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|description= Listing all enabled and disabled modules in Fedora 27 Modular Server | |description= Listing all enabled and disabled modules in Fedora 27 Modular Server | ||
|setup= | |setup= | ||
# Download | # Download a [https://kojipkgs.fedoraproject.org/compose/ nightly image] or [https://kojipkgs.fedoraproject.org/compose/27/ RC] of Fedora 27 Modular Server | ||
# Login | # Continue to install on a VM or Baremetal | ||
# Login from the Cockpit Web-UI or server with the created user or root | |||
|actions= | |actions= | ||
Listing All Modules: | === Listing All Modules: === | ||
# Execute dnf module list --all | # Execute <code> dnf module list --all </code> | ||
Listing All | === Listing All Enbaled Modules: === | ||
# Execute dnf module list --enabled | # Execute <code> dnf module list --enabled </code> | ||
Listing All | === Listing All Disabled Modules: === | ||
# Execute dnf module list --disabled | # Execute <code> dnf module list --disabled </code> | ||
=== Listing All Installed modules === | |||
# Execute <code> dnf module list --installed </code> | |||
|results= | |results= | ||
Line 27: | Line 31: | ||
}} | }} | ||
# The second command prints all the modules which are enabled in the the system | # The second command prints all the modules which are enabled in the the system | ||
{{#tag:pre| | |||
dnf module list --enabled | |||
Last metadata expiration check: 2:26:47 ago on Fri 10 Nov 2017 03:35:01 AM IST. | |||
Fedora Modular Server 27 - x86_64 | |||
Name Stream Version Profiles | |||
X11-base f27 [d][e] 20171103131108 default | |||
bind 9 [d][e] 20171018084824 client, default, ... | |||
freeipa 4.6 [d][e] 20171104182858 default | |||
hardware-support f27 [d][e] 20171017135323 | |||
host f27 [d][e] 20171107172526 | |||
httpd 2.4 [d][e] 20171106215612 default | |||
installer f27 [d][e] 20171030201659 default | |||
networking-base f27 [d][e] 20171107221720 default | |||
nodejs 8 [d][e] 20171101135042 default [i], development, ... | |||
platform f27 [d][e] 20171107221036 buildroot, srpm-buildroot | |||
postgresql 9.6 [d][e] 20171105174222 client, default [i], ... | |||
python2 master [d][e] 20171003150125 default, full, .. | |||
}} | |||
# The third command prints all the modules which are presently disabled | # The third command prints all the modules which are presently disabled | ||
{{#tag:pre| | |||
dnf module list --disabled | |||
Last metadata expiration check: 2:28:41 ago on Fri 10 Nov 2017 03:35:01 AM IST. | |||
Fedora Modular Server 27 - x86_64 | |||
Name Stream Version Profiles | |||
389-ds 1.3 [d] 20171102233352 default | |||
apache-commons f27 [d] 20171018085030 default | |||
autotools f27 [d] 20171018090442 default | |||
cloud-init f27 [d] 20171017101923 default | |||
fonts f27 [d] 20171106163600 default, everything | |||
java 8 [d] 20171025083238 default | |||
}} | |||
# The fourth command prints all the modules which are presently installed | |||
{{#tag:pre| | |||
dnf module list --installed | |||
Last metadata expiration check: 2:30:32 ago on Fri 10 Nov 2017 03:35:01 AM IST. | |||
Fedora Modular Server 27 - x86_64 | |||
Name Stream Version Profiles | |||
nodejs 8 [d][e] 20171101135042 default [i], development, ... | |||
postgresql 9.6 [d][e] 20171105174222 client, default [i], ... | |||
Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked | |||
}} | |||
|optional=Optionally provide hints for exploratory testing. | |optional=Optionally provide hints for exploratory testing. | ||
}} | }} |
Latest revision as of 00:37, 10 November 2017
Description
Listing all enabled and disabled modules in Fedora 27 Modular Server
Setup
- Download a nightly image or RC of Fedora 27 Modular Server
- Continue to install on a VM or Baremetal
- Login from the Cockpit Web-UI or server with the created user or root
How to test
Listing All Modules:
# Execute dnf module list --all
Listing All Enbaled Modules:
# Execute dnf module list --enabled
Listing All Disabled Modules:
# Execute dnf module list --disabled
Listing All Installed modules
# Execute dnf module list --installed
Expected Results
The commands execute without error
- The first command prints all the modules with their stream , version and profile details.
dnf module list --all Last metadata expiration check: 2:18:16 ago on Fri 10 Nov 2017 03:35:01 AM IST. Fedora Modular Server 27 - x86_64 Name Stream Version Profiles 389-ds 1.3 [d] 20171102233352 default X11-base f27 [d][e] 20171103131108 default Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
- The second command prints all the modules which are enabled in the the system
dnf module list --enabled Last metadata expiration check: 2:26:47 ago on Fri 10 Nov 2017 03:35:01 AM IST. Fedora Modular Server 27 - x86_64 Name Stream Version Profiles X11-base f27 [d][e] 20171103131108 default bind 9 [d][e] 20171018084824 client, default, ... freeipa 4.6 [d][e] 20171104182858 default hardware-support f27 [d][e] 20171017135323 host f27 [d][e] 20171107172526 httpd 2.4 [d][e] 20171106215612 default installer f27 [d][e] 20171030201659 default networking-base f27 [d][e] 20171107221720 default nodejs 8 [d][e] 20171101135042 default [i], development, ... platform f27 [d][e] 20171107221036 buildroot, srpm-buildroot postgresql 9.6 [d][e] 20171105174222 client, default [i], ... python2 master [d][e] 20171003150125 default, full, ..
- The third command prints all the modules which are presently disabled
dnf module list --disabled Last metadata expiration check: 2:28:41 ago on Fri 10 Nov 2017 03:35:01 AM IST. Fedora Modular Server 27 - x86_64 Name Stream Version Profiles 389-ds 1.3 [d] 20171102233352 default apache-commons f27 [d] 20171018085030 default autotools f27 [d] 20171018090442 default cloud-init f27 [d] 20171017101923 default fonts f27 [d] 20171106163600 default, everything java 8 [d] 20171025083238 default
- The fourth command prints all the modules which are presently installed
dnf module list --installed Last metadata expiration check: 2:30:32 ago on Fri 10 Nov 2017 03:35:01 AM IST. Fedora Modular Server 27 - x86_64 Name Stream Version Profiles nodejs 8 [d][e] 20171101135042 default [i], development, ... postgresql 9.6 [d][e] 20171105174222 client, default [i], ... Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
Optional
Optionally provide hints for exploratory testing.