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!
I use these instructions for creating a new .deb based on the old deb
and the new source:
Posted at Nginx Forum:
Sorry, easiest thing to do since you’re using 8.04 and not adding any
extra modules is to add jeff waugh’s ppa.
I recompile because I use the gzip_static_module.
Posted at Nginx Forum:
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
I recompile because I use the gzip_static_module.
Posted at Nginx Forum:
Re: ubuntu 8.04 user - upgrade to nginx latest
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 hardy main
deb-src Index of /jdub/ppa/ubuntu hardy main
then i add public key (reference)
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 --recv-keys
12345678(replace 12345678 with his openGUL key)
after running update and upgrade - no update shows…
so where am i missing?
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
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. 
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:
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
I recompile because I use the gzip_static_module.
My 0.8.11.1 packages are now built with gzip_static and geoip. 
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:
Igor’s “development” is bastically as stable as anyone else’s “stable”
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
I recompile because I use the gzip_static_module.
My 0.8.11.1 packages are now built with gzip_static and geoip. 
lol nice… isn’t 8 still on development?
Oh, I should fix my packages to build with it. Any
time you want things like
this fixed, let me know. 
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:
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 
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).
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:
On Mon, Oct 5, 2009 at 8:46 PM, Jeff W. [email protected] 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
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
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:
I’m having trouble upgrading too, and would love some help.
I’m using Ubuntu Hardy, and tried the following:
- Downloaded Jake’s public key to a local file (my machine is behind a
corp firewall and couldn’t access keyserver directly)
- Used apt-key to add the key to my machine (had to apt-get gnupg
first)
- Added Jake’s URL to my sources.list file (it was under
/etc/apt/sources.list.d)
- Tried apt-get update
- 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:
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: