Categorized | Tip

RedHat5 rpmdb-redhat

Place all the rpm packages in one local sub-directory (lets say RHEL5) which
does not have and sub-directorires and do;

rpm -ivh createrepo*.rpm
createrepo /RHEL5

Then in the /etc/yum.repos.d directory place a file named something like
RedHat-media.repo which reads like;

[rh5media]
name=Red Hat-$releasever – Media
baseurl=file:///RHEL5
gpgcheck=0
enabled=0

Then you can type stuff like:

yum install nom   – -enablerepo=rh5media

Author Profile

sysdba ;

Other posts by sysdba

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


Hi, Be the first leave some reply

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>