CyberKeeda In Social Media
Showing posts with label DevStack. Show all posts
Showing posts with label DevStack. Show all posts

OpenStack Installation on Ubuntu 16.04 with DevStack


There are many ways you can create or manage Virtual Machines for your numerous lab environments.
I can go for traditional approach ether VMware Workstation or Virtual Box but hold on, i thought why don't i go for openstack images.

This guide will help you to install Openstack Standalone installation on a Ubuntu 16.04 Box.

Hope you have a good internet speed too, take my words it will work like a charm.

So first of all you must have a Linux Box with Ubuntu 16.04 OS within it and predefined scripts within DevStack will do the hard stuffs for you.

Create a user " stack " and give it sudo privileges .

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

echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
So once you are done with the above steps, you are ready for the DevStack installation scripts.

Switch to user stack from terminal.


su - stack
Now Download Devstack.

Since we are using internet directly, we gonna download the latest version on the go from git at all.
sudo apt-get install git -y || sudo yum install -y git
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack

Once downloaded, switch to devstack directory and make some required configuration changes.

Copy local.conf file to devstack root directory
stack@Linux-Maniac:~/devstack$ cp /opt/stack/devstack/samples/local.conf /opt/stack/devstack

 Change multiple passwords to one or if you can remember, keep multiple passwords for various utilities too.


stack@Linux-Maniac:~/devstack$ vim local.conf
So i had the below mentioned changes, you can make it on the same fashion too.
[[local|localrc]]
# Minimal Contents
ADMIN_PASSWORD=redhat
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

Once done, save the file and toggle back to the same devstack root directory and run the final script.


stack@Linux-Maniac:~/devstack$ ./stack.sh 
The entire process can take a time from 30 Min - 1 Hour or more depending upon you network internet speed.

at the end you can see  something like that.






























Your IP will vary offcourse, you can now login to your default dashboard login page.

http://your.ip.here/dashboard
























Refrnc : Openstack Officials 
Read more ...
Designed By Jackuna