Difference between revisions of "DevStack: Install OpenStack"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 24: | Line 24: | ||
sudo su - stack | sudo su - stack | ||
− | ==Download== | + | ==Download & Setup== |
Download | Download | ||
− | git clone https:// | + | git clone https://git.openstack.org/openstack-dev/devstack |
− | + | Edit | |
− | + | cd devstack/ | |
+ | vi local.conf | ||
− | + | [[local|localrc]] | |
+ | ADMIN_PASSWORD=secret | ||
+ | DATABASE_PASSWORD=$ADMIN_PASSWORD | ||
+ | RABBIT_PASSWORD=$ADMIN_PASSWORD | ||
+ | SERVICE_PASSWORD=$ADMIN_PASSWORD | ||
− | + | ==Instalasi== | |
− | + | Jalankan | |
− | + | ./stack.sh | |
− | + | Hasilnya | |
− | + | This is your host IP address: 10.0.2.15 | |
+ | This is your host IPv6 address: ::1 | ||
+ | Horizon is now available at http://10.0.2.15/dashboard | ||
+ | Keystone is serving at http://10.0.2.15/identity/ | ||
+ | The default users are: admin and demo | ||
+ | The password: secret | ||
+ | DevStack Version: pike | ||
+ | OS Version: Ubuntu 16.04 xenial | ||
+ | stack.sh completed in 1221 seconds. | ||
− | + | Waktu instalasi tergantung akses Internet yang kita miliki. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Akses Dashboard== | ||
+ | URL | ||
+ | http://<HOST_IP>/dashboard | ||
+ | User demo atau admin | ||
+ | password sesuai local.conf | ||
==Referensi== | ==Referensi== | ||
* https://www.mirantis.com/blog/how-to-install-openstack-on-your-local-machine-using-devstack/ | * https://www.mirantis.com/blog/how-to-install-openstack-on-your-local-machine-using-devstack/ |
Revision as of 09:48, 7 May 2019
Persiapan VM
Siapkan VM di VirtualBox
- Memory 4GB
- Akses ke Internet
- Terbuka port 22 dan 80 untuk di akses dari laptop.
- Ubuntu Server kosong dapat digunakan.
WARNING: DevStack akan mengubah sistem habis-habisan saat instalasi. Jalankan DevStack pada server / mesin virtual yang di dedikasikan untuk keperluan tersebut.
Siapkan User
SSH ke VM.
Buat user stack (sudoer) untuk menjalankan DevStack,
sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
Pindah user
sudo su - stack
Download & Setup
Download
git clone https://git.openstack.org/openstack-dev/devstack
Edit
cd devstack/ vi local.conf
localrc ADMIN_PASSWORD=secret DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD
Instalasi
Jalankan
./stack.sh
Hasilnya
This is your host IP address: 10.0.2.15 This is your host IPv6 address: ::1 Horizon is now available at http://10.0.2.15/dashboard Keystone is serving at http://10.0.2.15/identity/ The default users are: admin and demo The password: secret DevStack Version: pike OS Version: Ubuntu 16.04 xenial stack.sh completed in 1221 seconds.
Waktu instalasi tergantung akses Internet yang kita miliki.
Akses Dashboard
URL
http://<HOST_IP>/dashboard
User demo atau admin password sesuai local.conf