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
From the course: Red Hat Enterprise Linux 8 Essential Training
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.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
Web services introduction44s
-
(Locked)
Install and configure Apache4m 47s
-
(Locked)
Manage SELinux for web services3m 22s
-
(Locked)
Configure a basic Apache web server2m 6s
-
(Locked)
Configure access control on directories2m 2s
-
(Locked)
Configure private access using basic auth7m 24s
-
(Locked)
Configure group-managed content7m 32s
-
(Locked)
Configure a virtual host5m 36s
-
(Locked)
Configure a virtual host on a nonstandard port6m 5s
-
(Locked)
Configure a secure virtual host4m 24s
-
Deploy a basic CGI application2m 24s
-
(Locked)
Generating key pairs and self-signed certificates4m 28s
-
(Locked)
Challenge: Web services private site53s
-
(Locked)
Solution: Web services private site6m 25s
-
(Locked)
Deploy a basic CGI application2m 13s
-
-
-
-
-
-