I have a Fedora 9 Machine and All I want is yum to install packages automatically through one of teh remote repository.
Whenever I do :
Code:
wget ftp://130.239.17.6/fedora/releases/9/Fedora/i386/os/Packages/*.rpm
It works fine. But What I want is My Machine should automatically retrieve the package from this Repo whenever I run
Under /etc/ I can see lots of yum stuffs .
like yum, yum.repos.d and yum.conf.
I tried adding a line like this:
Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
baseurl=ftp://130.239.17.6/fedora/releases/9/Fedora/i386/os/Packages/
enabled=1
gpgcheck=0
But That dint work.
Do I need to make any modification in yum.repos.d and yum directory too.
Pls Suggest?