EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 101


SIMULATION -

Install the appropriate kernel update from http://server.domain11.example.com/pub/updates.

The following criteria must also be met:

The updated kernel is the default kernel when the system is rebooted

The original kernel remains available and bootable on the system

Show Answer
Correct Answer:

To install the appropriate kernel update from http://server.domain11.example.com/pub/updates and ensure that the updated kernel is the default kernel when the system is rebooted while keeping the original kernel available and bootable, follow these steps: 1. Open a terminal and download the kernel update using wget: wget http://server.domain11.example.com/pub/updates/kernel*. 2. Install the downloaded kernel packages using rpm: rpm -ivh kernel*. 3. Ensure that the default kernel is set correctly by editing the GRUB configuration file: vim /etc/grub.conf. 4. Verify that the updated kernel is listed first and the original kernel is still present, then set default=0. 5. Save and exit the editor with :wq!. This process will ensure that the updated kernel becomes the default kernel while keeping the original kernel available.

Discussion

4 comments
Sign in to comment
STFN2019
Sep 28, 2021

The solution to the questions seems very confusing. Best way is to update the repos and install the new kernel which becomes your default kernel anyway, no need for any further changes. Simply follow an e.g. link here: https://computingforgeeks.com/how-to-install-latest-kernel-on-centos-linux/

ANI_04
Oct 9, 2021

$ dnf config-manager --add-repo {given_url} $ dnf update I agree with STFN2019 , maybe the above step will get the work done!

ArchBishop
May 24, 2021

Question: You should be able to use wget to obtain the correct packages here, yes? Is the only reason they didn't because they don't have the full path/name of the file to correctly use the command?

kenkct
Mar 14, 2022

yum config-manager --add-repo {given_url} yum update kernel

salamm
Dec 15, 2023

Install the appropriate kernel update from http://server.domain11.example.com/pub/updates. The following criteria must also be met: The updated kernel is the default kernel when the system is rebooted The original kernel remains available and bootable on the system the way i will do this: cd / then; wget http://server.domain11.example.com/pub/updates, ls -al if new kernel is there I will copy it somewhere and check current kernelswith the command #grubby --info=ALL ----this is to see all kernel then #grubby --default-kernel to see the default if its different from the new one to set new kernel use #grubby --set-default=/kernel/path then check with #grubby --default-kernel or STFN2019's solution dnf config-manager --add-repo http://server.domain11.example.com/pub/updates then; run #dnf update