How To install OpenStack on Ubuntu 18 04 Urdu/Hindi















OpenStack Installation on Ubuntu 18.04 with DevStack

installation of Openstack Cloud on Ubuntu 18.04 asimple Openstack Deployment for Learning, Testing and Development.in short DevStack is a collection of scripts which enables you to deploy a complete latest version of Openstack environment on virtual machine, personal laptop or a desktop. Openstack environment deployed by DevStack can also be used for demonstrations purpose.



DevStack support

  • Ubuntu
  • Fedora
  • CentOS
  • RHEL
  • Debian 
  • OpenSUSE.


For more Details please visit:


https://docs.openstack.org/devstack/latest/


Minimum system Requirements


  • Fresh installation of Ubuntu18.04
  • Minimum memory of 4 GB
  • At least 2 vCPU
  • Storage capacity of 20 GB
  • Internet connection
  • User with sudo




Update Ubuntu system

First, we have to update our ubuntu Linux

# sudo apt-get update
# sudo apt-get  -y upgrade
# sudo apt-get  -y dist-upgrade

Now reboot the system
# sudo reboot

Add Stack User (optional)

DevStack should be run as a non-root user with sudo enabled (standard logins to cloud images such as “ubuntu” or “cloud-user” are usually fine).


#  sudo  useradd  -s  /bin/bash -d /opt/stack  -m   stack

this user will be making many changes to your system, it should have sudo privileges:

# echo "stack ALL=(ALL) NOPASSWD: ALL"| sudo tee /etc/sudoers.d/stack
# sudo su - stack




Download DevStack


# git clone https://git.openstack.org/openstack-dev/devstack



# cd devstack


Create a local.conf

Create a local.conf file with four passwords preset at the root of the devstack git repo.

Vim local.conf
[[local|localrc]]
ADMIN_PASSWORD=SetYourPasswordHere
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
# Host IP - get your Server
HOST_IP=192.168.1.1

This is the minimum required config to get
started with DevStack.

Note

There is a sample local.conf file under the
samples directory in the devstack repository.
Start the install Openstack Deployment on Ubuntu
18.04
$  ./stack.sh
This will take a 30 - 40 minutes, largely
depending on the speed of your internet connection. Many git trees and packages
will be installed during this process.

After this process
You now have a working DevStack! Congrats!
Your devstack will have installed keystone,
glance, nova, placement, cinder, neutron, and horizon. Floating IPs will be
available, guests have access to the external world.
You can access horizon to experience the web
interface to OpenStack, and manage vms, networks, volumes, and images from
there.
You can source openrc in your shell, and then use
the openstack command line tool to manage your devstack.
You can cd /opt/stack/tempest and run tempest
tests that have been configured to work with your devstack.
You can make code changes to OpenStack and
validate them.

Access OpenStack Dashboard

Copy the Horizon URL shown on the installation
output and paste it into your web browser and hit enter now you are done:

Use the default users demo or admin and
configured password to login.

Comments

  1. Excellent Blog, I like your blog and It is very informative. Thank you
    OpenStack
    OpenStack in Business

    ReplyDelete
  2. Nice blog, very informative content.Thanks for sharing, waiting for the next update…
    The Concept and application of Data Science
    What Does a Data Scientist Do?

    ReplyDelete
  3. Great post thanks for sharing this.I was looking this kind of info.
    Openstack Course

    ReplyDelete

Post a Comment

Popular posts from this blog

How to install AnyDesk on Rhel 8 / Centos 8

Huawei OLT how to Add into U2000 NMS

How to install caching only dns server on Rhel 8 / Centos 8