ubuntuOS

本文详细介绍了在Ubuntu操作系统上部署并配置OpenStack的过程,包括网络规划、安装NTP、生成安全密码、部署自动化工具、数据库设置、安装MySQL库、配置MySQL服务、启用OpenStackAPT仓库、解决SSH登录慢问题、修改RabbitMQ用户密码、存储配置信息的数据库类型及使用SQLite存储OpenStack组件配置信息的方法。

OpenStack icehource for Ubuntu OS

1,网络规划

2,Ntp apt-get install ntp

3,generate secure passwd

apt-get install pwgen or openssl rand -hex 10

4,deployment automation tools such as Ansible, Chef, and Puppet(自动化初始化各个OpenStack Services components 裸机)

5,database to store information for OpenStack Services core components(supporting service or options services);

install MySQL Python library on any additional nodes that access MySQL,

controller node, install the MySQL client and server packages, and the Python
library.

配置mysql服务

enable InnoDB, UTF-8
character set, and UTF-8 collation,bind-address(Management Ip address enable other host access)

5,OpenStack apt-get repository

How to Enable and Use

 

Folsom

 

sudo add-apt-repository cloud-archive:folsom

 

Grizzly

 

sudo add-apt-repository cloud-archive:grizzly

 

Havana

 

sudo add-apt-repository cloud-archive:havana

 

Icehouse

 

sudo add-apt-repository cloud-archive:icehouse

Now run:

sudo apt-get update

to update your package listings and then proceed to install/upgrade your openstack packages.

 

Reporting Bugs

To report bugs against packages from the Ubuntu Cloud Archive, please use the 'ubuntu-bug' tool, for example:

 

ubuntu-bug nova-compute

This will ensure that bugs are raised against the cloud-archive project on Launchpad.

6,Ubuntu ssh 登录慢问题

Ubuntu 中 ssh 登录非常缓慢,输入用户名后要等好一阵先出现提示输入密码, 这是Ubuntu默认开启了 SSH 的 DNS反解析造成的原因,只要将此选项关闭, 重新启动sshd后反应非常快。

vi /etc/ssh/sshd_config

在最后添加下面一行,关闭 SSH 的 DNS 反解析:

UseDNS no

service ssh restart即可搞定;

7,修改rabbitmq Message broker 用户密码

Functions test Environment or production Environment;

8,OpenStack packages for Ubuntu 相关组件的配置信息存储在sqlite中

 

sqlite3程序通过查找分号来决定一个SQL语句的结束

sqlite3中sql必须要以;结尾,sql语句就是以;判断语句句尾的,但sqlite命令尾部则不用加;

SQLite数据库的框架被保存在一个名叫"sqlite_master"的特殊的表中

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值