Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Apr 26, 2011 11:18 pm 
Offline
Senior Newbie

Joined: Sun Oct 17, 2010 6:20 pm
Posts: 7
I want to update nginx on my server. the current version is nginx/0.7.65 and I installed nginx using the default package manger

> apt-get install nginx php5-cli php5-cgi spawn-fcgi

however when I do
>apt-get update
>apt-get upgrade --show-upgraded

still I do not get an updated version. I read nginx released it stable v1 however not sure why i am not getting it.
Also anything I need to be aware of when upgrading from 0.7 to v1 ?

thanks in advance


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 12:00 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
just because it's out doesn't mean there is a package for it yet.


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 4:02 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Ubuntu only upgrades major versions between releases i.e. 10.04 has an older version than 11.04 etc etc.

You can install nginx 1.0 from the ppa here https://launchpad.net/~nginx

However unless you really need the new features there's no need to.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 6:31 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
See https://wiki.ubuntu.com/StableReleaseUpdates for Ubuntu's policy on this; in short, it's what you get for having a stable, supported OS.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Thu Apr 28, 2011 10:24 pm 
Offline
Senior Member

Joined: Sun Feb 21, 2010 5:12 pm
Posts: 64
I'd go with that launchpad ppa. All it takes is a:
Code:
sudo add-apt-repository ppa:nginx/stable

and you'll be able to update.

If you stick with the 0.7.x branch you can't really be sure that you'll be getting security and bug fixes.

I haven't seen any configuration changes that would break your current config.


Top
   
 Post subject:
PostPosted: Fri Apr 29, 2011 8:31 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
brianmercer wrote:
If you stick with the 0.7.x branch you can't really be sure that you'll be getting security and bug fixes.


If you stay with the stock Ubuntu package, you'll get security fixes, and major bug fixes. There is some amount of difference between nginx 0.7.65 and nginx 0.7.65-1ubuntu2 (see also launchpad).

So, it's not a security/bugfix question, really... more of a trading-support-for-features thing.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Apr 29, 2011 9:17 am 
Offline
Senior Member

Joined: Sun Feb 21, 2010 5:12 pm
Posts: 64
That's the policy but I wouldn't count on it.

nginx is an awesome piece of software, but it's still almost a one man project, without a public bug tracker, without the kind of infrastructure of other projects with a similar user base.

Igor has declared 1.0.0 stable and probably won't backport bug or security patches to the 0.7 or 0.8 branch, so you'd be counting on the nginx community and/or debian or ubuntu maintainers.

The old server wisdom is that you stick with old, stable versions and backport any bug/security patches from new versions. But some projects, including nginx, don't really lend themselves to that model.

You don't have to stay on the bleeding edge of the development svn, but I'd recommend sticking with what the project maintains as the stable branch.

That's my opinion, anyways. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group