#howtoinstallnginx #nginx #webserver #reverseproxy #loadbalancernginx
How to install Nginx in Ubuntu 20.04 and run most used command in Nginx.
In this tutorial i will show you most used command in Nginx webserver,
after you are familiar with this command, I will make another tutorial which is how to config
Nginx as reverse proxy and load balancer.
Prerequisite
1. Your laptop have internet connection
2. Your operating system ubuntu version 20.04(or other linux based debian)
How to install Nginx, run this command
sudo apt-get update
sudo apt-get install nginx
Makesure if nginx already installed
nginx -v
Check the status of Nginx web server
systemctl status nginx
Start and Stop Nginx server
sudo systemctl start nginx
sudo systemctl stop nginx
When making configuration change, reload nginx without drop the connection
sudo systemctl reload nginx
this feature most used in the next tutorial, for config Nginx as reverse proxy and load balancer.
Disable or enable nginx start up when your laptop boot at first time.
sudo systemctl enable nginx
sudo systemctl disable nginx
Thank you, see you in the next tutorial.
Happy learning and happy sharing !!!
Watch video How to install Nginx in Ubuntu 20 04 and run most used command in Nginx online without registration, duration hours minute second in high quality. This video was added by user Programming Tutorial 28 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 35 once and liked it like people.