The latest Devstack installation tutorials on the Web "one-click deployment of OpenStack Test Environments"

Source: Internet
Author: User
Tags aliyun

This period of time due to test needs to build OpenStack environment, search all over Google Baidu to make no less than 30 attempts ... See Chen Shak and other predecessors of the installation of the tutorial, a lot of configuration information has expired. However, the approximate steps are basically the same, due to the recent devstack in GitHub update frequently, many features may be added more New, the source software link may need to change. The steps for installing this time (with the latest source) are given below, and you want to be helpful to a friend who needs a one-click deployment of the OpenStack test environment.

Beta version: Ubuntu 12.04.5 LTS

System kernel: Linux r10f17332.sqa.zmf 3.2.0-60-generic #91-ubuntu SMP x86_64 x86_64


Replace 163 source

CD  /etc/aptcp sources.list etc-apt-source.listvim sources.list

Save the source sample after Etc-apt-source.list and empty the sources.list and add 163 source

Deb Http://mirrors.163.com/ubuntu/precise main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise Main restricted
Deb Http://mirrors.163.com/ubuntu/precise-updates main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-updates Main restricted
Deb Http://mirrors.163.com/ubuntu/precise Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise Universe
Deb Http://mirrors.163.com/ubuntu/precise-updates Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise-updates Universe
Deb Http://mirrors.163.com/ubuntu/precise Multiverse
DEB-SRC Http://mirrors.163.com/ubuntu/precise Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-updates Multiverse
DEB-SRC Http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
Deb Http://mirrors.163.com/ubuntu/precise-security main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Main restricted
Deb Http://mirrors.163.com/ubuntu/precise-security Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise-security Universe
Deb Http://mirrors.163.com/ubuntu/precise-security Multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Multiverse
Deb Http://extras.ubuntu.com/ubuntu Precise Main
Deb-src Http://extras.ubuntu.com/ubuntu Precise Main

If you encounter the following error:

W:GPG error:http://extras.ubuntu.com precise release:the following signatures couldn ' t be verified because the public K EY is not available:no_pubkey 16126d3a3e5c1192

Run the following command to resolve:

sudo apt-key adv--keyserver keyserver.ubuntu.com--recv-keys 16126d3a3e5c1192


update the system source and update the system

sudo apt-get updatesudo apt-get upgrade


Install Git tool "already installed skip this step"
Apt-get Install git


set PIP source "The source has been tested and is now good"
mkdir ~/.pipcd ~/.piptouch Pip.cnfvim pip.cnf
write and save in file
[Global]
Trusted-host=mirrors.aliyun.com
Index-url=http://mirrors.aliyun.com/pypi/simple


download Devstack "User Directory"
Cd/home/xxxgit Clone Https://github.com/openstack-dev/devstack.git

run./stack.sh

Can only use non-root user (here I take xxx for example) to run the script

cd/home/xxx/devstack./stack.sh
procedures need to configure 5 password, follow the prompts to enter it.

Installation process Please maintain a good network status, the whole process takes about 20 minutes, after installation will be prompted

This is your host IP address:x.x.x.x

Hroizon is now available at https://x.x.x.x/

Keystone is serving at http://x.x.x.x:5000/

The default users Are:admin and demo

The password:< before you enter the password >


At this point, the entire installation process is over.

To access the host IP, display the following page


Login to the main screen using admin account



Some of the things you might do in the process

Installing PIP:HTTP://PIP-CN.READTHEDOCS.ORG/EN/LATEST/INSTALLING.HTML#GET-PIP
Upgrade python:http://blog.csdn.net/hanshileiai/article/details/43835413
Re-install mysql:http://blog.sina.com.cn/s/blog_73000beb01012eh4.html


If you have any doubts or questions, please leave a message to discuss!



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The latest Devstack installation tutorials on the Web "one-click deployment of OpenStack Test Environments"

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.