Apache is an open source web server software created and maintained by Apache software foundation. Since it an open source so it is free to use. It is a web server used for one or more HTTP based websites. It is widely used by web hosting companies to provide shared and virtual hosting.
Steps to install the Apache server:
- Make Superuser: Open terminal and use following command to make yourself superuser.
- Update Ubuntu package: Use the following command to update the Ubuntu package list.
sudo apt update
- Install Apache: After installing the Ubuntu package list, use the following command to install apache server.
sudo apt install apache2
- After completion of the installation process, the Apache server automatically start. The status of the Apache server can be checked by using the following command.
sudo systemctl status apache2
- Open the browser and type localhost or 127.0.0.1 on the address bar. It will display the default page of the Apache server.
- Difference between Apache Tomcat server and Apache web server
- Difference Between Apache Hadoop and Apache Storm
- Difference Between Apache Hive and Apache Impala
- How to install, configure and use GIT on ubuntu?
- How to Install ImageMagick and Imagick PHP extension in Ubuntu ?
- How to Install and Configure Fish Shell in Ubuntu?
- How to Install and Configure Elasticsearch on Ubuntu ?
- How to Install and Configure MongoDB in Ubuntu?
- How to Install php-curl in Ubuntu ?
- How to install php70-gd on Ubuntu ?
- How to Install and Run Apache Kafka on Windows?
- AWS EC2 Instance Setup with Apache Server
- How to run two PHP versions for two projects on same apache server ?
- How to install and use lite-server in your Project ?
- How to install and set up a WAMP server ?
- Difference Between Web server and Application server
- How to use GIT in Ubuntu ? (Part -2)
- LAMP installation and important PHP configurations on Ubuntu
- Creating custom domain name instead of localhost in Ubuntu
- Creating and Configuring Wi-Fi Hotspot in Ubuntu
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.