Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

HOME SERVER - HEIMDALL Installation

Enter the following command sequences :


apt-get update && upgrade -y

apt install php7.4-sqlite3 php7.4-bcmath php7.4-json php7.4-xml


php7.4-fpm php7.4-mbstring php7.4-gd php7.4-common php7.4-zip -y

RELEASE=$(curl -sX GET


"https://api.github.com/repos/linuxserver/Heimdall/releases/latest"
| awk '/tag_name/{print $4;exit}' FS='[""]'); echo $RELEASE &&\ curl
--silent -o ${RELEASE}.tar.gz -L
"https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz"

tar zxvf v2.4.13.tar.gz

cd Heimdall-2.4.13/
Comment on the elseif line (2lines):
vim ./vendor/symfony/console/Input/ArrayInput.php +135
php artisan serve --host=192.168.x.y --port=8080

sudo vim /etc/systemd/system/heimdall.service

[Unit]
Description=Heimdall
After=network.target

[Service]
Restart=always
RestartSec=5
Type=simple
User=root
Group=root
WorkingDirectory= /root/Heimdall-2.5.8
ExecStart="/usr/bin/php" artisan serve –-host 0.0.0.0 --port 7889
TimeoutStopSec=30

[Install]
WantedBy=multi-user.target

sudo systemctl enable --now heimdall.service

You might also like