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

Yum install openstack

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Yum install openstack

Prepare before installation:

Cpu: enable virtualization (single deployment, change to 4 cores)

Memory: 8GB

The disk space "40g # # test used 28G"

Network: 1 gigabit network card # # in the virtual machine, add a network card and change it to bridge

Install dependent environment (see kvm)

Yum-y install gcc* libxml2-devel libmlx4 # # i.e. (libibverbs)

Synchronization time

Ntpdate pool.ntp.org

Turn off firewall, security mechanism, NetworkManager

To disable power on, that is, disable SELINUX=disable

Optional: modify hostname, modify / etc/hosts file

Restart

Yum installs openstack (installs using the Arium source)

1) upgrade the current software package to avoid errors

Yum update (may not need to upgrade)

2) install the Rdo package

Yum install https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky-1.noarch.rpm

3) install the installation package packstack of openstack

Yum install openstack-packstack

4) start the installation of openstack components, you can modify the installation without intervention, and test the single environment. I use automatic deployment. Deploy multiple nodes and customize the installation.

Packstack-allinone

Note: the login information of the administrator account will be stored in / root/keystone_rc file

5) Open the browser: use http://ip public network address / dashboard

The following are optional viewing items:

[root@openstack ~] # source keystonerc_admin

[root@openstack~] # openstack user list

[root@openstack~] # openstack project list

[root@openstack~] # openstack service list

[root@openstack~] # openstack catalog list

The installation process varies slightly according to the experimental environment, about 1-2 hours.

Adjustment after installation

To generate a temporary network card configuration, add the network card configuration file

Vim / etc/sysconfig/network-scripts/ifcfg-br-ex

TYPE=Ethernet

BOOTPROTO=none

IPADDR=192.168.1.13

NAME=br-ex

DEVICE=br-ex

ONBOOT=yes

PREFIX=24

Author: GXJ

Copyright notice: this article is the original article of the blogger, please attach a link to the blog article to reprint 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