OpenStack is a free and open source set of software tools used for cloud computing. It is suitable for both public and private clouds. Openstack used to manage and control computer storage, network and other manage resources through a dashboard. It is used by many big companies to manage their cloud server. In this article you will learn that how to install all-in-one setup of OpenStack Queens.
1- Prerequisites
CentOS 7 fresh minimual installation
Set hostname on your machine
Minimum one network interface configure with a static IP address. My machine has IP address 192.168.10.22
Before installing and use the Openstack, it is recommended to disable firewalld, NetworkManager and SELinux on your machine.
Stop/disable Firewalld and NetworkManager
Use following commands
systemctl stop firewalld systemctl disable firewalld systemctl stop NetworkManager systemctl disable NetworkManager
Now restart Network service to apply changes
systemctl restart network
Disable SELinux
Open file /etc/selinux/config using below command and modify line from SELINUX=enforcing to SELINUX=disabled
vi /etc/selinux/config
save changes and exit
Now reboot your machine
reboot
2- Install OpenStack
First of all run following command to install openstack queens repository
yum install centos-release-openstack-queens -y
Install Packstack
Packstack is an setup utility of OpenStack. use below command to install it.
yum install openstack-packstack -y
Install and Run OpenStack using Packstack
packstack --allinone
Note: above command will take some time to build openstack.
3- Access OpenStack
Once done, Open your web browser and use below link to access OpenStack
http://SERVER-IP/dashboard
Note: default user is “admin” and its password is placed in /root/keystonerc_admin file.
Now enter your login credentials to access Openstack dashboard.