openstack简单安装--环境准备 博客分类: openstack,openstack安装 openstack
程序员文章站
2024-03-13 19:23:57
...
两台机器controller节点mcon compute节点mcom
两台机器都配置:
vim /etc/hosts
vim /etc/sysconfig/network-scripts/ifcfg-eth0
vim /etc/sysconfig/network-scripts/ifcfg-br0
关闭防火墙服务
vim /etc/hostname
关闭selinux
vim /etc/selinux/config
以下只在controller节点配置
配置数据库
vim /etc/my.cnf.d/mariadb-server.cnf
vim /etc/mongod.conf
两台机器都配置:
vim /etc/hosts
192.168.139.251 mcon 192.168.139.252 mcom
vim /etc/sysconfig/network-scripts/ifcfg-eth0
NAME="eth0" DEVICE="eth0" ONBOOT="yes" NM_CONTROLLED=yes BOOTPROTO=none BRIDGE=br0
vim /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0 TYPE=Bridge ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none IPADDR=192.168.139.252 //本机IP NETMASK=255.255.240.0 GATEWAY=192.168.128.1 DNS1=114.114.114.114
关闭防火墙服务
systemctl stop firewalld.service systemctl disable firewalld.service
vim /etc/hostname
controller(compute)//本机域名
关闭selinux
vim /etc/selinux/config
SELINUX=disabled
yum install centos-release-openstack-mitaka -y yum install https://rdoproject.org/repos/rdo-release.rpm -y yum upgrade -y yum install python-openstackclient -y yum install openstack-selinux -y yum install mariadb mariadb-server python2-PyMySQL -y
以下只在controller节点配置
配置数据库
vim /etc/my.cnf.d/mariadb-server.cnf
bind-address = 192.168.139.251 default-storage-engine = innodb innodb_file_per_table max_connections = 4096 collation-server = utf8_general_ci character-set-server = utf8
systemctl enable mariadb.service systemctl start mariadb.service
yum install mongodb-server mongodb -y
vim /etc/mongod.conf
bind_ip = 192.168.139.251 smallfiles = true
systemctl enable mongod.service systemctl start mongod.service
yum install rabbitmq-server -y systemctl enable rabbitmq-server.service systemctl start rabbitmq-server.service rabbitmqctl add_user openstack zouhuiying rabbitmqctl set_permissions openstack ".*" ".*" ".*"
yum install memcached python-memcached -y systemctl enable memcached.service systemctl start memcached.service
推荐阅读
-
openstack简单安装--环境准备 博客分类: openstack,openstack安装 openstack
-
openstack简单安装--环境准备 博客分类: openstack,openstack安装 openstack
-
openstack安装--nova 博客分类: openstack,openstack安装openstack openstack
-
openstack安装--keystone 博客分类: openstackopenstack,openstack安装 keystone
-
openstack安装--glance 博客分类: openstackopenstack,openstack安装 openstack
-
openstack安装--nova 博客分类: openstack,openstack安装openstack openstack
-
openstack安装--keystone 博客分类: openstackopenstack,openstack安装 keystone
-
Centos7环境准备openstack pike的安装
-
基于CentOS的OpenStack环境部署详细教程(OpenStack安装)
-
基于CentOS的OpenStack环境部署详细教程(OpenStack安装)