heimdall

DIY HOME SERVER 2021 – Software – HEIMDALL

1. DIY HOME SERVER - HEIMDALL prepare Container

This guide is my implementation of installing the Heimdall Aplication Dashboard.

When creating a home lab server, after a while you gather a lot of shortcuts to application web interfaces. Of course you could create favorites in your browser or shortcuts on your computer desktop. But you could also use an application dashboard. Let’s install Heimdall.

A common way to install applications in Proxmox is to use Docker containers. But I like to do things a bit different. Let’s install Heimdall in an Ubuntu LXC.

In Proxmox, select local (storage) → CT Templates → Templates.

In the dropdown, select the latest Ubuntu LTS (.04) template and click the Download button.

Click the Create CT button to create a new LXC.

On the General tab, specify the container name an set the password for the root user.

Click Next.

On the Template tab, select the latest Ubuntu CT Template.

Click Next.

On the Root Disk tab, set a 4 GB Disk size.

Click Next.

On the CPU tab, there’s nothing to change.

Click Next.

On the Memory tab, there’s nothing to change.

Click Next.

On the Network tab, set the static IP address and specify the Gateway.

Click Next.

On the DNS tab, there’s nothing to change.

Click Next.

On the Confirm tab, check the Start after created option.

Click Next.

The container will be installed.

Select the container and click Options → Start at boot → Edit.

Set the Start at boot option and click OK.

2. DIY HOME SERVER - HEIMDALL Installation

Start the newly created Heimdall Container.

Select the Console.

Log in as user root with the password set during the container creation.

Enter the following command sequences :

apt update
apt upgrade -y
apt-get -y install apache2
apt-get -y install php
apt-get -y install libapache2-mod-php
apt-get -y install sqlite
apt-get -y install php-mbstring php-xml php-common php-sqlite3
a2enmod rewrite
service apache2 restart
apt install git -y
git clone https://github.com/linuxserver/Heimdall.git /opt/heimdall
chown -R www-data:www-data /opt/heimdall/
chmod -R 777 /opt/heimdall/
rm -R /var/www/html
ln -s /opt/heimdall/public/ /var/www/html
nano /etc/apache2/sites-enabled/000-default.conf

Remove everything and past :

ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/
DirectoryIndex index.php index.html default.php welcome.php
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all

Press Ctrl + O to save, confirm.
Press Ctrl + X to exit.

apt-get -y install php-zip
cd /opt/heimdall/

nano ./vendor/symfony/console/Input/ArrayInput.php

Goto line 135 and comment out the else branch.

Press Ctrl + O to save, confirm.
Press Ctrl + X to exit.

php artisan key:generate
chmod -R 777 /opt/heimdall/
service apache2 restart

Now open your browser and go to the IP addres specified during the Heimdall container setup.

You can now start using Heimdall.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.