11.7 Enabling, Disabling and Masking systemd Units
A newly installed Fedora 31 system will include the base systemd service units but is unlikely to include all of the services that will eventually be needed by the system once it goes into a production environment. A basic Fedora 31 installation, for example, will typically not include the packages necessary to run an Apache web server, a key element of which is the httpd.service unit.
The system administrator will resolve this problem by installing the necessary httpd packages using the following command:
# dnf install httpd
Having configured the web server, the next task will be to check the status of the httpd service unit to identify whether it was activated as part of the installation process:
# systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: inactive...