CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Long answer:
By "migrate" I assume you mean "install a new OS on a new server" then setup applications on new server analogous to those you ran on the old server. There is no "migration path" for doing this.
Debian 6 is about 7 years old and you note you're running 32 bit.
I'm assuming you'll be running 64 bit on your new RHEL 7.4 server.
The good news is that all the packages you named can be run on RHEL 7. The bad news is that RHEL7 uses systemd rather than init so there is some learning to do in regards to that. You need to examine each application you want to move.
Some advice:
Do NOT copy binaries from your Debian system to your RHEL system. Either install from defined repositories for RHEL7 or compile on the RHEL7. Both Nagios and Apache are in the RHEL repositories but after install you'll need to insure whatever configs you did on old server work on the new one and with the versions of apps installed on the new one. (I recently wrote a blog noting that Nagios changes the way it wants you to quote literal dollar sign in 3 different versions). If you copy config files make sure they're relevant to the new setup. A good idea is to start with the config files installed on the new server by the repository or the "make install" after compile then edit to add things from the old config files rather than simply replacing them en masse.
For tomcat it would depend on what Java application you've written that requires it. We've seen issues where a minor java update version breaks our code (e.g. once upon a time we ran stuff on 1.6_0.17 that failed on 1.6_0.22). Also you'd want to examine 32bit vs 64bit. If your apps are written for 32 bit you may have to install 32 bit libraries on your 64bit RHEL server. (It can have both.) Some older libraries may not be available.
In summary: What you want to do is a project rather than a task. If you run into specific issues ask questions separately for those issues rather than a global question like this or appending to this.
MensaWater's recommendations are right on! I recently completed a "migration" from CentOS 5.11 to CentOSS 7.4. There are significant differences in the apache configs...and the change to systemd is a fairly stiff learning curve (but not impossible...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.