系统内存要求8G,硬盘100G,操作系统可以连接公网,单网卡即可满足操作。本次实验使用了2块网卡。
操作系统版本:(最小化安装)
CentOS Linux release 7.4.1708 (Core)
openstack-queens版本
centos-release-openstack-queens-1-1.el7.centos.x86_64
1.系统配置:
关闭不需要服务:
setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
systemctl disable firewalld
systemctl stop firewalld
systemctl disable NetworkManager
systemctl stop NetworkManager
2.OpenStack软件安装:
yum install centos-release-openstack-queens.x86_64 -y(安装openstack的yum 源)
yum install -y openstack-packstack
yum install python-pip -y
packstack --allinone (本次安装环境所有组建部署在一个节点。)
3,登陆dashboard
http://192.168.0.78
密码记录在keystonerc_admin文件中:
unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=a8e90bb181da420e
export OS_AUTH_URL=http://192.168.0.79:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne