Install OpenStack step by step guide
By: Sheldon in Cloud Tutorials on 2020-04-05
If you have a spare Server or a PC that you want to use and try out OpenStack, then you have come to the perfect step by step guide tutorial. If it is a bare metal, then you should first install a fresh Ubuntu 16.04 or later in that server before you proceed.
useradd -s /bin/bash -d /opt/stack -m stack
passwd stack
// set passwords
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers sudo apt-get install git -y
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack
./stack.sh
Once you run this, prepare to wait for atleast an hour or more depending on your internet bandwidth. Dont leave the machine to go for coffee yet, as you will be prompted for creating passwords for the below services.
Enter a password now:
dbpassword
################################################################################
ENTER A PASSWORD TO USE FOR RABBIT.
################################################################################
This value will be written to /opt/stack/devstack/.localrc.password file so you don't have to enter it
again. Use only alphanumeric characters.
If you leave this blank, a random default value will be used.
Enter a password now:
rabbitpw
################################################################################
ENTER A SERVICE_PASSWORD TO USE FOR THE SERVICE AUTHENTICATION.
################################################################################
This value will be written to /opt/stack/devstack/.localrc.password file so you don't have to enter it
again. Use only alphanumeric characters.
If you leave this blank, a random default value will be used.
Enter a password now:
servicepw
################################################################################
ENTER A PASSWORD TO USE FOR HORIZON AND KEYSTONE (20 CHARS OR LESS).
################################################################################
This value will be written to /opt/stack/devstack/.localrc.password file so you don't have to enter it
again. Use only alphanumeric characters.
If you leave this blank, a random default value will be used.
Enter a password now:
horizonpw
Now, after this stage, you CAN go for a coffee and leave the installation to continue. It will probabaly run for quite a while without needing any inputs from you. If your internet connection is slow, it will take even longer. This is when it is downloading and installing all the components of the OpenStack solution and their dependencies.
After completion of the script execution you will see
congratulations :)
Well, congrats indeed. You have sucessfully installed OpenStack in your server. Now you can accesst http://192.168.1.201 (or the IP of your server) to access the OpenStack dashboard. Enjoy !!!
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
- Data Science
- Android
- React Native
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Power On a VM from ESXI command line
How to change the virtual machine name in Azure
Install OpenStack step by step guide
How to get the API key for CloudStack
HA and DR in a cloud environment such as Amazon EC2
Backup and recovery in a cloud environment such as Amazon EC2
Application Security in a cloud environment such as Amazon EC2
Comments