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 memory +50g HDD)

2) SELinux, iptables off systemctl stop firewalld.service #停止firewallsystemctl disable Firewalld.service # Disable firewall boot 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/sudoers

4) Su enters new user and clones Devstack

Su-stackgit clone https://git.openstack.org/openstack-dev/devstack5) Install DEVSTACKCD 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




*************************************************************************************************

Start OpenStack

Handling Error Issues:

/stack.sh:line 488:generate-subunit:command not found

sudo yum install-y python-pip

sudo pip install--upgrade pip

sudo pip install-u os-testr


This article from "Mr-g operation and maintenance Knowledge Base" blog, declined reprint!

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.