云计算_OpenStack
部署方式-Fuel
注:部署失败且Fuel方式已过时。
部署方式-packstack
注:基于系统版本CentOS 7.9 2009部署
系统基本设置
设置静态IP=192.168.80.60
设置hostname=openstack
设置dns=8.8.8.8,1.1.1.1
设置/etc/hosts解析=192.168.80.60 openstack
系统安全设置
#关闭SELINUX
setenforce 0
getenforce
或者
vi /etc/selinux/config enforcing改为disabled
#停止NetworkManager服务
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl status NetworkManager
#停止防火墙服务
systemctl stop firewalld
systemctl disable firewalld
systemctl status firewalld
安装OpenStack
yum update -y
yum install -y https://rdoproject.org/repos/rdo-release.rpm
yum install -y openstack-packstack
packstack --allinone
登录OpenStack Web
#URL
https://192.168.80.60/Dashboard
#账户口令
admin/d6495c61c93c457f
demo/72ef76d824ec4c2f
部署方式-容器
#待完全掌握docker & K8s基础知识后利用Kolla进行部署!