Published on

Openstack quick install

Authors
  • avatar
    Name
    Yuchen Wei
    Twitter

Before install

This installation is for Ubuntu 18.04.

Install SSH

apt-get install openssh-server
systemctl start ssh
systemctl status ssh (to confirm the service is running)
Disable the firewall:
systemctl stop firewalld.service
Install VirtualBox:

Available for download in the Ubuntu Software Center.

OpenStack package download URL:

download

Unzip files

Download the file to the newly created folder /mingyi:

tar -xvf labs-master.tgz /mingyi

(Optional) Prepare for ths ISO file

Download the Ubuntu ISO file to a specified directory to reduce download time during installation: http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.4-server-amd64.iso

cp ubuntu-18.04.4-server-amd64.iso /mingyi/labs/img

Start the installation:

cd /mingyi/labs
./st.py -b cluster
installation

Access interface

If the above interface appears, the installation is successful. Enter http://127.0.0.1:8888/horizon in the host machine's browser. Username and password are provided in the run results.

You can enter the controller node to check the results through SSH:

ssh osbash@127.0.0.1 -p 2230

The password is osbash.