Koel: Difference between revisions
From FlowerHouseWiki
No edit summary |
(→PHP7.4) |
||
Line 31: | Line 31: | ||
<p>Edit php.ini</p> | <p>Edit php.ini</p> | ||
<syntaxhighlight lang="console">nano /etc/php/7.4/fpm/php.ini</syntaxhighlight> | <syntaxhighlight lang="console">nano /etc/php/7.4/fpm/php.ini</syntaxhighlight> | ||
<p>Find <code>memory_limit</code> and change it to</p> | |||
<syntaxhighlight lang="console">memory_limit = 512M</syntaxhighlight> | |||
<p>Find <code>upload_limit</code></p> | |||
<syntaxhighlight lang="console">upload_limit = 512M</syntaxhighlight> | |||
== NGINX == | == NGINX == | ||
== Composer == | == Composer == |
Revision as of 14:54, 2 August 2021
Koel-LXC
IP: | 192.168.88.17 |
---|---|
MAC: | BE:7E:92:49:2D:AC |
OS: | Debian Buster |
---|---|
Files: | Koel.conf |
RAM: | 1024MB |
Cores: | 1 |
Privileged: | Yes |
Koel is reachable under 192.168.88.17
which is located in the ServerVLAN.
Basic Setup
Install required packages
apt install dirmngr nginx ffmpeg
PHP7.4
Install required packages
apt -y install lsb-release apt-transport-https ca-certificates
Add repository
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
Update packages
apt update && apt upgrade
Install PHP7.4
apt install php7.4-{cli,fpm,json,common,mysql,zip,gd,mbstring,curl,xml,bcmath,tokenizer} openssl
Check if everything is running correctly
systemctl status php7.4-fpm nginx
Edit php.ini
nano /etc/php/7.4/fpm/php.ini
Find memory_limit
and change it to
memory_limit = 512M
Find upload_limit
upload_limit = 512M
NGINX
Composer
Sources
- NGINX (ReverseProxy)
- DigitalOcean (LetsEncrypt)
- certbot (Certificates)
- Authelia (Login-Portal)
- Redis-Server
- DigitalOcean (SMTP-Server)