How to install devstack on ubuntu 16.04

2019. 12. 30. 18:49OS/리눅스

반응형

environment

tool : vmware 15 pro

linux_v : ubuntu-16.04-LTS

kernel_v : 4.13.0-36-generic

cpu : 4

mem : 8G

 

Root permission : (#>)

normal permission : ($>)

 

#> systemctl disable ufw
#> systemctl stop ufw
#> useradd -s /bin/bash -d /opt/stack -m stack
#> echo "stack ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/stack

#> apt-get install -y git 

#> su - stack

$> git clone https://git.openstack.org/openstack-dev/devstack -b stable/queens
$> cd devstack
$> vi local.conf

    [[local|localrc]]
    ADMIN_PASSWORD=devstack
    DATABASE_PASSWORD=$ADMIN_PASSWORD
    RABBIT_PASSWORD=$ADMIN_PASSWORD
    SERVICE_PASSWORD=$ADMIN_PASSWORD
    HOST_IP=(ip address) 


$> sudo vi /etc/hosts

    (ip address) devstack
$> ./stack.sh

반응형