Install Apache Web Server on Ubuntu #
Apache HTTP Server is one of the most popular web servers in the world. This guide will show you how to install Apache Web Server on Ubuntu.
Steps to Install Apache Web Server #
-
Update your system:
sudo apt-get update
-
Install Apache Web Server:
sudo apt-get install apache2
-
Enable and start Apache service:
sudo systemctl enable apache2 sudo systemctl start apache2
-
Verify that Apache is running:
sudo systemctl status apache2
-
Open a web browser and navigate to
http://localhost
. You should see the default Apache2 page.
Congratulations! You have successfully installed Apache Web Server on Ubuntu.