RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 31 Topic 4 Discussion

RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 31 Topic 4 Discussion

RH202 Exam Topic 4 Question 31 Discussion:
Question #: 31
Topic #: 4

Backup of the Redhat Enterprise Linux 5 is on /var/ftp/pub, /var/www/html/pub on server named server1.example.com. You can install all required packages using yum by creating the repository file.

Answer and Explanation:

1. Create the repository file

#vi /etc/yum.repos.d/server1.repo

[station?]

name=station?

baseurl=ftp://server1.example.com/pub/

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

# yum install


Get Premium RH202 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.