Welcome! Log In Create A New Profile

Advanced

Re: How to upgrade nginx to the newest version?

António P. P. Almeida
October 25, 2010 10:38AM
On 25 Out 2010 12h03 WEST, liuxin84@gmail.com wrote:

> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; UTF-8 (7bit)>]
> Hi all,
>
> I'm using debian and used 'apt-get install nginx' installed nginx
> 0.7.6.3 And I want to upgrade it to version 0.8.53.
>
> Use 'apt-get install nginx' I don't need to compile nginx, and the
> conf file is in /etc/nginx. And if I want to install 0.8.53, I need
> to compile nginx first, so how can I upgrade nginx with current
> nginx.conf? There are several websites on my server, I don't want
> to interrupt web service

If you create a new .deb package there's no interruption and no config
file is rewritten. The .deb has a postinst script that does the
upgrade properly by sending the correct signals to the running
process.

I can share with you my .deb for 0.8.53 (I've not yet setup a debian
repo) It has no SSI, mail support or Python CGI stuff. It's compiled
against the OpenSSL library in squeeze (testing release).

--- appa


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to upgrade nginx to the newest version?

Xin Liu October 25, 2010 07:06AM

Re: How to upgrade nginx to the newest version?

António P. P. Almeida October 25, 2010 10:38AM

Re: How to upgrade nginx to the newest version?

Juan A. Moreno October 25, 2010 11:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready