Demo environment

_images/os_background.png

DevStack

DevStack Clone and Setup

git clone https://git.openstack.org/openstack-dev/devstack
cd ./devstack
cp ./samples/local.conf .
nano ./local.conf

Nota

  • Students can use a different editor instead of nano with their own preferences (e.g. vi, emacs, or whatever they want).
./stack.sh

Nota

  • DevStack should already be installed in the VM image you downloaded. These instructions are provided for future reference in the case that students need to start from scratch.

http://localhost/

_images/devstack-http-localhost.png

Using Linux 'screen'

_images/devstack-screen.png

Esercizio

Nota

  • Commands needed:
    • List sessions: screen -ls
    • Connect: screen -R <session name>
    • Start a new session: screen -C devstack/stack-screenrc
    • Move between services: <ctrl>-a n , <ctrl>-a p
    • Kill and restart a service: <ctrl>-c , <up arrow> to retrieve command
    • Disconnect: <ctrl>-a d