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 !!!
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
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:
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.
Most Viewed Articles (in Cloud )
Power On a VM from ESXI command line
HA and DR in a cloud environment such as Amazon EC2
Application Security in a cloud environment such as Amazon EC2
How to get the API key for CloudStack
Security and Privacy Management in the Cloud
Backup and recovery in a cloud environment such as Amazon EC2
How to change the virtual machine name in Azure
Latest Articles (in Cloud)
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
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
© 2023 Java-samples.com
Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate
Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate