Openstack Installation & Instance Creation in the Ubuntu 18.04
https://releases.ubuntu.com/18.04/
Download Ubuntu from here
3)Create Ubuntu 18.04 VM in Virtual box
4 GB RAM +
2 vCPUs
Hard disk capacity of Min 10 GB
4)After succesful installation of ubuntu start Openstack installation
Execute below steps in terminal:
sudo su
apt update -y && apt upgrade -y
sudo reboot
sudo useradd -s /bin/bash -d /opt/stack -m stack
echo “stack ALL=(ALL) NOPASSWD: ALL” | sudo tee /etc/sudoers.d/stack
sudo su – stack
If git not installed:
sudo apt install git -y
git clone https://github.com/openstack/devstack.git -b stable/pike devstack/
cd devstack/
ifconfig
If it did not work:
==========================
sudo apt install net-tools
==========================
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=YOUR_IP_ADDR
./stack.sh
If stack.sh failed with permission error:
FORCE=yes ./stack.sh
After succesful installation of Openstack access the Horizon dashboard with below URL:
http://your_ip_addr/dashboard
ipv4