How to upgrade Nginx?

Posted by jwerre on Server Fault See other posts from Server Fault or by jwerre
Published on 2012-12-14T16:09:13Z Indexed on 2012/12/14 17:05 UTC
Read the original article Hit count: 187

Filed under:
|

I'm on Ububtu and I'm trying upgrade Nginx 1.0.5 to the latest version 1.2.6. Here's what I did and what didn't work.

$ nginx -v
nginx: nginx version: nginx/1.0.5
$ curl -O http://nginx.org/download/nginx-1.2.6.tar.gz
$ tar xvzf nginx-1.2.6.tar.gz
$ cd nginx-1.2.6/
$ ./configure
$ make && sudo make install

$ nginx -v
nginx: nginx version: nginx/1.0.5 <<< still old version!!!

Any ideas would be much appreciated. Thanks.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about nginx