Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We all know that keeping a web server updated is very important to avoid bugs and been hacked. I had experiences where an update broke an application:

say you have a site running fine with PHP 5.2 but and automatic update updates to PHP 5.3 and your application is broken. I think the best procedure is to test the updates on a staging server, then if the application is not broken we can apply the updates to the production server.

From what I said above, I think that automated updates are dangerous. What do you thing and do you know any good document on this topic or good practice that is widely adopted?

share|improve this question
1  
You have self answered your question, other than that this is opinionated. –  Tom Wijsman Aug 11 '12 at 9:26
add comment

closed as not constructive by Tom Wijsman, Daniel Andersson, ultrasawblade, Paul, Nifle Aug 11 '12 at 13:55

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

This depends on a lot of factors. But in most cases no, you should not automatically update your system. It would be preferable to review once before updating.

Distro's like Arch Linux work on a Rolling Release system giving you a lot of updates everyday. On such a distro it is highly recommended that you review the updates before actually installing the packages, especially on a crucial machine like a server.

On the other hand, if you are using Stable versions of distros like RHEL, etc, the updates are least likely to break your system. All the packages being updated usually go through a lot f testing before being pushed out to the public in these distros.
Yet, there is always the chance that a certain update may break your system.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.