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

$ git clone
$ chmod -R stack devstack
$ cd devstack

Note:- If git is not installed use the 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


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

$ ./

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 the comment section.

Thank You,
Chandan Rajpurohit.

%d bloggers like this: