Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The Centos7 environment prepares the installation of openstack pike

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report