Hi,
I’m looking for a method to upgrade my centos 7 servers to 8 and I don’t find anything to do that!
I’m a very newbie with CentOS? My choices where gone to Debian or Ubuntu and it was very simple. Just some files must be changed (/etc/apt/source.list). My search suggest a RELH subscription. Is it the only way?
Best regards
-- Pierre Malard
«La France n'est pas schismatique, elle est révolutionnaire» Jean Jaures - 1905 (`.-,') .-' ; _.-' , `,- _ _.-' .' /._ .' ` _.-. / ,'._;) ( . )-| ( )`,_ ,'_,' _;) ('_ _,'.' (___,)) πr `-:;.-'
perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print' - --> Ce message n’engage que son auteur <--
On 10/12/19 8:19 PM, Pierre Malard wrote:
Hi,
I’m looking for a method to upgrade my centos 7 servers to 8 and I don’t find anything to do that!
I’m a very newbie with CentOS? My choices where gone to Debian or Ubuntu and it was very simple. Just some files must be changed (/etc/apt/source.list). My search suggest a RELH subscription. Is it the only way?
Hi Pierre.
RHEL/CentOS are different then Ubuntu, Debian or Fedora. RHEL/CentOS 6.x was based on Fedora 12 packages, RHEL/CentOS 7.x on Fedora 19 and RHEL/CentOS 8.0 on Fedora 28 packages. As you can see, Upgrading from CentOS 7 to 8 is like directly updating from Fedora 19 to Fedora 28, gap of whole 9 versions, and Ubuntu from 14.04 to 19.04 (skipping 14.10, 15.04, 15.10, 16.04, 16.10, 17.04, 17.10, 18.04 and 18.10). This happens because CentOS becomes EOL after 10 years and it's replacement 5 full years after initial release. In whole that time, main packages like glibc do not change version (except bugfixes).
So, differences between packages versions are VERY large, and simple "upgrade" would most likely mess things up.
Red Hat did release a RHEL tool for upgrade, but there is no interest in community to work to convert it for CentOS, so trying to upgrade CentOS 7 to 8 is risky at least.
I do not even think about upgrading my servers from 7 to 8, only clean install is option for me (with backup before it of course).
On another note, if you do not have a pressing need to upgrade CentOS to 8, I would argue you can stay on 7 for next 3-5 years, or maybe upgrade one at the time.
Many packages like php can be upgraded on CentOS 7. If you tell us why you NEED to upgrade your servers to 8, maybe we can dirrect you to solution like Software collection or IUS repository.
Best regards
-- Pierre Malard
«La France n'est pas schismatique, elle est révolutionnaire» Jean Jaures - 1905 (`.-,') .-' ; _.-' , `,- _ _.-' .' /._ .' ` _.-. / ,'._;) ( . )-| ( )`,_ ,'_,' _;) ('_ _,'.' (___,)) πr `-:;.-'
perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Ok, thanks. it’s now very clear… I must stay in CentOS 7 as long as possible…
Thanks and best regards
Le 12 oct. 2019 à 20:49, Ljubomir Ljubojevic centos@plnet.rs a écrit :
On 10/12/19 8:19 PM, Pierre Malard wrote:
Hi,
I’m looking for a method to upgrade my centos 7 servers to 8 and I don’t find anything to do that!
I’m a very newbie with CentOS? My choices where gone to Debian or Ubuntu and it was very simple. Just some files must be changed (/etc/apt/source.list). My search suggest a RELH subscription. Is it the only way?
Hi Pierre.
RHEL/CentOS are different then Ubuntu, Debian or Fedora. RHEL/CentOS 6.x was based on Fedora 12 packages, RHEL/CentOS 7.x on Fedora 19 and RHEL/CentOS 8.0 on Fedora 28 packages. As you can see, Upgrading from CentOS 7 to 8 is like directly updating from Fedora 19 to Fedora 28, gap of whole 9 versions, and Ubuntu from 14.04 to 19.04 (skipping 14.10, 15.04, 15.10, 16.04, 16.10, 17.04, 17.10, 18.04 and 18.10). This happens because CentOS becomes EOL after 10 years and it's replacement 5 full years after initial release. In whole that time, main packages like glibc do not change version (except bugfixes).
So, differences between packages versions are VERY large, and simple "upgrade" would most likely mess things up.
Red Hat did release a RHEL tool for upgrade, but there is no interest in community to work to convert it for CentOS, so trying to upgrade CentOS 7 to 8 is risky at least.
I do not even think about upgrading my servers from 7 to 8, only clean install is option for me (with backup before it of course).
On another note, if you do not have a pressing need to upgrade CentOS to 8, I would argue you can stay on 7 for next 3-5 years, or maybe upgrade one at the time.
Many packages like php can be upgraded on CentOS 7. If you tell us why you NEED to upgrade your servers to 8, maybe we can dirrect you to solution like Software collection or IUS repository.
Best regards
-- Pierre Malard
«La France n'est pas schismatique, elle est révolutionnaire» Jean Jaures - 1905 (`.-,') .-' ; _.-' , `,- _ _.-' .' /._ .' ` _.-. / ,'._;) ( . )-| ( )`,_ ,'_,' _;) ('_ _,'.' (___,)) πr `-:;.-'
perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--
CentOS mailing list CentOS@centos.org mailto:CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos https://lists.centos.org/mailman/listinfo/centos
-- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
-- Pierre Malard
« Si l'on veut croire en l'humanité, il faut voir et comprendre l'inhumanité » |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ |,4- ) )-,_. ,\ ( `'-' '---''(_/--' `-'_) πr
perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print' - --> Ce message n’engage que son auteur <--
On Sat, 2019-10-12 at 21:03 +0200, Pierre Malard wrote:
Ok, thanks. it’s now very clear… I must stay in CentOS 7 as long as possible…
No, that's not the way to look at it. Yes, an upgrade of major CentOS versions is a wipe and re-install (unless you really, really know what you are doing), but the longevity of the OS is usually greater than the lifetime of the hardware so there is no *urgency* to upgrade, CentOS 7 is not going to go away for a few years.
The sensible way (i.e. what I do!), is to play with the new version for a little while, testing critical infrastructure and getting a feel for how it all works both standalone and with the rest of my estate. During that process I get to grips with installation procedures, PXE, kickstart, creating my bespoke RPMs and so on. Eventually, by probably 8.1 I will be deploying it for non mission-critical servers. Only then will I think about re-deploying current applications on to CentOS 8 and the urgency with which that is done is governed by the need for the newer versions of applications. But I will still be deploying CentOS 7 on new hardware for a while, but with the knowledge that the OS will still outlast the machines.
P.