If you have installed Nginx from the default Ubuntu software repository, you need to remove it. Once the repository is added to your Ubuntu 18.04 system, run the following command to update repository info. In order to verify the integrity of packages downloaded from this repository, we need to import Nginx public key using the commands below. To save the file in Nano text editor, press CTRL+O, then press Enter to confirm. If you use Ubuntu 20.04, then change bionic to focal. sudo nano /etc/apt//nginx.listĪdd the following two lines in the file. First, create a repository source file for Nginx with the following command. We can use this repository to install the latest version of Nginx. Installing Nginx Latest Version on Ubuntu 18.04, 20.04 from Official Nginx Repository At the time of this writing, the latest version of Nginx is 1.17.0, released on May 21, 2019. In this tutorial, we’re going to learn how to install Nginx latest version on Ubuntu 18.04 and Ubuntu 20.04. However, software in Ubuntu LTS (long term support) release are often out-of-date. Previously we discussed how to install LEMP stack, which is a common software stack to host dynamic websites, on Ubuntu 18.04 LTS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |