For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP 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 Debian replace codename with Debian distribution jessie, and append the following to the end of the
/etc/apt/sources.list
file:deb http://nginx.org/packages/debian/ jessie nginx deb-src http://nginx.org/packages/debian/ jessie nginx
apt-get updateapt-get install nginx
參考資料
其他
沒有留言:
張貼留言