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 https://opendev.org/openstack/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