In this tutorial, we will learn how to install Apache Web Server on Ubuntu 14.04 LTS (Trusty Tahr) . The new Ubuntu version 14.04 LTS (Long Term Support) has been introduced with many new features. Because it is LTS version, it will be supported for 5 years since the date of its release(17/April/2014).
Apache software foundation manage the Open Source Project called “Apache HTTP Server” . It is one of the most popular web server in Internet World.
In Ubuntu 14.04 LTS, apache 2.4 version has been shipped by defualt.Whereas this is a major version upgrade from Apache 2.2 in Ubuntu 12.04 LTS.
Note: We suggest you to read the Apache upgrade notes.
Install Apache Web Server on Ubuntu 14.04 LTS (Trusty Tahr)
At the time of writing this post, the current stable version of Apache HTTP Server is 2.4.9 (Released date: 2014-03-17)
Run the below given command to install Apache HTTP Server
sudo apt-get update sudo apt-get install apache2
- To stop the Apache Service
sudo service apache2 stop
- To start Apache Service
sudo service apache2 start
- To check status of Apache Service
sudo service apache2 status
Open the Welcome page of Apache HTTP Server
Just after installation of Apache HTTP Server, open the web browser and type IP Address of the Web Server.
In my practical, my web server IP Address is 192.168.56.101 . Replace with your Server IP Address (run
ifconfig command to get IP Address)
Note: In Ubuntu 14.04 LTS, the default welcome page of Apache HTTP Server is changed. Now it has some useful information.
See the below given screenshot of my web browser.
I will recommend you to read the Apache Welcome page once.
If you have not install Apache in your system and want to know about what is written on apache Welcome page. I am sharing the screenshot of complete Apache Welcome page as it is.
Leave a Reply