Ubuntu16.10安装Ocata之1:基础环境配置

本文涉及的产品
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
简介:

使用两个节点手动安装OpenStack的Ocata版本

10.1.1.3     controller 

10.1.1.15   compute


控制节点配置

1、配置apt源

root@controller:~# apt install software-properties-common

root@controller:~# add-apt-repository cloud-archive:ocata

 Ubuntu Cloud Archive for OpenStack Ocata

 More info: https://wiki.ubuntu.com/ServerTeam/CloudArchive

Press [ENTER] to continue or ctrl-c to cancel adding it

Reading package lists...

Building dependency tree...

Reading state information...

The following NEW packages will be installed:

  ubuntu-cloud-keyring

0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.

Need to get 5,086 B of archives.

After this operation, 34.8 kB of additional disk space will be used.

Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/universe ppc64el ubuntu-cloud-keyring all 2012.08.14 [5,086 B]

Fetched 5,086 B in 0s (5,433 B/s)

Selecting previously unselected package ubuntu-cloud-keyring.

(Reading database ... 52388 files and directories currently installed.)

Preparing to unpack .../ubuntu-cloud-keyring_2012.08.14_all.deb ...

Unpacking ubuntu-cloud-keyring (2012.08.14) ...

Setting up ubuntu-cloud-keyring (2012.08.14) ...

Importing ubuntu-cloud.archive.canonical.com keyring

OK

Processing ubuntu-cloud.archive.canonical.com removal keyring

gpg: /etc/apt/trustdb.gpg: trustdb created

OK


root@controller:/etc/apt/sources.list.d# cat cloudarchive-ocata.list

deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main

# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main

root@controller:~# apt update && apt dist-upgrade 

root@controller:~# apt install python-openstackclient -y


2、安装配置MariaDB

root@controller:~# apt install mariadb-server python-pymysql -y

root@controller:~# cat /etc/mysql/mariadb.conf.d/99-openstack.cnf

[mysql]

bind-address = 10.1.1.3

default-storage-engine = innodb

innodb_file_per_table = on

max_connections = 4096

collation-server = utf8_general_ci

character-set-server = utf8

root@controller:~# service mysql restart

root@controller:~# service mysql status


3、安装memacached keystone nova neutron dashboard

apt install -y memcached python-memcache keystone glance nova-api nova-conductor nova-consoleauth nova-novncproxy nova-scheduler  neutron-server neutron-plugin-ml2  neutron-linuxbridge-agent neutron-l3-agent neutron-dhcp-agent   neutron-metadata-agent   openstack-dashboard


4、配置Rabbitmq-server服务

root@controller:~# apt install rabbitmq-server -y

root@controller:~# rabbitmqctl add_user openstack zoomtech

Creating user "openstack" ...

root@controller:~# rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...


5、配置memcached

root@controller:~# vim /etc/memcached.conf

-l 10.1.1.3

root@controller:~# service memcached restart

root@controller:~# service memcached status



本文转自 OpenStack2015 51CTO博客,原文链接:http://blog.51cto.com/andyliu/1902047,如需转载请自行联系原作者

相关实践学习
基于CentOS快速搭建LAMP环境
本教程介绍如何搭建LAMP环境,其中LAMP分别代表Linux、Apache、MySQL和PHP。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
相关文章
|
22天前
|
Ubuntu NoSQL 关系型数据库
Ubuntu系统下安装常用软件
Ubuntu系统下安装常用软件
44 0
Ubuntu系统下安装常用软件
|
1月前
|
Ubuntu Linux C语言
Ubuntu下安装vscode,并解决终端打不开vscode的问题
Ubuntu下安装vscode,并解决终端打不开vscode的问题
135 0
|
2月前
|
存储 Ubuntu 网络协议
|
1月前
|
Ubuntu Docker 容器
如何在Ubuntu上安装Docker?
【2月更文挑战第10天】
242 0
|
2月前
|
负载均衡 Ubuntu 应用服务中间件
|
24天前
|
Ubuntu 关系型数据库 MySQL
Ubuntu 中apt 安装MySQL数据库
Ubuntu 中apt 安装MySQL数据库
66 0
|
2天前
|
Ubuntu 数据安全/隐私保护
在UBUNTU虚拟机上安装R软件包
在UBUNTU虚拟机上安装R软件包
|
3天前
|
存储 编解码 Ubuntu
0-零基础安装ubuntu(超详细安装步骤)
0-零基础安装ubuntu(超详细安装步骤)
|
4天前
|
Ubuntu Linux 定位技术
手把手教你优雅的安装虚拟机 Ubuntu —— 图文并茂
手把手教你优雅的安装虚拟机 Ubuntu —— 图文并茂
|
18天前
|
Ubuntu Linux 虚拟化
【Linux】ubuntu安装samba服务器
【Linux】ubuntu安装samba服务器