packstack部署openstack的步骤

packstack部署openstack的步骤。小编来告诉你更多相关信息。packstack部署openstack的步骤为大家分享packstack部署openstack的步骤的相关知识,下面小编为您详细解答

packstack部署openstack的步骤。小编来告诉你更多相关信息。

packstack部署openstack的步骤

为大家分享packstack部署openstack的步骤的相关知识,下面小编为您详细解答

项目介绍

Packstack是一个用于自动化OpenStack安装的工具。

它是由Red Hat开发的,可以快速、简单地安装OpenStack环境。

项目地址

https://wiki.openstack.org/wiki/Packstack

packstack部署openstack的步骤

环境:CentOS 7

配置:8核6G内存

配置步骤

1.配置系统固定IP

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33

2.关闭SElinux

[root@localhost ~]# vi /etc/selinux/config#将SELINUX=enforcing改为SELINUX=disabled,重启系统

3.更换yum源为阿里源,具体方法见历史文章http://231ai.cn/index.php/archives/29/ 4.更新yum

[root@localhost ~]# yum -y update

5.关闭NetworkManager.service和防火墙

[root@localhost ~]# systemctl stop NetworkManager.service[root@localhost ~]# systemctl disable NetworkManager.service   #开机不自动启动Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.[root@localhost ~]# systemctl status NetworkManager.service   #查看服务状态[root@localhost ~]# systemctl restart network   #重启网络[root@localhost ~]# setenforce 0[root@localhost ~]# systemctl stop firewalld   #关闭防火墙[root@localhost ~]# systemctl disable firewalldRemoved symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.[root@localhost ~]# systemctl status firewalld

6.更新device-mapper

[root@localhost ~]# yum update device-mapper

7.安装rdo

[root@localhost ~]# yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

8.安装openstack-packstack

[root@localhost ~]# yum install -y openstack-packstack#安装成功结尾会显示Complete!

9.启动httpd服务

[root@localhost ~]# systemctl start httpd

10.安装openstack

[root@localhost ~]# packstack --allinone#成功安装结尾会输出:****Installation completed successfully*****

11.通过浏览器输入IP地址访问openstack登录界面 12.账号密码查看,保存账号的文件在账号的home目录下

[root@localhost ~]# cd ~[root@localhost ~]# lsanaconda-ks.cfg  keystonerc_admin  keystonerc_demo  packstack-answers-20211028-034120.txt[root@localhost ~]# cat keystonerc_adminunset OS_SERVICE_TOKENexport OS_USERNAME=adminexport OS_PASSWORD=\'dc38819f10624ea0\'export OS_REGION_NAME=RegionOneexport OS_AUTH_URL=http://172.31.3.9:5000/v3export PS1=\'[\\u@\\h \\W(keystone_admin)]\\$ \' export OS_PROJECT_NAME=adminexport OS_USER_DOMAIN_NAME=Defaultexport OS_PROJECT_DOMAIN_NAME=Defaultexport OS_IDENTITY_API_VERSION=3

上述分享的packstack部署openstack的步骤的全部内容,您了解了吗?

本文内容由互联网用户自发贡献,该文观点仅代表作者本人,本站仅供展示。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 97552693@qq.com 举报,一经查实,本站将立刻删除。

给TA打赏
共{{data.count}}人
人已打赏
投稿

了解德邦的玩法妙招(德邦最新出装攻略)

2024-1-8 12:49:56

投稿

暗黑破坏神3宠物怎么用(switch暗黑3宠物设置步骤)

2024-1-15 18:11:50

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索