The CentOS Linux project has released an updated version of its stable Linux distribution CentOS Linux 7.7. You must upgrade to get corrections for security problem as this version made a few adjustments for the severe issue found in CentOS 7.6. CentOS is a Linux distro that is mainly maintained and updated through the work of many users who volunteer their time and effort. It is based upon RHEL 7.7 upstream source code.
More about CentOS Linux 7.7 released
From the release note:
We are pleased to announce the general availability of CentOS Linux 7 (1908) for the x86_64 architecture. Effectively immediately, this is the current release for CentOS Linux 7 and is tagged as 1908, derived from Red Hat Enterprise Linux 7.7 Source Code. Updates released since the upstream release are all posted, across all architectures. We strongly recommend every user apply all updates, including the content released today, on your existing CentOS Linux 7 machine. Many packages have received important updates. Please see the upstream document for details.
What’s new in CentOS 7.7
Major changes in CentOS 7.7:
- Python 3 is now available. Installing the python3 package gives you the Python 3.6 interpreter.
- bind version 9.11
- chrony version 3.4
- Since release 1503 (abrt>= 2.1.11-19.el7.centos.0.1) CentOS-7 can report bugs directly to bugs.centos.org.
- Linux kernel version 3.10.0-1062.1.1.el7.x86_64
- More info here
How to update to CentOS 7.6 from 7.7
First, note down the Linux kernel version, run:
Check CentOS Linux version in Linux command line, run:
Upgrading CentOS 7.6 to 7.7
Make sure you back up all your data, database, and configuration file before attempting upgrade procedure on CentOS Linux 7.6. You can see a list of the updates on screen, type:
sudo yum check-update
Loaded plugins: copr GeoIP.x86_64 1.5.0-14.el7 base NetworkManager.x86_64 1:1.18.0-5.el7_7.1 updates NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.1 updates NetworkManager-ppp.x86_64 1:1.18.0-5.el7_7.1 updates NetworkManager-team.x86_64 1:1.18.0-5.el7_7.1 updates NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.1 updates NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.1 updates alsa-lib.x86_64 1.1.8-1.el7 base apr.x86_64 1.4.8-5.el7 base audit.x86_64 2.8.5-4.el7 base ... .. ... yum-cron.noarch 3.4.3-163.el7.centos base yum-plugin-copr.noarch 1.1.31-52.el7 base yum-plugin-fastestmirror.noarch 1.1.31-52.el7 base yum-utils.noarch 1.1.31-52.el7 base Obsoleting Packages python3.x86_64 3.6.8-10.el7 base python36.x86_64 3.6.8-1.el7 @epel python3-libs.x86_64 3.6.8-10.el7 base python36-libs.x86_64 3.6.8-1.el7 @epel python3-setuptools.noarch 39.2.0-10.el7 base python36-setuptools.noarch 39.2.0-3.el7 @epel
Next, simply run the following yum command:
sudo yum update
Reboot the CentOS 7.6 Linux machine
Simply run any one of the following command:
sudo shutdown -r now
Verify upgrades from 7.6 to 7.7
Run the following commands to see version numbers:
Make sure all services are running on CentOS Linux box:
netstat -tulpn | grep LISTEN
Check out for errors in log file using the cat command/grep command/egrep command and other tools:
tail -f /var/log/messages
grep error /path/to/nginx.conf
egrep -i 'err|warn|cri' /var/log/messages
Overall, CentOS Linux 7.7 provides new updates for popular operating systems. This page also explained how to update CentOS 7.6 to 7.7 using yum command. For more information see official wiki page here and known issues page here.