Difference between revisions of "Setup a devstack environment on Centos 7"

From Define Wiki
Jump to navigation Jump to search
(Created page with "1) Install a minimal Centos 7 install Point and click. 2) Update and install dependencies [root@openstack ~]# yum update [root@openstack ~]# yum install -y git yum-utils...")
 
Line 23: Line 23:
 
In my case: http://192.168.1.137  
 
In my case: http://192.168.1.137  
 
And voilà!
 
And voilà!
 +
 +
Note: Aug 18 failed to install on cents 7.5 - needed to upgrade pip and setup tools
 +
  # pip install –upgrade pip
 +
  # pip install –upgrade setuptools

Revision as of 10:37, 16 August 2018

1) Install a minimal Centos 7 install Point and click.

2) Update and install dependencies

 [root@openstack ~]# yum update
 [root@openstack ~]# yum install -y git yum-utils

3) Add an openstack user

 [root@openstack ~]# useradd -d /opt/stack -m -s /bin/bash stack
 [root@openstack ~]# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

4) su into the new user and clone devstack

 [root@openstack ~]# su - stack
 [stack@openstack ~]$ git clone https://git.openstack.org/openstack-dev/devstack

5) Install devstack

 [stack@openstack ~]$ cd devstack/
 [stack@openstack devstack]$ ./stack.sh


Wait for ~2-3 minutes and you'll see password prompts for the MySQL Database, RabbitMQ, Service Admin, Service Authentication and Horizon and Keystone Services.

Expect the remaining installation steps to take a long time at least 10-30 minutes (depending on your internet connection.)

6) Visit your new devstack install In my case: http://192.168.1.137 And voilà!

Note: Aug 18 failed to install on cents 7.5 - needed to upgrade pip and setup tools

 # pip install –upgrade pip
 # pip install –upgrade setuptools