Ubuntu 20.04 DevStack 설치 가이드
2023. 11. 22. 15:36ㆍOpenStack
- 시스템 업데이트
$ sudo apt update
sudo apt upgrade -y
sudo apt-get update
sudo apt-get upgrade -y
- stack user 생성
$ sudo useradd -s /bin/bash -d /opt/stack -m stack
$ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
stack ALL=(ALL) NOPASSWD: ALL
- stack user 로 변경
$ sudo su - stack
- DevStack 설치 환경 설정
$ sudo apt install git -y
$ git clone https://github.com/openstack-dev/devstack.git -b stable/stein
$ ip addr # ip 확인
or
$ hostname -l
- local.conf 환경설정
$ cd devstack
sudo apt-get install vim
$ vim local.conf
# local.conf
HOST_IP=<IP> # HOST_IP=x.x.x.x
ADMIN_PASSWORD=0000
RABBIT_PASSWORD=0000
SERVICE_PASSWORD=0000
DATABASE_PASSWORD=0000
##Enable senlin
#enable_plugin senlin https://git.openstack.org/openstack/senlin stable/stein
##Enable senlin-dashboard
#enable_plugin senlin-dashboard https://git.openstack.org/openstack/senlin-dashboard stable/stein
##enable_plugin heat https://opendev.org/openstack/heat stable/stein
##enable_plugin heat-dashboard https://opendev.org/openstack/heat-dashboard.git stable/stein
#enable_service h-eng h-api h-api-cfn h-api-cw heat-dashboard
:wq # 저장 후 종료
- 설치
$ sudo chown -R stack ./devstack
$ sudo chmod -R 777 devstack
$ cd devstack
$ ./stack.sh
# 사양이나 상황에 따라서 30분 ~ 2시간 소요
- 설치기 완료 되면 http://host_ip/dashboard 주소로 들어가서 확인
'OpenStack' 카테고리의 다른 글
| OpenStack [Zed] - Identity Service : keystone install (0) | 2023.11.18 |
|---|---|
| OpenStack 패키지 Archive 활성화 (0) | 2023.11.17 |
| OpenStack 구성요소 - NTP chrony 설치 (0) | 2023.11.17 |
| OpenStack Zed Install Guide - Controller (1) | 2023.11.17 |