Createrepo
Jump to navigation
Jump to search
Prep repo host
yum install createrepo nginx /usr/share/nginx/html/rhel/7Server/os/ createrepo /usr/share/nginx/html/rhel/7Server/os/ /etc/yum.repos.d/my.repo [mytestrepoos] name=MyRepo $releasever - OS # $releasever=7Server baseurl=http://repo.example.com:80/rhel/$releasever/os/ enabled=1 gpgcheck=1 # curl -O http://repo.example.com:80/rhel/7Server/os/RPM-GPG-KEY-redhat-release && rpm --import RPM-GPG-KEY-redhat-release