[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
hostname 查看域名(主机名):
ip addr 查看虚拟机ip:
0.2 IP与域名(或主机名)映射
vim /etc/hosts
192.168.253.100 tsw01
0.3 关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
0.4 关闭SELinux
vim /etc/selinux/config #SELINUX=enforcing 改成 SELINUX=disabled
注意,要重启系统后(reboot),SELinux的修改才能生效
另,查看SELinux的状态:getenforce sestatus /usr/sbin/sestatus -v
0.5 网络管理由NetworkManager切换成network
CentOS7默认使用NetworkManager进行网络管理(不支持OpenStack)
–查看网络管理状态
systemctl status NetworkManager
systemctl status network
--停止禁用NetworkManager
systemctl stop NetworkManager
systemctl disable NetworkManager
– enable start network
systemctl enable network
systemctl restart network
0.6 update system
yum update -y
see Complete! It succeeded
1. Prepare the required software library
1.1 Install Open Stack Queens
yum install -y centos-release-openstack-queens
See Complete! 1.2 Enable
the Open Stack Queens resource library
yum-config-manager --enable centos-openstack-queens
You can see that this command is not found in the above picture, we only need to install
this
command
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
1.3 Switch to the software source definition directory
cd /etc/yum.repos.d/
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
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
As shown in the figure above, the cloud platform was successfully
built in 3 Days (Part 1)