I have a couple of blogs running on an Ubuntu 9.04 machine and I'd like to upgrade it. Is it safe to do so?
Note, I also have a few daemons that were manually compiled like MySQL, Nginx, PHP, etc.
|
I have a couple of blogs running on an Ubuntu 9.04 machine and I'd like to upgrade it. Is it safe to do so? Note, I also have a few daemons that were manually compiled like MySQL, Nginx, PHP, etc.
| ||||
|
feedback
|
|
The only way to be really sure is to test. Create a test environment that mimics your production environment as closely as possible and then carry out the upgrades, monitor what happens and make a decision based on that. | |||
|
feedback
|
|
I'd disagree with pepoluan's comment that it is never safe. It can be safe, and Ubuntu is far better at handling release upgrades than most other distributions I've handled. (You mention hand compiled software, that is where your trouble may lie). However in order to be confident in an answer you have to make a judgement call on what risk your willing to take -- and then test it. Never say "never" :-) | |||||
feedback
|
|
You ridiculous Windows users and your habit of reformatting every six months...
That's not to say that it's guaranteed safe. I have encountered problems, but I can count those on one hand. That being said, you should always test your intended new deployment in a non-production environment first. Including testing the upgrade process. I know that this is basically the same thing that Lain said, but I want to head off any more idiots posting nonsense, lest you think their multitude of down voted comments are in any way helpful. | |||||||||
feedback
|
|
If you want to update your distribution running If you want to upgrade the Ubuntu version to newer one then you would have to run
| |||
|
feedback
|
|
I would not consider that a safe thing to do. Even with testing...how much testing are you going to do? I would migrate to a new server rather than trying to upgrade the existing. Using apt-get should make this fairly easy, assuming the blog platform doesn't have a ton of unusual dependencies. PS. I always avoid installing software that isn't packaged when possible. And for me, in my experience, it's always been possible. | |||
|
feedback
|
|
dist-upgrade is never safe. Rather than doing that, install a new system with the latest version, install all programs you need, test, then swap it with the production server. | |||
|
feedback
|