Загрузка...

KodeKloud Linux Lab 5 Solution | YUM and RPM (Step-by-Step)

This is a hands-on lab to work with RPM and YUM package managers on a CentOS system. Since Ubuntu uses APT, this lab provides valuable experience with Red Hat based distributions which are widely used in enterprise environments. Understanding both package management systems is essential for any DevOps or system administration role.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
WHAT YOU WILL LEARN
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

How to connect to a remote CentOS server using SSH
Which package manager is used on CentOS and other RHEL based systems
How to query installed packages using RPM
How to install packages using RPM and troubleshoot failures
How to install packages using YUM (dependency resolution)
How to view configured YUM repositories
How to find which package provides a specific command

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
LAB TASKS COVERED
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Connect to the centos-lab server using SSH
Identify which package manager is used on the CentOS machine
Use rpm command to find the exact package name for wget installed on the server
Attempt to install Firefox browser using RPM from the downloaded file under /home/bob
Determine if the installation was successful
Understand why the RPM installation failed
Install Firefox using YUM instead
Find out how many software repositories are configured for YUM
Identify which package provides the tcpdump command

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
COMMAND REFERENCE
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

ssh centos-lab ............. Connect to the remote CentOS server
logout or exit ............. Disconnect from the remote server
rpm -qa | grep wget ........ Find installed wget package
rpm -qa .................... List all installed packages
rpm -ivh package.rpm ....... Install a package using RPM
yum install firefox ........ Install Firefox using YUM
yum repolist ............... List configured YUM repositories
yum repolist all ........... List all repositories including disabled ones
yum provides tcpdump ....... Find which package provides tcpdump command
yum whatprovides tcpdump ... Alternative to find package providing a command

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
IMPORTANT NOTES
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Bob's default password for centos-lab: caleston123
RPM installation often fails due to missing dependencies. YUM resolves dependencies automatically by pulling required packages from configured repositories.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
ABOUT THIS LAB
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

This lab is part of the Linux course offered by KodeKloud. All lab content, tasks, and the practice environment belong to KodeKloud. This video is uploaded with their written permission, and full credit goes to their platform.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
WHY I RECOMMEND KODEKLOUD
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

KodeKloud is honestly one of the best platforms I have used for hands-on IT learning. They cover Linux, DevOps, Kubernetes, AWS, and a lot more, and every course comes with real labs you can actually practice in. If you are serious about building practical skills, check them out.

Visit: https://kodekloud.com
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

If this video helped you solve the lab, drop a like and subscribe. I am posting walkthroughs for the rest of the KodeKloud Linux labs, so stick around if you want to follow along.

#Linux #KodeKloud #DevOps #RPMPackage #YUM #CentOS #PackageManagement #CommandLine

Видео KodeKloud Linux Lab 5 Solution | YUM and RPM (Step-by-Step) канала Abdul Hadi Official
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять