How do I install and start the Apache httpd service in RHEL 7?
Issue
- I'm trying to install/start apache service in a RHEL 7 system and I'm having the following error message:
[root@rhel7 ~]# service apache start
Redirecting to /bin/systemctl start apache.service
Failed to issue method call: Unit apache.service failed to load: No such file or directory.
[root@rhel7 ~]# service apache status
Redirecting to /bin/systemctl status apache.service
apache.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@rhel7 ~]# yum install apache
Loaded plugins: langpacks, product-id, subscription-manager
No package apache available
Error: Nothing to do
Environment
- Red Hat Enterprise Linux Server 7
- httpd-2.4.6-18.el7_0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
