You said you re-installed yum, how did you remove yum?If you did a rpm -e yum, then the yum plugins may have still been left behind.I have thefollowing /etc/yum.repos.d/Cent (mind the line-wraps):[base]name=Cent OS-$releasever - Basemirrorlist=
Updating kernel with yum
Current it shows the below kernel version in aws server. Want to update the kernel version atleast kernel-3.10.0-514.13.1.el7 Will "yum -y update kernel" update to a latest kernel uname -sr Linux 3.10.0-327.28.2.el7.x86_64 cat /etc/*release Cent OS Linux release 7.2.1511 (Core) NAME="Cent OS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="Cent OS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https:// BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="Cent OS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" - If you don't have one then have a look at; will give you instructions on how to add and enable the enterprise linux repo and enable the kernel section.
You should then be able to upgrade all the way to 4.11.1 if you want.
Updates are installed by downloading the packages from the yum repository and installing them locally using the RPM package manager.
It's probably worth repeating that Oracle also provides updates (errata) for free from our public-yum server - you can keep your system up to date and fully patched against security threats without the need of purchasing a support subscription.
In the case of yum, it's possible to create a local copy of a repository and simply point all clients to obtain their patches from there instead.