1.cd /home/lk
git clone -b stable/kilo https://git.openstack.org/openstack-dev/devstack
2.为避免网络的各种问题浪费时间,提前把各种所需包下载到本地:
cd /opt/stack
git clone -b stable/kilo https://github.com/openstack/nova.git
git clone -b stable/kilo https://github.com/openstack/ceilometer.git
git clone -b stable/kilo https://github.com/openstack/cinder.git
git clone -b stable/kilo https://github.com/openstack/glance.git
git clone -b stable/kilo https://github.com/openstack/heat.git
git clone https://github.com/openstack/heat-cfntools.git
git clone https://github.com/openstack/heat-templates.git
git clone -b stable/kilo https://github.com/openstack/horizon.git
git clone -b stable/kilo https://github.com/openstack/keystone.git
git clone -b stable/kilo https://github.com/openstack/neutron.git
git clone https://github.com/kanaka/noVNC.git
git clone -b stable/kilo https://github.com/openstack/requirements.git
git clone -b stable/kilo https://github.com/openstack/swift.git
git clone https://github.com/openstack/os-apply-config.git
git clone https://github.com/openstack/os-collect-config.git
git clone https://github.com/openstack/os-refresh-config.git
git clone https://github.com/openstack/dib-utils.git
3.cd /home/lk/devstack
./stack.sh
遇到的问题:
1.Could not find a version that satisfies the requirement cryptography (from versions: ) No matching distribution found for cryptography
解决方法:豆瓣pip源502错误,不使用豆瓣pip源即可。
OpenStack制作Ubuntu镜像:http://www.linuxdiyf.com/linux/11877.html
为OpenStack制作CoreOS虚拟机镜像(基于CoreOS官方提供镜像):http://www.linuxdiyf.com/linux/11940.html
使用ISO文件制作OpenStack使用的CoreOS镜像:http://www.linuxdiyf.com/linux/11941.html
使用官方Fedora22 ISO镜像制作OpenStack云镜像:http://www.linuxdiyf.com/linux/12814.html