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
sudo yum install -y openstack-packstack
packstack --allinone
4、再次启动,主目录会有安装文件,执行命令如下:
packstack --answer-file packstack-answers-20190726-170213.txt
查看默认账号密码cat keystonerc_admin
http://192.168.1.146/dashboard/