Morbit Hub for Linux Installation Guide (beta)

Created by Tim Kefford, Modified on Fri, 6 Feb at 11:27 AM by Tim Kefford

Overview

Morbit Hub for Linux (allows you to deploy a Morbit Hub on any Linux server or device, including Raspberry Pi. The installer handles all dependencies and configuration automatically.

Since this is a beta product, do not use it on production critical environments.

Supported Platforms

  • Architectures: x86_64, ARM64 (aarch64), ARM 32-bit (armv7l)
  • Distributions: Ubuntu, Debian, Raspbian, and other Linux distributions
  • Requirements:
    • Root access (sudo)
    • Internet connection
    • .NET 8 Runtime (installed automatically if missing)
    • PowerShell 7 (installed automatically if missing, required for WMI support)

Installation

Run the following command as root:

curl -fsSL https://morbit-files.s3.eu-west-1.amazonaws.com/linux-installer/install.sh | sudo bash

The installer will:

  1. Detect your system architecture
  2. Check for and install required dependencies (.NET 8 Runtime and PowerShell)
  3. Download and install Morbit Hub
  4. Configure and start the systemd service
  5. Display your Hub Key

Pairing Your Hub

Once installation completes, you will see your Hub Key displayed on screen.

To connect this hub to your Morbit network:

  1. Log in to the Portal
  2. Navigate to System > Configuration. Navigate to your Organisation and open the relevant Network
  3. Click 'Add Hub' and enter the Hub Key shown above
  4. The hub will appear in your network once paired

Useful Commands

CommandDescription
sudo systemctl status morbithubCheck service status
sudo journalctl -u morbithub -fView live logs
sudo systemctl stop morbithubStop the service
sudo systemctl restart morbithubRestart the service

Retrieving Your Hub Key

If you need to retrieve your Hub Key after installation:

sudo journalctl -u morbithub | grep 'Hub Key'

Upgrading

To upgrade an existing installation, simply run the install command again. Your Hub Key and configuration will be preserved.

curl -fsSL https://morbit-files.s3.eu-west-1.amazonaws.com/linux-installer/install.sh | sudo bash

Uninstalling

To remove Morbit Hub from your system:

curl -fsSL https://morbit-files.s3.eu-west-1.amazonaws.com/linux-installer/uninstall.sh | sudo bash

Installing Remote Connections for Linux

To install Remote Connections on Linux, please follow the steps in this guide.

Troubleshooting

Service fails to start

Check the logs for error details:

sudo journalctl -u morbithub -n 50

Hub Key not displayed

The Hub Key is generated on first run. If it wasn't displayed during installation, retrieve it using:

sudo journalctl -u morbithub | grep 'Hub Key'

Dependency installation fails

If automatic dependency installation fails, you can install them manually:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article