openstack quick start
来源:互联网 发布:niconico软件 编辑:程序博客网 时间:2024/06/07 06:10
openstack安装参考网址:
http://blog.csdn.net/zhoudaxia/article/details/9068931
Openstack官方文档:http://docs.openstack.org/
OpenStack Compute Administration Guide:http://docs.openstack.org/trunk/openstack-compute/admin/content/
[官版翻译ing]OpenStack云计算快速入门之一:OpenStack及其构成简介:http://blog.chinaunix.net/uid-22414998-id-3263551.html
[官版翻译ing]OpenStack云计算快速入门之二:OpenStack安装与配置:http://blog.chinaunix.net/uid-22414998-id-3265685.html
[官版翻译ing]OpenStack云计算快速入门之三:OpenStack镜像管理:http://blog.chinaunix.net/uid-22414998-id-3272059.html
1,Select a Linux Distribution
Only Ubuntu 14.04 (Trusty), Fedora 21 (or Fedora 22) and CentOS/RHEL 7 are documented here. OpenStack also runs and is packaged on other flavors of Linux
such as OpenSUSE and Debian.
2,Install Selected OS
In order to correctly install all the dependencies, we assume a specific minimal version of the supported distributions to make it as easy as possible.
We recommend using a minimal install of Ubuntu or Fedora server in a VM if this is your first time.
3,Download DevStack
git clone https://git.openstack.org/openstack-dev/devstack
The devstack repo contains a script that installs OpenStack and templates for configuration files
4,Configure
We recommend at least a Minimal Configuration be set up.
Minimal Configuration
no logging
pre-set the passwords to prevent interactive prompts
move network ranges away from the local network (FIXED_RANGE and FLOATING_RANGE, commented out below)
set the host IP if detection is unreliable (HOST_IP, commented out below)
[[local|localrc]]
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
#FIXED_RANGE=172.31.1.0/24
#FLOATING_RANGE=192.168.20.0/25
#HOST_IP=10.3.4.5
If the *_PASSWORD variables are not set here you will be prompted to enter values for them by stack.sh.
The network ranges must not overlap with any networks in use on the host. Overlap is not uncommon as RFC-1918 ‘private’ ranges are commonly used for both the local
networking and Nova’s fixed and floating ranges.
HOST_IP is normally detected on the first run of stack.sh but often is indeterminate on later runs due to the IP being moved from an Ethernet interface to a bridge on the host.
Setting it here also makes it available for openrc to set OS_AUTH_URL. HOST_IP is not set by default.
HOST_IPV6 is normally detected on the first run of stack.sh but will not be set if there is no IPv6 address on the default Ethernet interface.
Setting it here also makes it available for openrc to set OS_AUTH_URL. HOST_IPV6 is not set by default.
5,Start the install
cd devstack; ./stack.sh
It takes a few minutes, we recommend reading the script while it is building.
遇到的问题
1,权限问题,我用root下载的git 源码,用root执行stack.sh会提示创建一个非root用户来执行。创建非root用户执行注意,执行前
sudo chown -R stack:stack /opt/devstack改变目录的用户,以及把非root用户加入sudoer组
2,源配置问题,执行stack.sh后,它会下载很多包,源配置要覆盖尽可能多的包,尽可能快。参考http://chenrongya.blog.163.com/blog/static/8747419620143185103297/。
0 0
- openstack quick start
- Quick Start
- Quick Start
- WAP Push Quick Start
- Purify Quick Start
- [Avalon] Quick Start
- CodeSmith Quick Start Guide
- JavaMail quick start
- Ibatisnet Quick Start
- Ibatisnet Quick Start
- KGDB Quick Start
- dom4j Quick start
- Resin Installation Quick Start
- iBatisnet Quick Start(转)
- OpenLDAP Quick Start Guide
- squid quick start
- DOJO Quick Start
- HII Tools Quick Start
- hadoop常用命令
- 通过HTTP协议上传文件
- Item 19:把类的设计视作类型设计 Effective C++笔记
- java.lang.NoClassDefFoundError: org/dom4j/DocumentException
- leetcode 236: Lowest Common Ancestor of a Binary Tree
- openstack quick start
- nload安装
- select、poll、epoll之间的区别总结[整理]
- libcurl post上传文件
- Ubuntu下adb 显示insufficient permissions for device,或Eclipse中DDMS设备显示?????
- Windows API: 调用FindFirstFile之后发生的内存泄漏(未解决)
- “男人不坏,女人不爱”说明了什么?
- redis 强制关闭并重启方法
- mysql查看历史执行的sql