1. Laadige alla Nginx võti
wget http://nginx.org/keys/nginx_signing.key
2. Lisage see
apt–key add nginx_signing.key
3. Lisage järgmised depood faili /etc/apt/sources.list:
echo “deb http://nginx.org/packages/debian/ squeeze nginx”>>/etc/apt/sources.list
echo “deb-src http://nginx.org/packages/debian/ squeeze nginx”>>/etc/apt/sources.list
4. Tehke värskendus:
apt–getupdateapt–get upgrade
5. Kontrollige versiooni:
nginx –V