Question Locked

yum configuration in single system RHEL 5

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I dumped all RPM files in my /var/ftp/pub/server and i also configure the FTP server and i also configure the rhel-debuginfo.repo like

baseurl=ftp://system ip/pub/server
enable=1
but it showing some errors.

so please explain to me

How to configure the yum repo in a single system

3 replies

by tnmanjan

vi /etc/yum.repos.d/server.repo
[base]
name = rhel
baseurl=ftp://system ip/pub/server
enabled=1
gpgcheck = 1

by bhanu8099

First thing is you need to create a file with .repo extension in /etc/yum.repos.d
ex linux.repo
then later u need to create template as u are awre of that .
Then as your mentioning ip adress check your /etc/hosts file and /etc/resolv.conf file.

See as per my knowledge why u edited rhel-debuginfo.repo which is statndard file.Which is a mistake .

This discussion is closed to new replies.