Installation

You can either install libre workspace as a .deb file on an existing Debian or Ubuntu server, or you can install it on a bare metal system using the provided ISO image (recommended).

Installation on an existing Debian or Ubuntu system

Note

This is not recommended for beginners. It is recommended to use the ISO image instead.

You can download and install the .deb file with the following commands:

wget https://github.com/Jean28518/libre-workspace/releases/latest/download/linux-arbeitsplatz.deb
sudo apt install ./linux-arbeitsplatz.deb
# This message can be ignored:
# N: Download is performed unsandboxed as root as file '/root/linux-arbeitsplatz.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
sudo systemctl start linux-arbeitsplatz-web
# If you don't run the welcome assistant:
sudo systemctl enable linux-arbeitsplatz-unix --now

This will install the the webserver caddy and the management portal which listens on port 443.

Note

If you are using another webserver/reverse proxy you can ignore the caddy installation and disable it by running sudo systemctl disable caddy --now.

Now you can decide if you want to run the libre workspace automated install script or if you want to configure it manually.

Automated install script

You can now access the libre workspace portal via https by the IP. A detailed explanation of the installation script can be found upper in the section “Installation using the ISO image”.

Manual configuration

This is not recommended for complete beginners in linux administration. The recommended linux distribution is Debian (Stable). With this option you are also able to “connect” existing installations of nextcloud, samba-dc … to the management portal (but also the automated install script for the rest is available here).

If you are using caddy, replace the two last caddy blocks in the caddyfile e.g. with the following (you may want to change the domain):

portal.int.de {
    handle_path /static* {
        root * /var/www/linux-arbeitsplatz-static
        file_server
        encode zstd gzip
    }
    handle_path /media* {
        root * /usr/share/linux-arbeitsplatz/media
        file_server
        encode zstd gzip
    }
    reverse_proxy localhost:11123
}

If you are using another webserver/reverse proxy you have to configure it yourself. The management portal listens via http on port 11123.

It is mandatory to configure the cfg file at /usr/share/linux-arbeitsplatz/cfg. If you want to use the active directory functionality you have to care about yourself about the installation of this. The LDAP configuration is done in the cfg file. By default, ldap is disabled. Your default login at the web interface is “Administrator” with the password “LibreWorkspace”. More details can be found in the cfg file.

You also have to ensure /usr/share/linux-arbeitsplatz/unix/unix_scripts/env.sh which is used for the addon and module handling. The following variables are mandatory to be set. An example would be:

export IP="1.2.3.4"
export ADMIN_PASSWORD="AdminPasswordOfTheLDAPDomainOtherwiseSetItToAnEmptyString"
export DOMAIN="int.de"
export LDAP_DC="dc=int,dc=de" # Keep it empty if you don't use LDAP