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 most generally utilised web server in the present everywhere throughout the world since It’s protected, Scalability and better execution among other web server.
Apache is most popular HTTP web server and Commonly used in Linux and Unix environment.
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 System.
4. You can run multiple website 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. Multi-language 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 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/
Check Out : Load PHP Module For Apache On Redhat/Cent0s 7
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.