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:
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.
started with DevStack.
Note
There is a sample local.conf file under the
samples directory in the devstack repository.
samples directory in the devstack repository.
Start the install Openstack Deployment on Ubuntu
18.04
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.
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.
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.
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.
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.
tests that have been configured to work with your devstack.
You can make code changes to OpenStack and
validate them.
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:
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.
configured password to login.
Excellent Blog, I like your blog and It is very informative. Thank you
ReplyDeleteOpenStack
OpenStack in Business
Nice blog, very informative content.Thanks for sharing, waiting for the next update…
ReplyDeleteThe Concept and application of Data Science
What Does a Data Scientist Do?
Great post thanks for sharing this.I was looking this kind of info.
ReplyDeleteOpenstack Course