Install createrepo
Make repository directory and put RPMs there
createrepo /path/to/RPMS
Create repo file
/etc/yum.repos.d/local.repo
[local]
name=Local Repository Demo
baseurl=file:///absolute/path/to/RPMS
enabled=1
gpgcheck=0
protect=1
Make repository directory and put RPMs there
createrepo /path/to/RPMS
Create repo file
/etc/yum.repos.d/local.repo
[local]
name=Local Repository Demo
baseurl=file:///absolute/path/to/RPMS
enabled=1
gpgcheck=0
protect=1
No comments:
Post a Comment