Report this

What is the reason for this report?

Ubuntu 14 update / LEMP update

Posted on September 24, 2014

Hello!

To **keep updated my droplet **(LEMP + ubuntu 14) without losing my settings / current data… What method do you recommend?

I use “sudo apt-get upgrade”. But this updates Nginx, MySQL and PHP?

How I can keep all updated with no risk to loss of configuration?

Thankl you very much!!!



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks asb!!

sudo apt-get upgrade is the best way to upgrade your server. Ubuntu 14.04 is a stable release and should only receive well tested bug fixes at this point not entirely new versions of programs. If you want to update a single package without upgrading everything else, just run:

sudo apt-get install package_name

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.