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.
Twitter API OAuth 2.0 Authorization ExampleTwitter is one of the most powerful soci...
How to Change Column Name and Type in Laravel MigrationIn the working with MySQL database, some...
How to Stripe Payment Integration in Laravel 7.x with ExampleLaravel Stripe payment gateway has built...
How to Switch PHP versions using Command Line in UbuntuYou might need multiple PHP version for...