Apache is open-source and most widely used web server in the world. It provides dynamic modules, and powerful support to website.
In this article, we will go through on how to install Apache web server in your Ubuntu 20.04 system.
You should have non-root user account logged in with sudo privileges to install Apache server.
Apache is already included in Ubuntu's repository, So you can directly install apache server from the Terminal command.
First update the repository index with bellow command.
sudo apt-get update
Install Apache server:
sudo apt-get install apache2
First check the Apache in
ufw application list.
sudo ufw app list
And allow the Apache server
sudo ufw allow 'Apache'
You can also check the ufw status
sudo ufw status
You can check the apache server status with the command:
sudo systemctl status apache2
Start the Apache server
sudo service apache2 start
Or stop the server
sudo service apache2 stop
This way, you can also restart the server
sudo service apache2 restart
This way you can setup your Apache to your server. I hope you will like this article.
How to remove .php file extension from URL in apacheYou may have seen some .php and .asp ext...
Authenticate Users With Node ExpressJS and Passport.jsToday, Node Js one of the most popular l...
Laravel 8 - Search value from Json field with ExampleHow to search value from JSON field lara...
How to Configure Nodemon to Auto-reload Node AppIn this Node.js tutorial, I will tell yo...