Hello,
We will show you how to update the kernel required for setting up the Aurora server.
It is assumed that you have installed an OS that is supported by NEC.
The kernel update procedure is shown below.
"In the case of CentOS7.7"
The following kernel update packages are required.
- kernel-3.10.0-1062.18.1.el7.x86_64.rpm
- kernel-headers-3.10.0-1062.18.1.el7.x86_64.rpm
(*) The required RPM pakeages depends on the OS version.
Put on the above RPM packages on your VH
"Assume that packages a placed in the following directory"
/root/kernel/"kernel packages"
Apply the kernel update packages with the yum command
(Command)# yum install /root/kernel/kernel-3.10.0-1062.18.1.el7.x86_64.rpm /root/kernel/kernel-headers-3.10.0-1062.18.1.el7.x86_64.rpm
Confirm the boot kernel list
(Command)# awk -F"'" '$1=="menuentry " {print $2}' /etc/grub2-efi.cfg
The output is as follows for example.
CentOS Linux (3.10.0-1062.18.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1062.el7.x86_64) 7 (Core)
CentOS Linux (0-rescue-86d66ebb54f5412ba7a27ec861746605) 7 (Core)
Change the boot kernel
Please check the output and select the kernel to boot.
(Command)# grub2-set-default 0
(*) The number will be 0 from top of the output.
Reflect the change to the startup file
(Command)# grub2-mkconfig -o /boot/grub2/grub.cfg
The output is as follows for example.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-1062.18.1.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-1062.18.1.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-1062.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-1062.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-86d66ebb54f5412ba7a27ec861746605
Found initrd image: /boot/initramfs-0-rescue-86d66ebb54f5412ba7a27ec861746605.img
done
Reboot the VH after the kernel update
(Command)# reboot
Confirm the updated kernel
You can confirm the updated kernel with the uname command after the reboot of the VH.
(Command)# uname -r
The output is as follows for example.
3.10.0-1062.18.1.el7.x86_64
This procedure completes the update.
Posted by NEC admin (administrator) on 21 June 2022 at 03:09. |
|