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的步骤的全部内容,您了解了吗?

本站部分文章来自网络或用户投稿,如无特殊说明或标注,均为本站原创发布。涉及资源下载的,本站旨在共享仅供大家学习与参考,如您想商用请获取官网版权,如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
投稿

Windows实现多用户同时远程连接

2024-1-15 18:02:39

投稿

SVN代码更新到远程服务器(将SVN代码同步至远程服务器)

2024-1-15 18:04:26

搜索