OpenStack一键安装

OpenStack一键安装

1、更新yum

yum update

2、关闭NetworkManager

systemctl stop NetworkManager.servicesystemctl disable NetworkManager.service

3、重启网络

systemctl restart network

4、关闭防火墙

setenforce 0

systemctl stop firewalld

systemctl disable firewalld

5、更新device-mapper

yum update device-mapper 

 

6、配置要求

内存至少4G

 

7、安装步骤和命令如下:

sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

或者使用:$ sudo yum install -y centos-release-openstack-stein

 OpenStack一键安装_第1张图片

 

sudo yum install -y openstack-packstack

OpenStack一键安装_第2张图片

 

 

packstack --allinone

OpenStack一键安装_第3张图片

 

 

4、再次启动,主目录会有安装文件,执行命令如下:

packstack --answer-file packstack-answers-20190726-170213.txt

 

查看默认账号密码cat keystonerc_admin

http://192.168.1.146/dashboard/

参考地址:https://www.cnblogs.com/huligong1234/p/3984055.html

https://blog.csdn.net/u012999810/article/details/78210014

你可能感兴趣的:(OpenStack一键安装)