LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-02-2018, 02:42 PM   #1
Akashy
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Rep: Reputation: Disabled
Migration from debian 6 to centos 7


Hi All,

I want to migrate debian server to centos 7. So please help me with the prerequisites and migration process.

Current OS : Debian 6.0(32-bit)
Applications running on server:Nagios, Apache, Svn and tomcat.

New server:CentOS 7.4.

Just want to know whether there will be any conflict or issue after migration.
 
Old 04-02-2018, 02:51 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Here are some links to help you with LAMP and Centos 7-

https://www.hugeserver.com/kb/instal...lamp-centos-7/

Repo's for Centos 7:
https://wiki.centos.org/AdditionalRe...s/Repositories

Good Luck-
 
Old 04-02-2018, 02:57 PM   #3
Akashy
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for your response. I will try that links.
 
Old 04-02-2018, 02:58 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Short answer: Yes

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.
 
2 members found this post helpful.
Old 04-02-2018, 03:06 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Akashy View Post
Thank you for your response. I will try that links.
You are Welcome.

I think you will find the documentation for RHEL very helpful.
Read it when you have the time.
 
Old 04-02-2018, 05:15 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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...)

Good Luck! Have fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migration from XP to CentOS, Debian Stable, RHEL, or Ubuntu LTS in mass-deployment LinuxGeek2305 Linux - Enterprise 6 03-07-2014 02:54 PM
CentOs Server migration louk_88 Linux - Server 2 04-28-2012 04:11 PM
w2k pdc to centos migration IMAN7 Linux - Server 5 04-11-2011 08:23 AM
Subversion migration from Ubuntu 4 to Centos 5.2 kishorerhce508 Linux - Server 1 12-06-2009 06:34 AM
CentOS to RedHat migration Jaze Red Hat 2 12-10-2006 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration