Openstack cloud platform integrated deployment (super detailed)

[RDO integrated deployment of OpenStack]**
0. Environment preparation (CentOS7 has been installed and configured with static IP)**
0.1 Specify the IP address of the DNS server (Specifies the IP address of the DNS server)
If the following picture appears, it means that it has been configured by default
insert image description here

hostname 查看域名(主机名):
insert image description here
ip addr 查看虚拟机ip:
insert image description here
0.2 IP与域名(或主机名)映射
vim /etc/hosts
192.168.253.100 tsw01
insert image description here
0.3 关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
insert image description here
0.4 关闭SELinux
vim /etc/selinux/config #SELINUX=enforcing 改成 SELINUX=disabled
insert image description here
注意,要重启系统后(reboot),SELinux的修改才能生效
另,查看SELinux的状态:getenforce sestatus /usr/sbin/sestatus -v
insert image description here
insert image description here
0.5 网络管理由NetworkManager切换成network
CentOS7默认使用NetworkManager进行网络管理(不支持OpenStack)
–查看网络管理状态
systemctl status NetworkManager
systemctl status network
insert image description here
--停止禁用NetworkManager
systemctl stop NetworkManager
systemctl disable NetworkManager

insert image description here

– enable start network
systemctl enable network
systemctl restart network
insert image description here
0.6 update system
yum update -y
see Complete! It succeeded
insert image description here
1. Prepare the required software library
1.1 Install Open Stack Queens
yum install -y centos-release-openstack-queens

See Complete! 1.2 Enable
insert image description here
the Open Stack Queens resource library
yum-config-manager --enable centos-openstack-queens
insert image description here
You can see that this command is not found in the above picture, we only need to install
this
command
insert image description here

yum repolist enabled Query enabled resource libraries
yum repolist disabled Query disabled resource libraries
yum repolist all Query all resource libraries
The above three commands need to be entered to view:

Re-enable the Open Stack Queens repository after installing the command
yum-config-manager --enable centos-openstack-queens
insert image description here
1.3 Switch to the software source definition directory
cd /etc/yum.repos.d/
insert image description here
1.4 Download the software source definition file (RDO official website for CentOS7)
curl -O https://trunk.rdoproject.org/centos7/delorean-deps.repo
curl -O https://trun k.rdoproject.org/centos7/current-passed-ci/delorean.repo
insert image description here

1.6 Upgrade software package and system kernel (change software and system settings)
yum update -y

The picture below is the successful installation interface. Use the website to access the interface to see if it is successful (http://192.168.253.100/dashboard). The password to enter is through ls to view the directory cat ./keystonerc_admin to view the account password
insert image description here




insert image description here



insert image description here

insert image description here

insert image description here

insert image description here

insert image description here
insert image description here

insert image description here
insert image description here

As shown in the figure above, the cloud platform was successfully
built in 3 Days (Part 1)

Guess you like

Origin blog.csdn.net/qq_46906413/article/details/121510348