Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to upgrade multiple components of a system including:

Linux distribution (debian lenny -> squeeze)

Mysql (5.0->5.1->5.5->5.6)

Apache tomcat 6 to 7

Java runtime version

What (and why) would be the right order to do those upgrades ? And I which of those phases am I most likely to encounter backwards compatibility issues ?

share|improve this question
    
The before and after Java runtime versions would probably help you to get a more complete answer. –  Ladadadada Feb 21 '13 at 12:48
    
I tried to follow some upgrade instructions to upgrade debian (as the are at the linode help) I ended up without a DB :(. [Of course non of this was on my actual production machine but on a cloned one]. From more reading it seems that mysql 5.0 is not compatible with debian 6 so I will try to upgrade mysql first and only then move to debian 6. (somewhat opposite to what was suggested in the only answer I got so far). –  epeleg Feb 24 '13 at 10:19
add comment

1 Answer

I would follow Debian guidelines for upgrading: this means upgrade your base system first, then the rest; if I were you I would let Debian choose which package upgrade first.

In case you would to update manually each of your "relevant" packages, I would follow this order: mysql, java, tomcat.

Remember you'll probably switch from sun-jdk6 to openjdk7, if I remember correctly.

To get a packaged version of oracle's jdk, take a look at java-package

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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