The Tip Show Step-by-Step How-to SetUp the Ubuntu/Linux-Mint nginx Apt Repo:
- Open a Terminal Window
- Add GPT Key:
cd $HOME/Downloads
wget http://nginx.org/keys/nginx_signing.key
sudo su
apt-key add nginx_signing.key
- Edit Apt Sources:
nano /etc/apt/sources.list.d/nginx.list
Append:
deb http://nginx.org/packages/mainline/ubuntu/
nginx deb-src http://nginx.org/packages/mainline/ubuntu/ nginx Substitute
to Your Ubuntu Release Name (Example: saucy). For Newest Releases if 404 Not Found then Try with the Preceding Release.
Ctrl+x to Save and Exit.