Ubuntu 14 update / LEMP update

Posted September 24, 2014 2.7k views


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!!!!

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.

Submit an Answer
2 answers

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