Install Apache2 on Linux

Install Apache2 on Linux

This tutorial goes through installing apache2 on bare metal. Nothing special. No configurations. Just installation. Supports major distros.

Install Apache2

This one liner should install the Apache2 web server, ready to go.

							
							
					sudo apt-get install apache2 -y # for Debian/Ubuntu related systems
sudo yum install -y httpd # for CentOS/RHEL based systems
sudo dnf install -y httpd # for Fedora systems				
			

That’s it! I hope you found it useful or at least enjoyed just the read!

Walter is a tech entrepreneur and in his free time loves fitness, art, writing, and exploring Montana's outdoors.