ubuntuOS

本文提供了一套详细的指南,用于在Ubuntu操作系统上安装和配置OpenStack Icehouse版本。内容覆盖了网络规划、NTP同步、密码生成、自动化部署工具如Ansible的使用、MySQL数据库配置及OpenStack软件包的安装步骤。同时,还介绍了如何解决Ubuntu中SSH登录速度慢的问题以及如何修改RabbitMQ消息代理的用户密码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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"的特殊的表中

 

posted on 2014-09-30 16:50 秦瑞It行程实录 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/ruiy/p/4002283.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值