0% found this document useful (0 votes)
20 views

Install and Configure CentOS (Open Stack)

The document provides steps to download, install and configure OpenStack on CentOS. It details downloading VMware and CentOS, setting up the CentOS virtual machine, and using Packstack to install and configure OpenStack. Key steps include configuring the CentOS network settings, adding OpenStack repositories, running Packstack for the all-in-one installation, obtaining admin credentials, and testing the OpenStack deployment.

Uploaded by

3EN
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Install and Configure CentOS (Open Stack)

The document provides steps to download, install and configure OpenStack on CentOS. It details downloading VMware and CentOS, setting up the CentOS virtual machine, and using Packstack to install and configure OpenStack. Key steps include configuring the CentOS network settings, adding OpenStack repositories, running Packstack for the all-in-one installation, obtaining admin credentials, and testing the OpenStack deployment.

Uploaded by

3EN
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

install and configure Open Stack

Reference
https://www.youtube.com/watch?v=DmOeM31so0Q

Description
Username: root
Password: root
**** Installation completed successfully ****
OpenStack User Name: admin
Password: cat /root/keystonerc_admin |grep PASSWORD

Task 1: Download and install VMware for windows and Download CentOS.
(Open Stack).
· VMware for windows: https://www.vmware.com/mena/products/workstation-
pro/workstation-pro-evaluation.html

· CentoOS: http://mirrors.isu.net.sa/centos/7.9.2009/isos/x86_64/
install and configure Open Stack
Task 2: Setup and Configuration CentOS Settings.
Step 1. Open VMware and Setup CentOS.
· A)

· B)

· C)

· D)
install and configure Open Stack
· D) 20GB and more.

· E)

· F) Memory = 4GB

· G)
install and configure Open Stack
· H)

Step 2. Configuration Centos OS.


· A) Run Centos OS

· B)

· C)
install and configure Open Stack
· D)

· E)

· F)

· G) Ethernet (ens33) = ON
install and configure Open Stack
· H)

· I)

· J) username: alolayan Password: alolayan

· K) password root: root


install and configure Open Stack
· L)

· M)

· N) localhost: root password: root

· O) Start configuration commands.


· Configuring Network.
systemctl disable firewalld

· Now, stop the firewaalld service with the following command:


systemctl stop firewalld

· Now, disable the NetworkManager service with the following command:


systemctl disable NetworkManager

· Now, stop the NetworkManager service with the following command:


systemctl stop NetworkManager
install and configure Open Stack
· Now, enable network Network service with the following command:
systemctl enable network

· Now, start network Network service with the following command:

systemctl start network

· Now, Check the name of your network interface as following:

ip a

· The name of the Network interface of my CentOS 7 VM is ens33 .


Now, run the following command to configure the network interface ens33 to
automatically get IP address via DHCP:
echo -e 'DEVICE=ens33\nBOOTPROTO=dhcp\n'< /etc/sysconfig/network-scripts/ifcfg-ens33

· Now, reboot your CentOS 7 VM as follows:


sudo reboot

· Onse it boots, the network interface ens33 should have an IP address..


echo -e "LANG=en_US.utf-8\nLC_ALL=en_us.utf\n"< /etc/environment

· run the following command.


yum update -y

· CentOS packages are being update.


All the CentOS 7 packages should be update.
Now, add the OpenStack Rocky Package repository with the following command:
yum install -y centos-release-openstack-rocky

· the OpenStack Rocky package repository should be added.


Now, update the CentOS 7 system packages again with following command:

yum update -y

· Now, install PackStack with the following command:.


yum install -y openstack-packstack

· Packstack is being installed, it may take a while to complete.


Packstack should be installed.
Now, install deltarpm package:

yum install -y deltarpm


install and configure Open Stack

· Now, install all the components of OpenStack on CentOS 7 with the following
command:
packstack --allinone

· OpenStack is being installed.


Packstack is configuring required components with Puppet.it will take a long time to
complete.
OpenStak is installed.
ip a

cat keystonerc_admin | grep PASSWORD

· Go to CMD on your computer and check the IP connection.


ping 192.168.8.222
install and configure Open Stack

· Visit the OpenStack Browser .


http://IP
http://192.168.8.222

Task 3: Log in OpenStack .


username: admin password: 7d4de8640339406f
install and configure Open Stack
Step 1. Create Networks: Lap4 172.16.0.0/24 – lap5 10.0.0.0/24

2
4

6
install and configure Open Stack
Step 2. Check the Network Topology.

Step 3. Create Key Pair.

1 4

2
install and configure Open Stack

Step 4. Add Machines Cloud.

1
4

Step 4. Add Routers.

5
install and configure Open Stack
Step 5. Connecting the router to the network interface.

2 4

Step 6. the Network Topology.

You might also like