Email this to a friend
 
posted on June 8th 2017, at 13:59
by lunarg
nginx provides packages for Debian in their own repository, allowing you to install the most recent version rather than the older versions provided through the main repositories.

Add these lines to /etc/apt/sources.list:

deb http://nginx.org/packages/mainline/debian/ jessie nginxdeb-src http://nginx.org/packages/mainline/debian/ jessie nginx

Change jessie to wheezy if you are still on Debian 7 "Wheezy".

Download and add nginx's public key:

wget http://nginx.org/packages/keys/nginx_signing.key && cat nginx_signing.key | apt-key add -

Update the package list and then install nginx:

apt-get updateapt-get install nginx

By default, the latest version of nginx will be ins  ...

Send a link to this post to yourself or a friend.

Send to e-mail:
Your name:
Your e-mail:
Captcha:
Type the letters and numbers as shown.
/get/captcha/1715050429
Not readable? Get another.
 
Information entered is solely used for sending a one-time e-mail, and is not retained and/or passed on to a third party.
 
 
 
 
« May 2024»
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
262728293031
 
Links
 
Quote
« Most people tend to avoid true conflict. Ironically this breeds more conflict. »