Exam EX200 All QuestionsBrowse all questions from this exam
Question 44

SIMULATION -

Upgrade the kernel, start the new kernel by default. kernel download from this address: ftp://server1.domain10.example.com/pub/update/new.kernel

    Correct Answer:

    To upgrade the kernel and start the new kernel by default, follow these steps: First, download the new kernel file from the specified FTP address. You can use 'wget ftp://server1.domain10.example.com/pub/update/new.kernel' for this purpose. After downloading, list the files to find the exact name of the new kernel file. Install the new kernel using the 'rpm -ivh' command followed by the new kernel file name. Once the new kernel is installed, verify and edit the '/boot/grub/grub.conf' file to ensure the new kernel is set as the default boot option. This can be done by setting 'default=0' in the 'grub.conf' file, where '0' refers to the first kernel entry (which will be the newly installed kernel if it appears first in the list). Finally, reboot the system to start with the new kernel.

Discussion
cloudyhr

#wget ftp://server1.domain10.example.com/pub/update/new.kernel find the name of the new.kerrnal #ls #rpm -ivh new.kernel list all install kernels #dnf list installed kernel #grubby --info=ALL #grubby --set-default="/boot/vmlinuz-4.18.0-348.7.1.el8_5.x86_64" #grubby --set-default-index=0

mdtjan

can we update it via yum?

ly01

Yes we can sudo dnf install kernel-5.14.0-427.24.1.el9_4.x86_64.rpm kernel-core-5.14.0-427.24.1.el9_4.x86_64.rpm kernel-modules-5.14.0-427.24.1.el9_4.x86_64.rpm kernel-modules-core-5.14.0-427.24.1.el9_4.x86_64.rpm uname -r sudo grubby --default-kernel sudo reboot uname -r