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.