#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 !!!
Смотрите видео How to install Nginx in Ubuntu 20 04 and run most used command in Nginx онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming Tutorial 28 Апрель 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 35 раз и оно понравилось like людям.