openstack quick start
2015-08-31 18:21
621 查看
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/。
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/。
相关文章推荐
- 将ueditor上传的视频转换为flowplayer播放,并隐藏其播放地址
- Arduino板的DHT11温湿度传感器使用
- 工作3年。对于目前的工作环境不是很满意打算转战UI设计
- UIGestureRecognizer手势
- UIScrollView 滚动视图的方法总结
- 【EasyUI】Combobox的联动和onChange/onSelect事件绑定
- UIEvent - 3
- android之UEventObserver分析
- [推荐]Android消息处理机制(Handler、Looper、MessageQueue与Message) Android是消息驱动的,实现消息驱动有几个要素: 消息的表示:Message 消息
- UITabBar的背景颜色属性
- UIEvent - 2
- UITableView的使用和点击每个cell跳转到其他controller优化
- UIAlertView在其他页面快速显示?
- poj 3080 Blue Jeans
- 关于UIBarItem和UINvigationController,UITabBarController关系
- IE7/8当文本模式为杂项"Quirks" 导致JSP页面变样的问题
- r.js 打包压缩文件(依赖require)
- hdoj 4062 Queuing 【矩阵快速幂优化递推公式】
- UITableView-------模型的使用
- 你给我解析清楚,都有了CALayer了,为什么还要UIView