From the course: Linux: Firewalls and SELinux
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Allowing the Apache web server - Linux Tutorial
From the course: Linux: Firewalls and SELinux
Allowing the Apache web server
- [Voiceover] If you want to set up an Apache web server, you're going to, of course, install Apache and get it turned on, and you're going to place your index.html file where it needs to go and do all of that stuff, but you're going to need to open up a port to make that stuff available to anybody who's not on the computer that's running the website. So how do we go about doing that? Well, it's a simple process of entering a firewall command to add a service into the default zone we've set up, so let's do that right now. In the first movie of this chapter, we set up MDNS, or Bonjour, as a service that we were adding after the fact as a test, just so we could get that done. And I'm just going to up arrow because I've just completed that, and I get back that same command. All I need to do is backspace over the MDNS and put in "http." If I do so, I can hit return. Success, and if I type in "https" I will also get success and that gives me both port 80 and port 443. Gives me everything I…
Contents
-
-
-
-
(Locked)
Firewall-cmd configuration preparation10m 15s
-
(Locked)
Allowing the Apache web server2m 54s
-
(Locked)
Allowing any mail server4m 6s
-
(Locked)
Allowing an XMPP server2m 59s
-
(Locked)
Allowing an SMB server3m 8s
-
(Locked)
Allowing an NFS server3m 33s
-
(Locked)
Allowing an LDAP server4m 49s
-
(Locked)
Allowing a PostgreSQL server3m 41s
-
(Locked)
Allowing FTP and SFTP servers4m 25s
-
(Locked)
VM Port Forwarding2m 4s
-
(Locked)
ShieldsUP! panic mode2m 35s
-
(Locked)
-
-
-
-