Hyper Expert /Blog
About
Archives

HOW-TO: Install Apache2 Web Server on Ubuntu 16.04 LTS

Installing Apache2 Web Server on Ubuntu is a very easy and pretty straight forward process. Once you are logged on to your Ubuntu instance, launch Terminal if in GUI or just issue the command (without GUI):

sudo apt-get install apache2

Enter your password

Verify the packages that will be installed, then type y for yes and press Enter

Thats it! If you don’t encounter any errors, you are basically done. Browse to your server’s IP address, you should see Apache’s default page

By default, Apache reads files from /var/www/html/. In order to change the default page, you need to remove/move/backup/overwrite the default index.html file /var/www/html/index.html with your own.

//////

Hi, my name is Ali. I am a Systems Engineer. I live in the beautiful Evergreen state. I have a Bachelor degree of science in Information Technology with a handful of accompanying I.T. certificates. I also have a degree in Computer Networking. I am an Apple Certified Technician, Microsoft MCITP and a Linux expert.

2 Comments

  1. HOW-TO: Install PHP7 on Ubuntu 16.04 LTS | Hyper Expert · September 23, 2016

    […] follow this guide to install Apache2 Web Server if not already […]

    Reply
  2. HOW-TO: Install MySQL Server with phpMyAdmin on Ubuntu 16.04 LTS | Hyper Expert · September 23, 2016

    […] MySQL server with phpMyAdmin to manage it. phpMyAdmin requires Apache2 to be installed, refer to this guide if you don’t already have it […]

    Reply

Would you like to share your thoughts?