How To Upgrade CentOS 6 to CentOS 7

Ben Newman

Member
Registered
Joined
Nov 7, 2016
Messages
21
Points
1
I am using CentOS 6, I want to upgrade to CentOS 7, how can i do that? if yes, after updated CentOs version, it will brake some things that I installed as hosting panel and addons on my Linux hosting?
 

24x7CSM

Well-known member
Registered
Joined
Sep 27, 2016
Messages
263
Points
28
Instead of updating the OS , its recommended that back up all your data and get the server reinstalled with CentOS 7. what control panel do you have running at the moment ?
 

sh-admin

Active member
Registered
Joined
Sep 29, 2016
Messages
66
Points
0
Well ..

CentOS 6 can easily upgraded to CentOs 7 ofcourse with the course of some update commands , however its not recommended. The reason is mis match of RPMs , versions . so its better to get your data backed up on a secured location , reinstall the server and you are good to go.
 

nitaish

Member
Registered
Joined
Dec 27, 2016
Messages
39
Points
0
In-place upgrade of operating systems like CentOS are not recommended at all as it is more likely to break things resulting in downtimes and loss of data. It is always recommended to setup another system with CentOS 7 and then migrate everything to the new box. This will prevent downtimes though migration may be a tedious task.
 

Laurence Flynn

Well-known member
Registered
Joined
Dec 31, 2016
Messages
92
Points
8
We have done it with lower 6 versions but I think the upgrade tool was officially depreciated with CentOS 6.7. So depends on your CentOS 6.x version.
 

Nixtree

Well-known member
Registered
Joined
Jul 16, 2016
Messages
133
Points
28
Hi

I will always suggest to get a latest OS installed in a new server and get the contents migrated as I have seen many ending up in issues after such upgrade attempts in production servers. Atleast make sure you have all necessary backups so that you can restore accounts easily to a new server if any thing goes wrong. (Always expect some issues in such manual OS upgrades)
 

eva2000

Well-known member
Registered
Joined
Jan 14, 2017
Messages
173
Points
28
it's not recommended to do in place upgrades for centos 6 to 7 though centos 7 is first version to support it but there's limitations. Read https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

but centos don't recommend it if you use alot of 3rd party yum repos in centos 6 as it could break stuff

so as most folks have stated backup data and move to centos 7 server is safest :)
 
Older Threads
Replies
7
Views
3,124
Replies
2
Views
2,330
Replies
14
Views
9,965
Replies
6
Views
3,779
Replies
4
Views
5,584
Newer Threads
Replies
6
Views
2,521
Replies
9
Views
5,193
Replies
12
Views
5,569
Latest Threads
Recommended Threads
Replies
1
Views
1,033
Replies
7
Views
3,947
Replies
7
Views
2,869
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top