Welcome! Log In Create A New Profile

Advanced

Update to the latest version of nginx

Posted by mentex 
Update to the latest version of nginx
April 19, 2012 08:59AM
hi..

I hope someone can help me!

I try to update nginx on my debian 6 to the latest version. But have no luck with this..

i followed this this instruction:
http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packages

and added these lines to my /etc/apt/sources.list:

deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx

I also added the key as described but when I run apt-get update, apt-get upgrade I will not get a newer version as installed.

nginx -v shows:
nginx version: nginx/0.7.67

someone has an idea?!

thanks
Re: Update to the latest version of nginx
April 25, 2012 06:09AM
Try this:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:nginx/stable

apt-get update && apt-get install nginx


See http://wiki.nginx.org/Install

update: that works for lucid/ubuntu for me:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"



Edited 1 time(s). Last edit at 04/25/2012 06:16AM by gplv2.
tfe
Re: Update to the latest version of nginx
May 01, 2012 08:02AM
I just installed nginx + php5-fpm on Debian 6.0 server.
I installed nginx with apt-get install nginx command and now I have an old version 0.7.67

I need step by step instructions how to update nginx without breaking something in nginx or php5-fpm.
Can somebody help me?
tfe
Re: Update to the latest version of nginx
May 01, 2012 08:33AM
Problem solved.
Just followed this instruction:
http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packages
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready