Install NGINX on Debian Ubuntu

To get started with NGINX Open Source or NGINX Plus, you first need to install it on a system and learn some basics. Installing on Debian/Ubuntu Create a file named /etc/apt/sources.list.d/nginx.list that contains the following contents: sudo nano /etc/apt/sources.list.d/nginx.list content of nginx.list deb http://nginx.org/packages/mainline/OS/ CODENAME nginx deb-src http://nginx.org/packages/mainline/OS/ CODENAME nginx check you system OS and CODENAME lsb_release -a the file nginx.list should be look like below # comment deb http://nginx.org/packages/mainline/ubuntu/ focal nginx deb-src http://nginx....

June 25, 2022 ยท Marcin M