Added heimdal CT
This commit is contained in:
22
CT-Files/heimdall/Scripts/Init.sh
Normal file
22
CT-Files/heimdall/Scripts/Init.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/ash
|
||||
#Install php 7.3
|
||||
echo "@phphernandev https://php.hernandev.com/v3.11/php-7.3" >> /etc/apk/repositories
|
||||
curl -L https://php.hernandev.com/key/php-alpine.rsa.pub -o /etc/apk/keys/php-alpine.rsa.pub
|
||||
apk add php7@phphernandev php7-ctype@phphernandev php7-curl@phphernandev php7-pdo_sqlite@phphernandev php7-mbstring@phphernandev php7-json@phphernandev php7-zip@phphernandev php7-xml@phphernandev php7-fpm@phphernandev php7-session@phphernandev php7-openssl@phphernandev
|
||||
|
||||
#Configure Nginx
|
||||
rm -rf /etc/nginx/conf.d
|
||||
mv /opt/Setup/Configs/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
#Configure Php-Fpm
|
||||
rm -rf /etc/php7/php-fpm.d/*
|
||||
mv /opt/Setup/Configs/php.conf /etc/php7/php-fpm.d/heimdall.conf
|
||||
mv /opt/Setup/Configs/phpTimezone.ini /etc/php8/conf.d/04_date_timezone.ini
|
||||
|
||||
#Install Heimdall
|
||||
git clone https://github.com/linuxserver/Heimdall.git /opt/heimdall
|
||||
chown -R nginx:nginx /opt/heimdall
|
||||
|
||||
#Enable services on boot
|
||||
rc-update add nginx
|
||||
rc-update add php-fpm7
|
||||
Reference in New Issue
Block a user