1.关闭防火墙等
2.执行Yum -y update
3.sudo yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
4.sudo yum install -y centos-release-openstack-rocky
5.sudo yum install -y openstack-packstack
6.packstack –allinone安装成功
注:在执行packstack –allinone时可能会报错,这可能是网络原因,多次尝试即可。