Use Devstack to quickly install OpenStack on CentOS 7

Source: Internet
Author: User
Tags knowledge base

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.