From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Install Apache

Install Apache

- [Male Voiceover] We need to install the Apache web server now. You will want to be logged in to RH Host 1 with a terminal open. To install the server package and the tools type in sudo space yum space install space dash y space H-T-T-P-D and hit enter. This will also install the H-T-T-P-D dash tools package which we want. Now let's start the service and enable it so it starts up boot. Type in clear and then type in sudo space system C-T-L space start space H-T-T-P-D and hit enter. Now ensure it starts at boot by bringing your line back and changing start to enable and hit enter again. Now we need to open a port in the fire wall. Type in clear and then type in sudo space firewall dash C-M-D space dash dash permanent space dash dash add dash service space H-T-T-P and hit enter. Now reload the firewall rules by typing in sudo space firewall dash C-M-D space dash dash reload. Now we should be able to view the default webpage. Open up Firefox and browse the local host. We see the welcome…

Contents