How Do You Install Apache Web Server on Ubuntu Linux?

Problem scenario
You want to install Apache web server on your Ubuntu Linux server.  How do you do it?

Solution
As root, run this command:  apt-get install apache2
To verify it is installed correctly run this:  apache2 -l
To start the web service, run this:  systemctl start apache2

Leave a comment

Your email address will not be published. Required fields are marked *