In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install packstack in CentOS. I hope you will get something after reading this article. Let's discuss it together.
The steps for CentOS to install version M are as follows:
Step 1: initial system configuration
1. Prepare before you start to deploy your own virtual cloud computing infrastructure with your root account, log in for the first time and make sure the system is the latest node.
two。 Next, identify, stop, disable, and delete unwanted services, mainly Postfix,NetworkManager and firewalld.
Turn off the firewall and NetworkManager
# systemctl stop postfix firewalld NetworkManager
Permanently shut down the firewall and NetworkManager
# systemctl disable postfix firewalld NetworkManager
# systemctl mask NetworkManager
# yum remove postfix NetworkManager NetworkManager-libnm
Prompt that if the uninstall is successful, it is completed.
3. Disable the SELinux policy on your computer entirely by issuing the following command. You can also edit the / etc/selinux/config file and set SELINUX from the screenshot below.
# setenforce 0
# getenforce
# vi / etc/selinux/config
Disable SELinux
Then restart the virtual machine
4. Set the hostname of your Linux system in the next step using the hostnamectl command. So change the FQDN variable.
# hostnamectl set-hostname cloud.centos.lan
Set the Linux system hostname
Step 2: install OpenStack in CentOS
5. Configure the OpenStack-Mitaka network source
Vi / etc/yum.repos.d/CentOS-OpenStack.repo
[OpenStack-Mitaka]
Name=OpenStack-Mitaka
Baseurl= http://vault.centos.org/7.2.1511/cloud/x86_64/openstack-mitaka/
Enabled=1
Gpgcheck=0
6. Install packstack tools
# yum install openstack-packstack libvirt-enablerepo=OpenStack-Mitaka
7.Packstack installation:
Performing the installation using the following code automatically configures the bridge:
Packstack-allinone-provision-demo=n-os-neutron-ovs-bridge-mappings=extnet:br-ex-os-neutron-ovs-bridge-interfaces=br-ex:eno16780032-os-neutron-ml2-type-drivers=vxlan,flat
Eno16780032 is the name of the network card
Note: if an error occurs, you need to re-execute step 7, but sometimes you will still report an error. It may be that you installed it before and did not uninstall it cleanly. At this time, do not worry. Uninstall the script for openstack components.
After reading this article, I believe you have a certain understanding of "how CentOS installs packstack". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.