Devstack 설치 실습

Jmnote (토론 | 기여)님의 2017년 6월 23일 (금) 16:46 판 (→‎local.conf 작성)
devstack 설치

1 계정 생성, 권한 부여

  • 'stack'이라는 계정 생성
root@zetawiki:~# useradd -s /bin/bash -d /opt/stack -m stack
root@zetawiki:~# cat /etc/passwd | grep stack
stack:x:1000:1000::/opt/stack:/bin/bash
  • stack 계정에 sudo 권한 부여
root@zetawiki:~# echo "stack ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/stack
root@zetawiki:~# cat /etc/sudoers.d/stack
stack ALL=(ALL) NOPASSWD: ALL
  • stack 계정으로 전환
root@zetawiki:~# su - stack
stack@zetawiki:~$ pwd
/opt/stack

2 git clone

stack@zetawiki:~$ git clone https://github.com/openstack-dev/devstack.git
Cloning into 'devstack'...
remote: Counting objects: 39146, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 39146 (delta 9), reused 14 (delta 6), pack-reused 39124
Receiving objects: 100% (39146/39146), 11.63 MiB | 7.33 MiB/s, done.
Resolving deltas: 100% (27377/27377), done.
Checking connectivity... done.

3 local.conf 작성

stack@zetawiki:~$ cd devstack/
stack@zetawiki:~/devstack$ vi local.conf
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

4 같이 보기

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}