您现在的位置是:首页 >其他 >一键部署open stack网站首页其他

一键部署open stack

离陌殇殃 2024-07-18 18:01:02
简介一键部署open stack

1.更改镜像源
mv  /etc/yum.repos.d/CentOS-Base.repo  /etc/yum.repos.d/CentOS-Base.repo.bak
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 
yum makecache
2.关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl disable NetworkManager
systemctl stop NetworkManager
setenforce 0
vim /etc/selinux/config
     //
     SELINUX=disabled
    //
3.安装queens版本OpenStack
yum install -y centos-release-openstack-queens
yum update -y
4.安装packstack库
yum install -y openstack-packstack
5.部署openstack

packstack -d --allinone

风语者!平时喜欢研究各种技术,目前在从事后端开发工作,热爱生活、热爱工作。