Heimdall Print

  • 0

How to Install Heimdall on Ubuntu 24.04

Heimdall is a self-hosted application dashboard that allows you to organize, launch, and manage your web applications from a single interface. It’s lightweight, user-friendly, and gives you a clear overview of all your apps, bookmarks, and services. Hosting Heimdall on your own server gives you full control over your data and ensures privacy.

This guide walks you through installing Heimdall on Ubuntu 24.04 using Docker, configuring persistent storage, setting up the firewall, and accessing your dashboard.

Step 1: Update Your System and Install Dependencies

Before installing Heimdall, ensure your Ubuntu system is updated and has the required dependencies:

sudo apt update sudo apt upgrade -y sudo apt install -y docker.io docker-compose ufw

Enable and start Docker:

sudo systemctl enable docker sudo systemctl start docker

At this point, your system is ready to run Docker containers.

 

Step 2: Create Heimdall Directories

Heimdall requires directories to store its configuration and data. Create them using:

sudo mkdir -p /opt/heimdall/config sudo mkdir -p /opt/heimdall/data sudo chown -R 1000:1000 /opt/heimdall

Explanation:

  • /opt/heimdall/config – stores Heimdall configuration files

  • /opt/heimdall/data – stores the database and dashboard content

  • chown ensures that the Heimdall Docker container can read and write to these directories

 

Step 3: Pull the Heimdall Docker Image

Download the latest Heimdall Docker image from Docker Hub:

sudo docker pull linuxserver/heimdall

 

Step 4: Run the Heimdall Container

Start Heimdall in a Docker container with persistent volumes and auto-restart enabled:

sudo docker run -d \ --name heimdall \ -v /opt/heimdall/config:/config \ -v /opt/heimdall/data:/data \ -e PUID=1000 \ -e PGID=1000 \ -p 80:80 \ --restart always \ linuxserver/heimdall

This will start Heimdall on port 80.

 

Step 5: Configure Firewall

If you are using UFW, allow traffic on Heimdall’s port:

sudo ufw allow 80/tcp sudo ufw enable sudo ufw status

 

Step 6: Access Heimdall

Once the container is running, Heimdall is ready to use. Open a browser and go to:

http://<your-server-ip>

The default login credentials are:

  • Username: admin

  • Password: heimdall

Tip: For security, change the default password immediately after logging in.

Step 7: Heimdall is Ready

Congratulations! Heimdall is now installed and running on your Ubuntu 24.04 server. You can start adding apps, bookmarks, and shortcuts to your dashboard for quick and easy access. Your data remains entirely on your server, giving you complete control and privacy.


Was this answer helpful?
Back