From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

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

Install and configure Apache

Install and configure Apache

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Install and configure Apache

- [Instructor] We need to install the Apache web server now. You will want to be logged into your RH host one VM with the terminal open. To install the server package, support for encrypted websites and the tools, type in sudo space dnf space install space dash Y space httpd space mod underscore ssl space open ssl, and hit enter. Type in your password if prompted. This will also install the httpd dash tools package which we want. These packages may already be installed. Now let's start the service and enable it, so it starts at boot. Type in sudo space systemctl space start space httpd and hit enter. Then bring your line back and change start to enable. Then hit enter again. Now we need to open a port in the firewall. First, let's double-check the default zone. Type in clear. Then type in sudo space firewall dash cmd space dash dash get dash default dash zone and hit enter. If it's public, then let's continue.…

Contents