# Ubuntu 8.04 user - upgrade to nginx latest

**URL:** <https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385>\
**Category:** NGINX\
**Created:** [August 26, 2009, 7:37am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385 "2009-08-26T07:37:58Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 26, 2009, 7:37am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/1 "2009-08-26T07:37:58Z")

</div>

I didn’t notice the aptitude install for 8.04 comes with the legacy  
version 0.5.33 instead of the 6 or the 7 series.

I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is  
better of course.

Any experience ubuntu nginx user knows how to upgrade to the latest  
nginx distribution without losing the data, the structure and the conf?

I looked around the net for a few days and no luck with this issue…

Thank you!

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 27, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/2 "2009-08-27T12:12:44Z")

</div>

I use these instructions for creating a new .deb based on the old deb  
and the new source:

> **[\[all variants\] How to always have the latest Nginx .deb package](https://ubuntuforums.org/showthread.php?t=1105902)**
>
> The following procedure describes How To build a Nginx .deb package using the developer's latest sources. 
>  
> \# Tested on Ubuntu 10.04 
>  
> Published at: \<http://ubuntuforums.org/showthread.php?p=6953724\> 
>  
>  
> Nginx \<http://nginx.net/\> is an open-source...

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,5203#msg-5203)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 27, 2009, 3:59pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/3 "2009-08-27T15:59:52Z")

</div>

Sorry, easiest thing to do since you’re using 8.04 and not adding any  
extra modules is to add jeff waugh’s ppa.

> **[Jeff Waugh's PPA : Jeff Waugh](https://launchpad.net/~jdub/+archive/ubuntu/ppa)**
>
> Some backports and updates of things sysadmins and web developers will enjoy, notably:
> 
> \- collectd (and rrdtool)
> \- nginx: tracking whichever branch is most suitable for production
> \- nodejs: keeping up with the bleeding edge via a backported static...

I recompile because I use the gzip\_static\_module.

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,5211#msg-5211)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 27, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/4 "2009-08-27T18:50:35Z")

</div>

brianmercer wrote:

> Sorry, easiest thing to do since you’re using 8.04 and not adding any  
> extra modules is to add jeff waugh’s ppa.
> 
> [Jeff Waugh's PPA : Jeff Waugh](https://launchpad.net/~jdub/+archive/ppa)
> 
> I recompile because I use the gzip\_static\_module.
> 
> Posted at Nginx Forum:  
> [http://forum.nginx.org/read.php?2,5177,5211#msg-5211](http://forum.nginx.org/read.php?2,5177,5211#msg-5211)

hi thank you for the help brian

I followed the launch guide there and a reference here

this is what i did

edit the sources.list (i am using the command line server)  
add these lines

deb [Index of /jdub/ppa/ubuntu](http://ppa.launchpad.net/jdub/ppa/ubuntu) hardy main  
deb-src [Index of /jdub/ppa/ubuntu](http://ppa.launchpad.net/jdub/ppa/ubuntu) hardy main

then i add public key (reference)

> **[Question #81021 “upgrade nginx in ubuntu 8.04” : Questions : nginx package :...](https://answers.launchpad.net/ubuntu/+source/nginx/+question/81021)**
>
> I know Hardy Ubuntu 8.04 aptitude comes with 0.5.33 but instead I would like to upgrade this version to either the 6 series or the latest 7 stable series.
> 
> I can't find any help in ubuntuforum, ruby forum. May someone guide me through this?
> I have...

this is the key from the jeff’s ppa  
[[[[  
-----BEGIN PGP PUBLIC KEY BLOCK-----  
Version: SKS 1.0.10

mI0ESeCyswEEALSCKRVVfkUR+IJjd9kS6X/OyLJJkCy5s+Hp7KflfxtEookCxYrcQnogaviy  
aWtDffp4fBcQiBs4ok/WXTNfluScLxORGRRQGwWR3CYPI19ikFBuaS/0tt5CWTPQrd4RneO4  
mX8N6isrj1KtCzajpocEeJtUXA/hs9RURljhfKd7ABEBAAG0HExhdW5jaHBhZCBQUEEgZm9y  
IEplZmYgV2F1Z2iItgQTAQIAIAUCSeCyswIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJ  
EK379Cjp7vShGukD/1cu9eFY4gxMS/JrsCkkfdwbBUveP4XJ1lpIaay5XAURYSLsm4WyOhVF  
wMRTEIMWzxOkkxScW+uCQCKcALextgeETnOnRYcsBN1t8K8LVUY43rrPm0mT5Z1+e7U+TDRz  
NOqIhr8s1ymFtJurb7DTLyD7VFtjjWGNg583SWF5a+r5  
=ssDr  
-----END PGP PUBLIC KEY BLOCK-----  
]]]]]  
sudo add-key key2.txt  
OK

then run  
sudo apt-get update  
sudo apt-get upgrade

i even tried this  
sudo apt-key adv --keyserver [keyserver.ubuntu.com](http://keyserver.ubuntu.com) --recv-keys  
12345678(replace 12345678 with his openGUL key)

after running update and upgrade - no update shows…  
so where am i missing?

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 27, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/5 "2009-08-27T19:29:27Z")

</div>

> Sorry, easiest thing to do since you’re using 8.04 and not adding any  
> extra modules is to add jeff waugh’s ppa.
> 
> [Jeff Waugh's PPA : Jeff Waugh](https://launchpad.net/~jdub/+archive/ppa)
> 
> I recompile because I use the gzip\_static\_module.

Oh, I should fix my packages to build with it. Any time you want things  
like  
this fixed, let me know. 🙂

- Jeff

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 28, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/6 "2009-08-28T17:16:03Z")

</div>

hi brian, thank you for the help, apparently we have to do it manually -  
via sudo aptitude search, then press U and G to install the upgradeable  
package

I see my nginx is now 0.7.6.1 - is there anything else i need to check  
to make sure everything is updated?

Thank you for the help - same things goes to Jeff’s hard work making  
these packages.

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,5248#msg-5248)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 29, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/7 "2009-08-29T14:43:49Z")

</div>

> Sorry, easiest thing to do since you’re using 8.04 and not adding any  
> extra modules is to add jeff waugh’s ppa.
> 
> [Jeff Waugh's PPA : Jeff Waugh](https://launchpad.net/~jdub/+archive/ppa)
> 
> I recompile because I use the gzip\_static\_module.

My 0.8.11.1 packages are now built with gzip\_static and geoip. 🙂

- Jeff

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 28, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/8 "2009-08-28T14:43:13Z")

</div>

That does sound correct. Try aptitude. (i.e. “sudo aptitude”)

Search for nginx by hitting forward slash for the search box and typing  
nginx in the box and then press enter when your cursor is on the nginx  
line. That brings up a full page about the nginx package and lists the  
available versions at the bottom.

If it doesn’t list the 7.61 version then you don’t have the repository  
added correctly to the /etc/apt/sources.list file or didn’t do “sudo  
aptitude update”. (“aptitude” can be substituted for “apt-get” for most  
command line operations and can be more convenient) Even if you failed  
to add the authentication key correctly it should still work, it would  
just throw various warnings about untrusted sources.

If it lists both versions then you can select the 7.61 version and + it.

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,5246#msg-5246)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 29, 2009, 9:32pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/9 "2009-08-29T21:32:20Z")

</div>

Igor’s “development” is bastically as stable as anyone else’s “stable”

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 29, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/10 "2009-08-29T20:32:01Z")

</div>

Jeff W. wrote:

> > Sorry, easiest thing to do since you’re using 8.04 and not adding any  
> > extra modules is to add jeff waugh’s ppa.
> > 
> > [Jeff Waugh's PPA : Jeff Waugh](https://launchpad.net/~jdub/+archive/ppa)
> > 
> > I recompile because I use the gzip\_static\_module.
> 
> My 0.8.11.1 packages are now built with gzip\_static and geoip. 🙂
> 
> - Jeff

lol nice… isn’t 8 still on development?

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 30, 2009, 3:11pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/11 "2009-08-30T15:11:50Z")

</div>

> Oh, I should fix my packages to build with it. Any  
> time you want things like  
> this fixed, let me know. 🙂
> 
> - Jeff

Thanks Jeff.

And John, in case you didn’t notice, Jeff has also backported the  
spawn-fcgi package that was split out this year and included in the  
karmic repos, so you don’t have to install lighttpd and its dependencies  
to spawn php-cgi. That is if you’re not up for patching php-fpm. Also  
appreciated, Jeff.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,5177,5321#msg-5321](http://forum.nginx.org/read.php?2,5177,5321#msg-5321)

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [August 29, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/12 "2009-08-29T23:39:57Z")

</div>

> > My 0.8.11.1 packages are now built with gzip\_static and geoip. 🙂
> 
> lol nice… isn’t 8 still on development?

Yes, 0.8.x is in my devel PPA, 0.7.x is in my normal PPA (named, uh,  
“ppa”).  
I do use 0.8.x versions on production machines though… Igor seems to  
enjoy  
doing regular small-delta changes, keeping things pretty stable most of  
the  
time 🙂

- Jeff

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [October 6, 2009, 8:57am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/13 "2009-10-06T08:57:37Z")

</div>

> My question is, how can I find out which modules have been compiled into  
> nginx? (Specifically your 0.8.17 version.) I couldn’t find any way to do  
> this in the docs or via Google.

Unless there’s a way to dump that information from the nginx binary  
itself  
(which I haven’t found), you can just look at the debian/rules file in  
the  
source package.

You can click to download it from the PPA page or ‘apt-get source nginx’  
once you’ve added deb-src lines for my PPA to your sources.list (and I  
am  
assuming this explanation will be understood by those using Debian-based  
distros).

- Jeff

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [October 6, 2009, 8:24am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/14 "2009-10-06T08:24:50Z")

</div>

Hi Jeff,

Thanks for packaging up nginx 8 for us like that.

My question is, how can I find out which modules have been compiled into  
nginx? (Specifically your 0.8.17 version.) I couldn’t find any way to do  
this in the docs or via Google.

Cheers,

John :^P

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,11248#msg-11248)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [October 6, 2009, 10:05am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/15 "2009-10-06T10:05:33Z")

</div>

On Mon, Oct 5, 2009 at 8:46 PM, Jeff W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> You can click to download it from the PPA page or ‘apt-get source nginx’  
> once you’ve added deb-src lines for my PPA to your sources.list (and I am  
> assuming this explanation will be understood by those using Debian-based  
> distros).

I think nginx -V should help.

===

nginx -h

nginx version: nginx/0.7.62  
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g  
directives]

Options:  
-?,-h : this help  
-v : show version and exit  
-V : show version and configure options then exit  
-t : test configuration and exit  
-s signal : send signal to a master process: stop, quit, reopen,  
reload  
-p prefix : set prefix path (default: /opt/nginx/)  
-c filename : set configuration file (default: conf/nginx.conf)  
-g directives : set global directives out of configuration file

Cecep

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [October 6, 2009, 10:14am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/16 "2009-10-06T10:14:55Z")

</div>

Jeff W. wrote:

> > My question is, how can I find out which modules have been compiled into  
> > nginx? (Specifically your 0.8.17 version.) I couldn’t find any way to do  
> > this in the docs or via Google.
> 
> Unless there’s a way to dump that information from the nginx binary itself

# nginx -V

built by gcc 4.1.2 20080704 (Red Hat 4.1.2-44)  
configure arguments: --pid-path=/usr/local/nginx/logs/nginx.pid  
–sbin-path=/usr/local/sbin/nginx --with-http\_ssl\_module  
–with-http\_stub\_status\_module --user=nginx --group=nginx

# nginx -h

nginx version: nginx/0.8.17  
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g  
directives]

Options:  
-?,-h : this help  
-v : show version and exit  
-V : show version and configure options then exit  
-t : test configuration and exit  
-s signal : send signal to a master process: stop, quit, reopen,  
reload  
-p prefix : set prefix path (default: /usr/local/nginx/)  
-c filename : set configuration file (default: conf/nginx.conf)  
-g directives : set global directives out of configuration file

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [October 6, 2009, 10:17am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/17 "2009-10-06T10:17:16Z")

</div>

Great! Thanks everyone who replied.

The 0.6 version that Ubuntu provides was a lot less forthcoming from the  
command line than this new 0.8 version…

Cheers,

John :^P

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,11272#msg-11272)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [June 19, 2010, 1:37am UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/18 "2010-06-19T01:37:07Z")

</div>

I’m having trouble upgrading too, and would love some help.

I’m using Ubuntu Hardy, and tried the following:

1. Downloaded Jake’s public key to a local file (my machine is behind a  
corp firewall and couldn’t access keyserver directly)
2. Used apt-key to add the key to my machine (had to apt-get gnupg  
first)
3. Added Jake’s URL to my sources.list file (it was under  
/etc/apt/sources.list.d)
4. Tried apt-get update
5. Tried apt-get install nginx, but I was told it’s already up to date  
(with v0.5)

I tried following some of the other info on this thread, but I don’t  
have aptitude installed and if I can get apt-get to do the same, I don’t  
want to install it.

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,100121#msg-100121)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [June 22, 2010, 7:49pm UTC](https://www.ruby-forum.com/t/ubuntu-8-04-user-upgrade-to-nginx-latest/174385/19 "2010-06-22T19:49:11Z")

</div>

Ultimately I had to install aptitude and use it to point to the specific  
upgrade version. Now it’s working with 0.7.62.

Thanks.

Posted at Nginx Forum:

> **[Re: ubuntu 8.04 user - upgrade to nginx latest](https://forum.nginx.org/read.php?2,5177,101030#msg-101030)**
>
> I didn't notice the aptitude install for 8.04 comes with the legacy version 0.5.33 instead of the 6 or the 7 series. I would like to use at least the 6 series for Ubuntu 8.04. 0.7.61 is better of course. Any experience ubuntu nginx user knows how t
