Install Apache Web Server On Ubuntu
Install Apache Web Server is an Open Source Web Server available free in today’s costly world. This is the most generally utilized web server in the present everywhere throughout the world since It’s protected, Scalability, and better execution among another web server. You can install apache or apache2 in ubuntu. so
We can easily install an apache web server in ubuntu. Apache is the most popular HTTP web server and Commonly used in Linux and Unix environment. so
Advantages of Apache Web Server:
1. The source code of apache is available for free and no licensing is required.
2. You can modify the code and also fix the errors.
3. Apache can run on Almost all Operating Systems.
4. You can run multiple websites on a Single Apache Web Server.
Check Out: Configure Varnish To Work With Apache
New Features In Apache 2.4
1. Better Support for Non-Unix Platform
2. Ipv6 Support
3. Multilanguage Error Responses
4. New Apache HTTP API
Now check Apache installed or not on the Ubuntu Machine by running below command.
dpkg –get-selections | grep apache2
In Ubuntu, The Apache package name “apache2″ and currently is not installed on the Ubuntu machine.
Now install Apache
apt-get install apache2 –y
You can check what Packages installed along with Apache2
Check Out: How To Hide Apache Server Name
Start the Apache Server Service
Check Apache Server Status
Configuration files are located at /etc/apache2/
Now Go to the browser & Check whether it’s running or not by typing localhost.
Check Out: Create Apache Image Using Dockerfile
If you find this Apache default Page, Means Apache installed and running.
That’s it. Ubuntu apache2 install