1、关闭防火墙
systemctl disable firewalld
systemctl stop firewalld
vim /etc/selinux/config
//修改内容
reboot //重启虚拟机
2、禁用SELinux
3、切换网络管理器(NetworkManager —> network)
systemctl disable NetworkManager
systemctl enable network
systemctl restart network
注:systemctl stop NetworkManager //可以加上
4、下载安装centos-release-openstack-queens
yum install -y centos-release-openstack-queens
安装完成后,启用;
yum repolist all //查看
发现已经启用过了,
注:
yum-config-manager —enable centos-openstack-queens //启用这个
cd /etc/yum.repos.d/ //切换到软件源定义目录
(在yum.repos.d目录下执行)执行:curl -O https://trunk.rdoproject.org/centos7/delorean-deps.repo
curl -O https://trunk.rdoproject.org/centos7/current-passed-ci/delorean.repo
查看:
执行:
将priority—- 改为:1
之后执行:
5、yun update -y //更新系统
6、重启系统
7、安装PackStack -allinone
yum install -y openstack-packstack
等待安装成功,