Changes

Jump to: navigation, search

OPS705 Lab 4 (2211)

53 bytes added, 13:02, 2 February 2021
m
Part 2: Managing the httpd (Apache) Service
# Finally, check the web server is serving web pages by loading a page locally. Run: <code>curl localhost</code> If you get a bunch of HTML code, you've succeeded! Curl doesn't render HTML code, so you see it as plain text. This is how we check the web server works without dealing with networking.
# Remember from our lecture, there's a difference between ''systemctl start'' and ''systemctl enable''. To ensure the web server starts up with the system every time, run: <code>systemctl enable httpd</code>
# In a browser on your computer, copy Copy and paste the '''Public DNS''' address from the EC2 Instance details page for your Linux VMinto a browser on your computer. It doesn't load, does it? We're not done. Move to '''Investigation 2''' to deal with the firewall.
= INVESTIGATION 2: Configuring Your Linux Firewall =

Navigation menu