By newbie
Hello, just created a new droplet on ubuntu 16.04 and installed nginx. but when i checked nginx version is 1.10.1 now i tried to update and upgrade everything but nginx version stays the same. how can i update my nginx to the latest stable version which is 1.10.2?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
This is because you install from repository (using apt-get). Packages are repositories are usually not updated ‘insta’ and you need to wait little bit before installing it using apt-get.
When I install nginx on new Droplet (Ubuntu 16.04) and run nginx -v:
nginx version: nginx/1.10.0 (Ubuntu)
To get around this you need to install from source. This is not straightforward as installing with apt-get but I think it’s not very hard.
How To Install Nginx From Source (nginx.com).
Building From Source (nginx.org).
There is no DO tutorial for Ubuntu. I found old one for CentOS which you can read at How To Compile Nginx from Source on a CentOS 6.4 x64 VPS.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.