Medha Cloud Logo

How to upgrade CentOS 7 to CentOS 7.5?

Hello folks,

There is good news for you. Have you heard CentOS has released its latest version, i.e., 7.5?
Yes, you heard it correct, the new version is available on the net now. So, if you are an existing Linux user and you have a plan to upgrade your CentOS this would be a dashing deal for you.
This post focuses on how to upgrade to the CentOS latest version 7.5. Also, walk you through the new features, discontinued features, considerations and the drawbacks (If any). And it’ll help you to decide why should you update the current CentOS to CentOS 7.5( click here for more information).
Let's see the prominent factors that you need to check before a headlong.

Major Features:

1. CentOS can report bugs directly to bugs.centos.org via Automatic Bug Reporting Tool(ABRT).
2. OpenSSL is compiled with OpenSSL instead of NAME Service Switch (NSS).
3. Supports HA(High Availability) clusters of VMs(Virtual Machines) on Medha Hosting, AWS, Microsoft Azure.

Prerequisites:

1. Root access to the server
2. Working internet connection to the server for download packages.

Consideration:

Debuginfo packages are also being signed and pushed. Yum configs shipped in the new release file will have all the context required for debuginfo to be available on every CentOS Linux install.

Let’s check how to upgrade CentOS 7.5

Click here for more info about server administration

Before upgrading to CentOS 7.5, let’s check the current OS version.

cat /etc/centos-release

I have received the following output.

CentOS Linux release 7.0.1406 (Core)

For the latest release, let us check the available updates.

yum check-update

The output would be like:

Loaded plugins: fastestmirror
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Loading mirror speeds from cached hostfile
* base: packages.oit.ncsu.edu
* extras: packages.oit.ncsu.edu
* updates: packages.oit.ncsu.edu

acl.x86_64 2.2.51-14.el7 base
acpid.x86_64 2.0.19-9.el7 base
at.x86_64 3.1.13-23.el7 base
attr.x86_64 2.4.46-13.el7 base
audit.x86_64 2.8.1-3.el7_5.1 updates
audit-libs.x86_64 2.8.1-3.el7_5.1 updates
authconfig.x86_64 6.2.8-30.el7 base
avahi.x86_64 0.6.31-19.el7 base
avahi-glib.x86_64 0.6.31-19.el7 base
avahi-libs.x86_64 0.6.31-19.el7 base
bash.x86_64 4.2.46-30.el7 base
bind-libs-lite.x86_64 32:9.9.4-61.el7_5.1 updates
bind-license.noarch 32:9.9.4-61.el7_5.1 updates
binutils.x86_64 2.27-28.base.el7_5.1 updates
bzip2.x86_64 1.0.6-13.el7 base
bzip2-libs.x86_64 1.0.6-13.el7 base
ca-certificates.noarch 2018.2.22-70.0.el7_5 updates
cairo.x86_64 1.14.8-2.el7 base
centos-logos.noarch 70.0.6-3.el7.centos base
checkpolicy.x86_64 2.5-6.el7 base
chkconfig.x86_64 1.7.4-1.el7 base
coreutils.x86_64 8.22-21.el7 base
cpio.x86_64 2.11-27.el7 base
cronie.x86_64 1.4.11-19.el7 base
cronie-anacron.x86_64 1.4.11-19.el7 base
cryptsetup-libs.x86_64 1.7.4-4.el7 base
cups.x86_64 1:1.6.3-35.el7 base
cups-filesystem.noarch 1:1.6.3-35.el7 base
cups-filters.x86_64 1.0.35-22.el7 base
cups-filters-libs.x86_64 1.0.35-22.el7 base
cups-libs.x86_64 1:1.6.3-35.el7 base
curl.x86_64 7.29.0-46.el7 base
cyrus-sasl-lib.x86_64 2.1.26-23.el7 base
dbus.x86_64 1:1.10.24-7.el7 base
dbus-libs.x86_64 1:1.10.24-7.el7 base
device-mapper.x86_64 7:1.02.146-4.el7 base
device-mapper-libs.x86_64 7:1.02.146-4.el7 base
dhclient.x86_64 12:4.2.5-68.el7.centos.1 updates
dhcp-common.x86_64 12:4.2.5-68.el7.centos.1 updates
dhcp-libs.x86_64 12:4.2.5-68.el7.centos.1 updates
e2fsprogs.x86_64 1.42.9-12.el7_5 updates
e2fsprogs-libs.x86_64 1.42.9-12.el7_5 updates
elfutils.x86_64 0.170-4.el7 base
elfutils-libelf.x86_64 0.170-4.el7 base
elfutils-libs.x86_64 0.170-4.el7 base
expat.x86_64 2.1.0-10.el7_3 base
file.x86_64 5.11-33.el7 base
file-libs.x86_64 5.11-33.el7 base
filesystem.x86_64 3.2-25.el7 base
findutils.x86_64 1:4.5.11-5.el7 base
fipscheck.x86_64 1.4.1-6.el7 base
fipscheck-lib.x86_64 1.4.1-6.el7 base
fontconfig.x86_64 2.10.95-11.el7 base
freetype.x86_64 2.4.11-15.el7 base
gawk.x86_64 4.0.2-4.el7_3.1 base
gettext.x86_64 0.19.8.1-2.el7 base
gettext-libs.x86_64 0.19.8.1-2.el7 base
ghostscript.x86_64 9.07-29.el7_5.2 updates
ghostscript-cups.x86_64 9.07-29.el7_5.2 updates
glibc.x86_64 2.17-222.el7 base
glibc-common.x86_64 2.17-222.el7 base
gmp.x86_64 1:6.0.0-15.el7 base
gnupg2.x86_64 2.0.22-5.el7_5 updates
grep.x86_64 2.20-3.el7 base
grub2.x86_64 1:2.02-0.65.el7.centos.2 base
grub2-tools.x86_64 1:2.02-0.65.el7.centos.2 base
grubby.x86_64 8.28-23.el7 base
gzip.x86_64 1.5-10.el7 base
hwdata.x86_64 0.252-8.8.el7 base
info.x86_64 5.1-5.el7 base
iproute.x86_64 4.11.0-14.el7 base
iptables.x86_64 1.4.21-24.1.el7_5 updates
iptables-services.x86_64 1.4.21-24.1.el7_5 updates
iputils.x86_64 20160308-10.el7 base
kbd.x86_64 1.15.5-13.el7 base
kbd-misc.noarch 1.15.5-13.el7 base
kernel.x86_64 3.10.0-862.14.4.el7 updates
kmod-libs.x86_64 20-21.el7 base
kpartx.x86_64 0.4.9-119.el7_5.1 updates
krb5-libs.x86_64 1.15.1-19.el7 updates
lcms2.x86_64 2.6-3.el7 base
less.x86_64 458-9.el7 base
libICE.x86_64 1.0.9-9.el7 base
libSM.x86_64 1.2.2-2.el7 base
libX11.x86_64 1.6.5-1.el7 base
libX11-common.noarch 1.6.5-1.el7 base
libXext.x86_64 1.3.3-3.el7 base
libXfixes.x86_64 5.0.3-1.el7 base
libXfont.x86_64 1.5.2-1.el7 base
libXrender.x86_64 0.9.10-1.el7 base
libXt.x86_64 1.1.5-3.el7 base
libXxf86vm.x86_64 1.1.4-1.el7 base
libacl.x86_64 2.2.51-14.el7 base
libattr.x86_64 2.4.46-13.el7 base
libblkid.x86_64 2.23.2-52.el7_5.1 updates
libcap.x86_64 2.22-9.el7 base
libcap-ng.x86_64 0.7.5-4.el7 base
libcom_err.x86_64 1.42.9-12.el7_5 updates
libcroco.x86_64 0.6.11-1.el7 base
libcurl.x86_64 7.29.0-46.el7 base
libdb.x86_64 5.3.21-24.el7 base
libdb-utils.x86_64 5.3.21-24.el7 base
libdrm.x86_64 2.4.83-2.el7 base
liberation-fonts-common.noarch 1:1.07.2-16.el7 base
liberation-mono-fonts.noarch 1:1.07.2-16.el7 base
libffi.x86_64 3.0.13-18.el7 base
libfontenc.x86_64 1.1.3-3.el7 base
libgcc.x86_64 4.8.5-28.el7_5.1 updates
libgcrypt.x86_64 1.5.3-14.el7 base
libgomp.x86_64 4.8.5-28.el7_5.1 updates
libicu.x86_64 50.1.2-15.el7 base
libidn.x86_64 1.28-4.el7 base
libmount.x86_64 2.23.2-52.el7_5.1 updates
libnetfilter_conntrack.x86_64 1.0.6-1.el7_3 base
libpciaccess.x86_64 0.14-1.el7 base
libpng.x86_64 2:1.5.13-7.el7_2 base
libpwquality.x86_64 1.2.3-5.el7 base
libss.x86_64 1.42.9-12.el7_5 updates
libssh2.x86_64 1.4.3-10.el7_2.1 base
libstdc++.x86_64 4.8.5-28.el7_5.1 updates
libtasn1.x86_64 4.10-1.el7 base
libtiff.x86_64 4.0.3-27.el7_3 base
libusbx.x86_64 1.0.21-1.el7 base
libuser.x86_64 0.60-9.el7 base
libuuid.x86_64 2.23.2-52.el7_5.1 updates
libxcb.x86_64 1.12-1.el7 base
libxml2.x86_64 2.9.1-6.el7_2.3 base
linux-firmware.noarch 20180220-62.2.git6d51311.el7_5 updates
logrotate.x86_64 3.8.6-15.el7 base
lsof.x86_64 4.87-5.el7 base
lua.x86_64 5.1.4-15.el7 base
m4.x86_64 1.4.16-10.el7 base
mailx.x86_64 12.5-19.el7 base
make.x86_64 1:3.82-23.el7 base
mariadb-libs.x86_64 1:5.5.60-1.el7_5 updates
mesa-libEGL.x86_64 17.2.3-8.20171019.el7 base
mesa-libGL.x86_64 17.2.3-8.20171019.el7 base
mesa-libgbm.x86_64 17.2.3-8.20171019.el7 base
mesa-libglapi.x86_64 17.2.3-8.20171019.el7 base
mlocate.x86_64 0.26-8.el7 base
ncurses.x86_64 5.9-14.20130511.el7_4 base
ncurses-base.noarch 5.9-14.20130511.el7_4 base
ncurses-libs.x86_64 5.9-14.20130511.el7_4 base
net-tools.x86_64 2.0-0.22.20131004git.el7 base
nspr.x86_64 4.19.0-1.el7_5 updates
nss.x86_64 3.36.0-7.el7_5 updates
nss-softokn.x86_64 3.36.0-5.el7_5 updates
nss-softokn-freebl.x86_64 3.36.0-5.el7_5 updates
nss-sysinit.x86_64 3.36.0-7.el7_5 updates
nss-tools.x86_64 3.36.0-7.el7_5 updates
nss-util.x86_64 3.36.0-1.el7_5 updates
ntpdate.x86_64 4.2.6p5-28.el7.centos base
open-vm-tools.x86_64 10.1.10-3.el7_5.1 updates
openjpeg-libs.x86_64 1.5.1-17.el7 base
openldap.x86_64 2.4.44-15.el7_5 updates
openssh.x86_64 7.4p1-16.el7 base
openssh-clients.x86_64 7.4p1-16.el7 base
openssh-server.x86_64 7.4p1-16.el7 base
os-prober.x86_64 1.58-9.el7 base
p11-kit.x86_64 0.23.5-3.el7 base
p11-kit-trust.x86_64 0.23.5-3.el7 base
pam.x86_64 1.1.8-22.el7 base
pam_pkcs11.x86_64 0.6.2-28.el7 base
patch.x86_64 2.7.1-10.el7_5 updates
pcre.x86_64 8.32-17.el7 base
pcsc-lite-libs.x86_64 1.8.8-7.el7 base
pinentry.x86_64 0.8.1-17.el7 base
pixman.x86_64 0.34.0-1.el7 base
poppler.x86_64 0.26.5-17.el7_4 base
poppler-utils.x86_64 0.26.5-17.el7_4 base
procps-ng.x86_64 3.3.10-17.el7_5.2 updates
psmisc.x86_64 22.20-15.el7 base
pth.x86_64 2.0.7-23.el7 base
python.x86_64 2.7.5-69.el7_5 updates
python-chardet.noarch 2.2.1-1.el7_1 base
python-libs.x86_64 2.7.5-69.el7_5 updates
python-pycurl.x86_64 7.19.0-19.el7 base
python-urlgrabber.noarch 3.10-8.el7 base
readline.x86_64 6.2-10.el7 base
redhat-lsb-core.x86_64 4.1-27.el7.centos.1 base
redhat-lsb-submod-security.x86_64 4.1-27.el7.centos.1 base
rpm.x86_64 4.11.3-32.el7 base
rpm-build-libs.x86_64 4.11.3-32.el7 base
rpm-libs.x86_64 4.11.3-32.el7 base
rpm-python.x86_64 4.11.3-32.el7 base
rsync.x86_64 3.1.2-4.el7 base
rsyslog.x86_64 8.24.0-16.el7_5.4 updates
setup.noarch 2.8.71-9.el7 base
shadow-utils.x86_64 2:4.1.5.1-24.el7 base
shared-mime-info.x86_64 1.8-4.el7 base
spax.x86_64 1.5.2-13.el7 base
sqlite.x86_64 3.7.17-8.el7 base
stunnel.x86_64 4.56-6.el7 base
sudo.x86_64 1.8.19p2-14.el7_5 updates
tar.x86_64 2:1.26-34.el7 base
traceroute.x86_64 3:2.0.22-2.el7 base
tzdata.noarch 2018f-2.el7 updates
unzip.x86_64 6.0-19.el7 base
util-linux.x86_64 2.23.2-52.el7_5.1 updates
vim-minimal.x86_64 2:7.4.160-4.el7 base
wget.x86_64 1.14-15.el7_4.1 base
xinetd.x86_64 2:2.3.15-13.el7 base
xorg-x11-font-utils.x86_64 1:7.5-20.el7 base
xz.x86_64 5.2.2-1.el7 base
xz-libs.x86_64 5.2.2-1.el7 base
yum.noarch 3.4.3-158.el7.centos base
yum-plugin-fastestmirror.noarch 1.1.31-46.el7_5 updates
yum-utils.noarch 1.1.31-46.el7_5 updates
zlib.x86_64 1.2.7-17.el7 base
Obsoleting Packages
grub2.x86_64 1:2.02-0.65.el7.centos.2 base
grub2.x86_64 1:2.02-0.2.10.el7.centos.1 @base
grub2-tools.x86_64 1:2.02-0.65.el7.centos.2 base
grub2-tools.x86_64 1:2.02-0.2.10.el7.centos.1 @base
grub2-tools-extra.x86_64 1:2.02-0.65.el7.centos.2 base
grub2-tools.x86_64 1:2.02-0.2.10.el7.centos.1 @base
grub2-tools-minimal.x86_64 1:2.02-0.65.el7.centos.2 base
grub2-tools.x86_64 1:2.02-0.2.10.el7.centos.1 @base

Now let us upgrade the OS version to the latest one applying the following command.

yum update

or

yum upgrade

The above command displays the full package details like version, size of the package, etc.

Here you need to press ‘Y’ and ‘Enter’ key to initiate the up-gradation.

Once the packages are downloaded, the installer will install it automatically.

Once everything is done, you will see the ‘Complete!’ message.
Now you need to reboot the server to take effect.
reboot

Now, check the CentOS version.

cat /etc/centos-release

The output looks like this ( If it’s installed correctly)

CentOS Linux release 7.5.1804 (Core)

We did it! ????

Here you go! Now you know how to update your current CentOS version to CentOS 7.5.

As you’ve seen CentOS 7.5 have a handful of stuff to take into our serious consideration. The features like Automatic Bug Reporting Tool, OpenSSL, all-inclusive debug info packages are making it a cut above to run our Linux system operations.

Hope got all you want to upgrade CentOS 7 to CentOS 7.5- try it out and reach us if you have any queries @ Medhahosting 

Connect with Medha Cloud

Microsoft 365 Migration Form

I would like to send my contact information to MedhaCloud so that MedhaCloud can share additional information about products, services, thought leadership and invitations to flagship events with me by email. *

By submitting this form, I acknowledge that someone from MedhaCloud will contact me via email or phone to discuss my request.

Related Article

View All
chevron-down linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram