# linux64-yum-repo-server
# create local yum repository config files
[root@linux64-yum-repo-server ~]# cat /tmp/local.repos/etc/yum.repos.d/puppetlabs.repo
[root@linux64-yum-repo-server ~]# tar -zPcvpf /var/www/html/local_yum_repos/local_yum_repos.tar.gz `cat /tmp/local.repos`
# local_yum_repos.tar.gz should be available thru httpd on linux64-yum-repo-server
http://linux64-yum-repo-server/local_yum_repos/local_yum_repos.tar.gz# linux64-host
# install local yum repository config files
cd /tmpwget http://linux64-yum-repo-server/local_yum_repos/local_yum_repos.tar.gz
cd /
tar -zxvf /tmp/local_yum_repos.tar.gz
No comments:
Post a Comment