Chandan Rajpurohit

An Artist With Technical Skills

Install Linux Virtual Machine on your Virtualbox.

Install any Linux System you like, If you do not have a preference, Ubuntu 18.04 will be the best choice as it is the most tested Linux Distro.

Add Stack User

DevStack should be run as a non-root user with sudo enabled else it will through an error message.

$ sudo adduser stack

Give sudo privileges to your new user ‘stack’.

$ echo “stack ALL=(ALL) NOPASSWD: ALL” >> /etc/sudoers

$ sudo su – stack

Download DevStack


$ chmod -R stack devstack

$ cd devstack

Note :- If git is not Install use following command.
$ sudo apt-get install git


Theย devstackย repo contains a script that installs OpenStack and templates for configuration files.

Copy a local.conf

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=10.0.2.15
FLOATING_RANGE=10.0.2.224/27

Note :-ย Replaceย the HOST_IP Address & FLOATING_RANGE with the IP Address & FLOATING_RANGE of your system.

Copy local.confย fileย under theย samplesย directory in the devstack repository.

Start the Installation

$ ./stack.sh

The complete Installation will take almost 40 – 60 minutes, largely depending on the speed of your internet connection. Many git trees and packages will be installed during this process.

If any Errors in Installation.Mention the Error in Comment Section.
Thank You,
Chandan Rajpurohit.


Leave a Reply

%d bloggers like this: