Friends,
In my office, there are 2 systems, on System 1 I did the following:
1.Copied all the 5 CDs of RHEL 5 in to /var/ftp/pub/Server and created repository with createrepo command "createrepo /var/ftp/pub/Server"
2.Started vsftpd service
2.In system 2 i did the following:
vi /etc/yum.repos.d/RHELrepo.repo
=> [RHELrepo]
name=RHELrepo
baseurl=ftp://system1:/pub/Server
gpgcheck=0
----------------------------------
now from the same system (system 2) i did the follg:
yum clean all
yum list all
It gives the error messg almost like this:
ftp:10.0.0.4
ub/Server/repodata/repomd.xml
[Error no 4] IO Error < urlopen error)-2,Name or service not known)
Trying other mirror. Cannot open/read read repomd.xml file for repository:RHELrepo
Please let me know what should I do to correct this...?