Skip to content

Installing the Prerequisites

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

Prerequisites

The following prerequisites are required to be installed on your system before you can install and use LXDUI.

1) LXD

LXD can be installed in one of three ways; from source, from the Ubuntu Backports, or as a Snap package. The recommended way is to use Snap package.

2) Python 3

Version 2.0 of LXDUI is a complete rewrite based on Python 3, so please be keep in mind that all app related commands, if not specifically called out, will require that you have Python 3 installed on your system.

3) PIP (included in systems with Python 3.4 or higher)

PIP is a package manager for Python applications. In the event that a required package is missing from your system you can use PIP to install it.

3) OpenSSL (libssl-dev)

OpenSSL is used for certificate management.

4) ZFS

ZFS is a combined file system and logical volume manager. It's the preferred storage layer for LXD.

OPTIONAL

Virtualenv

Virtualenv is a tool to create isolated Python environments. Python “Virtual Environments” allow Python packages to be installed in an isolated location for a particular application, rather than being installed globally.

Installation:

sudo apt install -y git build-essential libssl-dev python3-venv python3-pip python3-dev zfsutils-linux bridge-utils

sudo snap install lxd

lxd init

Accept all the defaults for the prompts from lxd init. For further instructions on installing and configuring LXD please refer to the following link.

Install LXDUI

Follow the instructions located here to install LXDUI.