1. Linux

1.1. Installation

  • Enter the following commands at a Command Line.

    
    sudo apt-get update
    sudo apt-get install snapd
    # Stretch: Prevent the following error.
    # error: cannot perform the following tasks:
    # - Mount snap :lxd: [####} {Cannot find required base "core20")
    sudo snap install core          # Prevent "error: cannot perform the following tasks: - Mount snap :lxd: [####} {Cannot find required base "core20" )" error.
    sudo snap install lxd
    
    file="/etc/sudoers"
    # Back up original file if backup file is missing.
    if [ -f "${file}" ] && [ ! -f "${file}.org" ]; then cp -a "${file}" "${file}.org"; fi
    # Add path.
    sudo sed -i "s|secure_path=\"\(.*\)\"|secure_path=\"\1:/snap/bin\"|g" "${file}"
    # Log off and log in again.
    
    # See https://askubuntu.com/questions/40287/why-is-etc-profile-not-being-loaded-during-non-login-bash-shell-sessions
    
    
    
    lxc remote add tbhf-lxd-dmz 10.10.0.11
    # Type "y" and press Enter to accept the fingerprint.
    # Type the level 2 password and press Enter.
    
    lxc remote switch tbhf-lxd-dmz
    lxc config show
    lxc list
    lxc list -c ns46tS,boot.autostart
    lxc console win10b --type=vga
    Interacting with snapd is not yet supported on Windows Subsystem for Linux.
    This command has been left available for documentation purposes only.

2. macOS

3. Windows

3.1. Installation