Skip to content

Server4001/custom-yum-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yum-repo

Example of hosting your own Yum repo using the Nginx web server.

Setup

  • Start vagrant via: vagrant up
  • The Yum repo is now accessible at: http://admin:password@dev.yum-repo.loc/packages

Installing packages

  • SSH into the consumer instance via: vagrant ssh yum-consumer
  • Install nginx: sudo yum install -y nginx --disablerepo=* --enablerepo=custom_repo
  • Install bananas-and-apples: sudo yum install -y bananas-and-apples

Updating the Yum repo

  • SSH into the Yum repo instance via: vagrant ssh yum-repo
  • Run the update command: createrepo --update /var/www/html/packages

About

Host your own Yum repo via Nginx with Puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published