# Milestone 8 - OpenStack

## Super31:&#x20;

IPMI: 192.168.7.180

IP:&#x20;

## Initial Xubuntu Setup <a href="#user-content-initial-xubuntu-setup" id="user-content-initial-xubuntu-setup"></a>

First we (Paul and I) created a bootable USB with Xubuntu desktop using Rufus (16kb block size.)

Then from the IPMI login, we launched a iKVM console:

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image19.png)

Then we installed Xubuntu (screenshots of the process like picking USB, non-default options selected, shown below):

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image2.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image14.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image3.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image18.png)

Restarted Xubuntu installer once it was completed:

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image20.png)

(Needed to press Enter on the black screen)

## [Openstack install using Microstack](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/wiki/Milestone-8---OpenStack-Deploy#openstack-install-using-microstack) <a href="#user-content-openstack-install-using-microstack" id="user-content-openstack-install-using-microstack"></a>

After Xubuntu was installed, we installed Microstack:

```
sudo snap install microstack --devmode --beta
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image15.png)

Microstack installed:

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image8.png)

Then we Initialized Microstack:

```
sudo microstack init --auto --control
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image11.png)

Microstack Initialized:

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image13.png)

After that we used the following to get our Microstack password:

```
sudo snap get microstack config.credentials.keystone-password
```

Then we went to " <https://10.20.20.1>" and logged in:

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image17.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image5.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image9.png)

We then launched a cirros instance (had to wait for it to boot before running the next SSH command):

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image4.png)

Then used the following command to SSH into the instance:

```
ssh -i /home/poliver/snap/microstack/common/.shh/id_microstack crirros@10.20.20.59
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image16.png)

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image12.png)

## [VNC install](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/wiki/Milestone-8---OpenStack-Deploy#vnc-install) <a href="#user-content-vnc-install" id="user-content-vnc-install"></a>

First we installed VNC server on the Xubuntu box with the following:

```
sudo apt update -y
sudo apt install xfce xfce4-goodies openssh-server -y
sudo apt install tightvncserver -y
vncserver
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image7.png)

Then killed the VNC instance and copied the xstartup (to have a backup):

```
vncserver -kill :1
cp ~/.vnc/xstartup ~/.vnc/xstartup.bak
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image10.png)

Filled `~/.vnc/xstartup` with the following (setup is for XFCE as that is what Xubuntu runs):

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image6.png)

Then started VNC server:

```
vncserver -localhost
```

Afterwards I installed vnc viewer on my desktop, and after using the following command to start a secure SSH session with the Xubuntu VNC server I could connect to the remote desktop at "localhost:59000":

```
ssh -L 59000:localhost:5901 -C -N -l poliver 192.168.7.94
```

![](https://github.com/Oliver-Mustoe/Oliver-Mustoe-Tech-Journal/raw/main/tech_journal_backups/SYS-350/sys350-m8/media/image1.png)

(**NOTE:** On Xubuntu, I needed to install google chrome as firefox did not work in the vnc viewer!)
