Thank you for your friends to support this blog, welcome to discuss the exchange, due to limited capacity and time, mistakes are unavoidable, please correct me!
If reproduced, please keep the source author blog information.
Better Me Blog: Blog.csdn.net/tantexian
If you need to communicate, welcome to blog message.
CentOS 6.5 builds local OpenStack software source
Mkdir-p/home/yum/openstack/openstack-icehouse/epel-6/
Wget-np-nh–cut-dirs=1-r-c-l–exclude-directories=repodata–accept=rpm,zip,gz,xml Http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/-p/tmpAfter the download is complete: (merge the Openstackyum directory into the local Yum folder) mv/tmp/repos/openstack/openstack-icehouse/epel-6//home/yum/openstack/ openstack-icehouse/epel-6/vim Rdo-release.repo [Openstack-icehouse]
Name=openstack Icehouse Repository
Baseurl=http://192.168.1.200/yum/openstack/openstack-icehouse/epel-6/enabled=1
Skip_if_unavailable=0
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-rdo-icehouse
priority=98 createrepo-pdo/home/yum/openstack/openstack-icehouse/epel-6//home/yum/openstack/openstack-icehouse/ epel-6/
Local OpenStack software source setup completed
Local Epel software source Setup starts:
Mv/etc/yum.repos.d/epel.repo/etc/yum.repos.d/epel.repo.tmp
Vim/etc/yum.repos.d/epel-local.repo
[Epel-local]
Name=local Epel
baseurl=http://192.168.1.200/yum/epel/centos/6.5/os/x86_64/
Failovermethod=priority
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6
Local Epel software source build complete!!!
Epel.repo Source Package Address:
Wget-t 1-np-nh–cut-dirs=1-r-c-l–exclude-directories=repodata–accept=rpm,zip,gz,xml Http://mirrors.hust.edu.cn/ce ntos/6.5/os/x86_64/-p/tmp
Where the wget in-T 1 indicates the connection time-out reconnection, general settings to retry the OK
Official Source Package Address:
http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/
CentOS 6.5 builds local OpenStack, Epel software source