Join Sean Colins for an in-depth discussion in this video Allowing the Apache web server, part of Linux: Firewalls and SELinux.
- [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 need for both secure and unsecure…
- Working with iptables
- Installing Firewalld
- Exploring zones and services
- Allowing the Apache web server
- Allowing FTP and SFTP servers
- Installing SELinux utils
- Setting discretionary or mandatory access
- Installing SELinux man pages
- Working with Booleans
- Changing context labels
- Running sepolicy
- Finding SELinux logs
- Making domains permissive
- Disabling and reenabling SELinux
Skill Level Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Firewall Basics on Linux
2. Configuring Firewalld for Local Protection
3. SELinux Fundamentals
4. Working with SELinux
5. SELinux Troubleshooting
Next steps3m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.