Preparation environment:
1) Minimum installation of CentOS 7 (6g+50g)
2) SELinux, iptables off
Systemctl Stop Firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动setenforce 0
# Use the watercress pip source
Mkdir-p ~/.pip VI ~/.pip/pip.conf[global]index-url = Http://pypi.douban.com/simple/[install]trusted-host = PyPI . douban.com
Download and install Epel
wget HTTP://DL.FEDORAPROJECT.ORG/PUB/EPEL/EPEL-RELEASE-LATEST-7.NOARCH.RPMRPM-IVH Epel-release-latest-7.noarch.rpmyum Repolist # #检查是否已添加至源列表
Install the necessary kits for the system:
Yum install-y python-pippip Install--upgrade pippip install-u os-testr yum-y install bridge-utils yum-y Install net- Tools Yum install-y git yum-utils update system: Yum update
3) Add an OpenStack user
useradd-d/opt/stack-m-s/bin/bash Stackecho "Stack all= (All) nopasswd:all" >>/etc/sudoer
4) Su enters new user and clones Devstack
Su-stackgit Clone Https://git.openstack.org/openstack-dev/devstack
5) Install Devstack
CD devstack./stack.sh
Wait 2-3 minutes and you will see a password hint for MySQL database, RabbitMQ, service administrator, service authentication and Horizon and Keystone services.
It is expected that the remaining installation steps will take at least 10-30 minutes for a long time (depending on your Internet connection.)
6) Once the installation is complete, you can access
This article is from the "MR-G Operations Knowledge Base" blog, please be sure to keep this source http://xpstack.blog.51cto.com/2973026/1886264
Use Devstack to quickly install OpenStack on CentOS 7