This guide will walk you through the simple installation steps to deploy openstack on Ubuntu 16.04. If you would like to perform openstack installation on Red Hat, CentOS or Fedora Linux, please go through the following guides.
To follow the steps mentioned in this article, you will need:
- One Ubuntu 16.04 machine (bare-metal or virtual)
- 14GB of RAM is the recommended minimum.
- 100GB of hard disk space, at least.
You should have already ran sudo apt update and sudo apt upgrade on your Ubuntu 16.04 machine prior to performing openstack installation.
STEP1 - Installing OpenStack
The current version of Ubuntu OpenStack is Newton. So, that’s what we are going to.
To begin with the installation, first, we need to use the git command to clone devstack. Connect your Ubuntu machine with SSH and execute these commands.
cd / sudo git clone https://git.openstack.org/openstack-dev/devstack -b stable/juno
Note: If you want to install the bleeding edge, omit . If you would like to install , or , simply swap out “” above with the release name you’d like. You can check here to see what’s available; they are listed at the top of the page.
cd devstack/ sudo cp samples/local.conf local.conf sudo nano local.conf
ADMIN_PASSWORD=MYSQL_PASSWORD= RABBIT_PASSWORD= SERVICE_PASSWORD=
sudo /devstack/tools/create-stack-user.sh sudo chown -R stack:stack /devstack
sudo su stack /devstack/stack.sh
You will need to use the demo user, or create a new user, to create and deploy instances.