KodeKloud Enigneer task

The Nautilus production support team and security team had a meeting last month in which they decided to use local yum repositories for maintaing packages needed for their servers. For now they have decided to configure a local yum repo on Nautilus Backup Server. This is one of the pending items from last month, so please configure a local yum repository on Nautilus Backup Server as per details given below.

a. We have some packages already present at location /packages/downloaded_rpms/ on Nautilus Backup Server.
b. Create a yum repo named epel_local and make sure to set Repository ID to epel_local. Configure it to use package’s location /packages/downloaded_rpms/.
c. Install package samba from this newly created repo.

Below are the steps I used after logging as a Sudo in Backup server

[root@stbkp01 ~]# yum repolist
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
repolist: 0
[root@stbkp01 ~]# vi /etc/yum.repos.d/epel_local.repo
[root@stbkp01 ~]# yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
local_yum | 2.9 kB 00:00:00
local_yum/primary_db | 57 kB 00:00:00
repo id repo name status
local_yum epel_local 55
repolist: 55
[root@stbkp01 ~]# yum install samba
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
.9.1-10.el7_7 samba-libs.x86_64 0:4.9.1-10.el7_7

Complete!
[root@stbkp01 ~]# yum list samba
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
Installed Packages
samba.x86_64 4.9.1-10.el7_7 @local_yum

Still I was failed in this task … Please help me to review my steps

Is the final error message came after I press CHECK in my task window

  • ‘samba’ package was not installed from ‘epel_local’ yum repository on Backup Server