Skip to content

Installing LXDUI 2.0

Veton Hajdari edited this page Jan 21, 2019 · 5 revisions

Installation Instructions

As the name suggests, LXDUI is a visual interface for the LXD & LXC toolset. In order to use LXDUI you need to have LXD installed on your system. The following instructions walk you through the installation process so that you have a working system with LXD and LXDUI.

These instructions are targeted for an Ubuntu distribution, but you should be able to adapt the instructions to use in any distribution where LXD is supported.

Install

1. Install Prerequisites - here

2. Clone LXDUI from the GitHub repo:

        git clone https://github.com/AdaptiveScale/lxdui.git

3. [Optional] Create a virtual environment for testing. Skip this step if you want to install it globaly on your system.

        python3 -m venv mytestenv

        Activate the virtual environment:

        source mytestenv/bin/activate

4. Run the Installer (Setup)

You have a couple of options here. You can use pip or setuptools. Regardless of which way you chose to install it please make sure to upgrade pip first.

pip3 install --upgrade pip

To install with pip:

        cd lxdui

        pip3 install .

To install with setuptools:

        cd lxdui

        python3 setup.py install

Start LXDUI

At this point LXDUI should be installed and ready to start.

To start the app run: python3 run.py start
or use the new CLI:   lxdui start

When the app starts open a browser to the following link to access the app: http://127.0.0.1:15151

Verion 2.0 introduced a new command line interface (CLI) for managing LXDUI.
Learn more about the CLI, lxdui, here.

Clone this wiki locally