代碼: 選擇全部
sudo useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo su - stack
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack/
vi local.conf
./stack.sh
代碼: 選擇全部
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
DevStack Component Timing
=========================
Total runtime 4172
run_process 12
test_with_retry 2
apt-get-update 7
pip_install 352
osc 148
wait_for_service 11
git_timed 3199
dbsync 15
apt-get 87
=========================
This is your host IP address: 192.168.155.99
This is your host IPv6 address: ::1
Horizon is now available at http://192.168.155.99/dashboard
Keystone is serving at http://192.168.155.99/identity/
The default users are: admin and demo
The password: secret
WARNING:
Using lib/neutron-legacy is deprecated, and it will be removed in the future
Services are running under systemd unit files.
For more information see:
https://docs.openstack.org/devstack/latest/systemd.html
DevStack Version: pike
Change: dea3083d984569eac9647f1a28f10ae98afc42f7 Fix path to mlock_report 2017-08-01 08:15:07 +0300
OS Version: Ubuntu 16.04 xenial
2017-08-06 13:07:05.829 | stack.sh completed in 4173 seconds.