Ubuntu 14 update / LEMP update

September 24, 2014 1.5k 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!!!!

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
Have another answer? Share your knowledge.