We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
[HowTo] Install or Upgrade to Kernel 4.17 in CentOS 7 and VestaCP
[HowTo] Install or Upgrade to Kernel 4.17 in CentOS 7 and VestaCP
In this tutorial we’ll updating/installing Kernel 4.17 on Linux OS – Centos 7. So what is kernel? -A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer/server. It is responsible for interfacing all of your applications that are running in “user mode” down to the physical hardware, and allowing processes, known as servers, to get information from each other using inter-process communication (IPC).
In order to Update Kernel This requirements are mandatory :
Check current kernel version :
Eg. output :
Now We’ll Start the procedure of Kernel upgrade on CentOS 7 :
We need to enable the ELRepo repository on CentOS 7, run the below commands :
You can retrieve latest download links on official page here
Now we’ll install Kernel 4.16 with the below command :
** at the time kernel 4.16 was available as latest version, for latest versions the procedure will be the same.
Now kernel 4.16 will downloaded and installed this process will take some time to complete.
Now we need to add/modify config under /etc/default/grub :
And put this line or modify the line if already exists to :
eg :
Save the file and run this command to create the kernel configs :
That’s it reboot your server and check the kernel version again :
TO update :
In order to Update Kernel This requirements are mandatory :
- Centos 7 with root access
- KVM virtualization/any other full virtualization OR Dedicated Server
- SSH/Terminal access
Check current kernel version :
Code: Select all
uname -sr
Code: Select all
[root@server ~]# uname -sr
Linux 3.10.0-123.4.2.el7.x86_64
We need to enable the ELRepo repository on CentOS 7, run the below commands :
Code: Select all
rpm --import http://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
Now we’ll install Kernel 4.16 with the below command :
** at the time kernel 4.16 was available as latest version, for latest versions the procedure will be the same.
Code: Select all
yum --enablerepo=elrepo-kernel install kernel-ml -y
Now we need to add/modify config under /etc/default/grub :
Code: Select all
nano /etc/default/grub
Code: Select all
GRUB_DEFAULT=0
Code: Select all
[root@server ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
[color=#FF0000]GRUB_DEFAULT=0[/color]
Code: Select all
grub2-mkconfig -o /boot/grub2/grub.cfg
Code: Select all
uname -sr
Code: Select all
[root@server ~]# uname -sr
Linux 4.17.6-1.el7.elrepo.x86_64
Code: Select all
yum clean all
yum --enablerepo=elrepo-kernel install kernel-ml
or
yum --enablerepo=elrepo-kernel update kernel-ml