Get the App
SLTechnology News&Howtos  ›  Servers  › 

The Centos7 environment prepares the installation of openstack pike

Shulou Source: shulou.com Published: 2022-06-02 01:06:43 11月14日 Update

This article introduces the installation of openstack pike in Centos7 environment and shares it with you. The details are as follows:

# # 1.Centos7 Environment preparation # Centos7 x86 "6" install yum-y install wget vim ntp net-tools tree openssh# replace Ali Source mv / etc/yum.repos.d/CentOS-Base.repo { .bak} wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repoyum install centos-release-openstack-pike-y # install the OpenStack library yum clean all & & yum makecache # generate cache yum install python-openstackclient openstack-selinux python2-PyMySQL-y # OpenStack client yum install openstack-utils-y # openstack tool # close selinux, Firewall systemctl stop firewalld.servicesystemctl disable firewalld.servicefirewall-cmd-- statesed-I'/ ^ SELINUX=.*/c SELINUX=disabled' / etc/selinux/configsed-I / ^ SELINUXTYPE =. * / SELINUXTYPE=disabled/g' / etc/selinux/configgrep-- color=auto'^ SELINUX' / etc/selinux/configsetenforce "setting hostnameHost=controller.www.localhostnamectl set-hostname $Host# hostname $Host# echo $Host > / etc/hostname# setting network card (Vlan, bond, etc.) Plan IP address # controller node needs to add public network IP (using other network segment IP address) as VNC proxy # hosts Controller also needs to add echo "10.2.1.20 controller" > > / etc/hostsecho "10.2.1.21 computer01" > > / etc/hostsecho "10.2.1.22 computer02" > > / etc/hosts# to view native IPip add | sed-nr's # ^. * inet (. *) / 24.synchronization #\ 1#gp'# time synchronization / usr/sbin/ntpdate ntp6.aliyun.com echo "* / 3 * / usr/sbin/ntpdate ntp6.aliyun Com & > / dev/null "> / tmp/crontabcrontab / tmp/crontab# upgrade Restart yum update-y & & reboot

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Tags: Environment preparation address content customer client that is tools time cache network card network segment node firewall Ali native agent upgrade synchronization learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Docker Huawei Shulou Information Shulou Tech Info