HomePage » Linux » LinuxRPMRepository


Custom RPM Repository

Install the createrepo tool
yum install createrepo 
createrepo <path> 


Create a repository file
vi /etc/yum.repos.d/someName.repo 
 
[someName]
name=My Repo
baseurl=file://<path>/
enabled=1

or 
[someName]
name=My Repo
baseurl=http://webserver/<path>/
enabled=1


Run createrepo when a new rpm is deposited into the repository.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki