1. Lejupielādējiet Nginx atslēgu
wget http://nginx.org/keys/nginx_signing.key
2. Pievienojiet to
apt–key add nginx_signing.key
3. Pievienojiet sekojošos repozitorijus /etc/apt/sources.list failam:
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. Atjauniniet:
apt–getupdateapt–get upgrade
5. Pārbaudiet versiju:
nginx –V