Last active
December 11, 2015 22:19
-
-
Save mbijon/4668746 to your computer and use it in GitHub Desktop.
Enabling auto-update of nginx, Stable on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To enable automatic updates of Linux packages set up the apt repository for the Debian/Ubuntu distributions. | |
For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing gpg key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please download this key from our web site, and add it to the apt program keyring with the following command: | |
sudo apt-key add nginx_signing.key | |
For Ubuntu replace codename with Ubuntu distribution codename, and append the following to the end of the /etc/apt/sources.list file: | |
deb http://nginx.org/packages/ubuntu/ codename nginx | |
deb-src http://nginx.org/packages/ubuntu/ codename nginx | |
Supported Ubuntu versions: | |
Version Codename | |
10.04 lucid | |
11.10 oneiric | |
12.04 precise | |
12.10 quantal | |
For Debian/Ubuntu then run the following commands: | |
apt-get update | |
apt-get install nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment