Part 7 Prac 5 : Install, Configure, And Troubleshoot Linux Web Server (Apache).
Linux Web server implementations : Apache server Nginx Lighttpd Apache Tomcat Monkey HTTP Daemon (used especially for embedded systems) There are more Linux web servers, but this list is the most used web servers. The most used web servers are Apache and Nginx. About Apache Web server : It is stable. It is flexible. It is secure. Install Apache Web server You can install Apache server on Red Hat based distros using the following command: $ dnf -y httpd Or if you are using a Debian-based distro, you can install it like this: $ apt-get -y install apache2 The Apache web server service is called httpd on Red Hat based distros like CentOS, while it is called apache2 in Debian based distros. If you are using a firewall like iptables, you should add a rule for port 80. $ iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT Or if you are using firewalld, you can use the following command: $ firewall-cmd --add-port=80/tcp To start your service and enable it...