Setup a devstack environment on Centos 7

From Define Wiki
Revision as of 13:31, 22 November 2016 by David (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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à!