MDR Reposerver Notes.md 602 B

How to add a new package to the reposerver (which we want to move to S3)

drop it in /var/www/html/redhat/msoc/Packages make sure it's own by apache sudo -u apache /bin/bash cd /var/www/html/redhat && createrepo msoc exit restorecon -R /var/www/html/redhat/

#oneliner chown -R apache:apache /var/www/html/redhat/msoc/Packages/ && cd /var/www/html/redhat/ && sudo -u apache createrepo msoc && restorecon -R /var/www/html/redhat/

#clean out the cache on the target server yum clean all

#view the available packages yum --disablerepo="*" --enablerepo="msoc-repo" list available

yum install savinstpkg