Linux serverNETWORK ADMINISTRATIONSredhat

How to Install Openstack on CentOS7 Part 1

=======Start =========
* Install CentOS 7.9 Minimal
Video : https://youtu.be/47Lx1-CnBAM

– Server information:
Hostname : openstack.htu.local
OS : CentOS 7.9 Minimal
ens33:
IP address = 192.168.65.130
netmask = 255.255.255.0
Gateway = 192.168.65.2
DNS = 8.8.8.8

– Step 1: Check Release, Hostname and IP Address
# cat /etc/redhat-release
# uname -a
# ip a
# egrep –color ‘vmx|svm’ /proc/cpuinfo | wc -l
Output: (should not be zero)
4

– Step 2: Disable NetworkManager , Firewalld
# systemctl stop firewalld NetworkManager
# systemctl disable firewalld NetworkManager
Disable SELinux
setenforce 0 # Temporary

OR
sed -i s/^SELINUX=.*$/SELINUX=permissive/ /etc/selinux/config # Permanent
setenforce 0

– Step 3: Update System and Install RDO ( RPM Distribution of Openstack ) Package
# yum update
# cat /etc/hostname
openstack.tic.local

#hostname -F /etc/hostname
# logout
– Install ntpdate in order to synchronize time with an NTP server.
# yum install ntpdate
# yum install centos-release-openstack-queens
# yum upgrade

Step 4: Install Packstack : It’s utility that uses Puppet modules to deploy various parts of OpenStack
# yum -y install openstack-packstack
# yum -y install python-setuptools

Step 5: Generate Packstack Answer File OR command used direct packstack

# packstack –gen-answer-file=opnstacktest-answere-file.txt
# vi opnstacktest-answere-file.txt

Change:

CONFIG_NTP_SERVERS=0.ro.pool.ntp.org
CONFIG_SWIFT_INSTALL=n
CONFIG_CEILOMETER_INSTALL=n
CONFIG_AODH_INSTALL=n
CONFIG_PROVISION_DEMO=n
CONFIG_KEYSTONE_ADMIN_PW=P@ssw0rd
CONFIG_MARIADB_PW=mypassword1234
CONFIG_HORIZON_SSL=y

Save & Exit

– Step 6: Install Openstack Using Answer File
# packstack –answer-file opnstacktest-answere-file.txt

** OpenStack Has been Successfully Install

# cat /root/keystonerc_admin
~~~~~ ~~~~~
If you like the video, please “Like,” “Favorite,” and “Share” it with our friends to show your support for this work. Subscribe to this channel so that you do not miss out on the new videos on this series.
Subscribe Here: https://www.youtube.com/channel/UCwxMCQV019yan9qL3BgyT3g?sub_confirmation=1

Keep in touch:
Blog: http://howtoused.blogspot.com
YouTube Channel: http://howtoused.blogspot.com

source

by ErrorAndFix

redhat openstack

Leave a Reply

Your email address will not be published. Required fields are marked *