Sry mein Mikrofon hat ein absoluten Breakdance veranstalltet.. Gelobe mir Besserung =)
Videobeschreibung:
Proxmox - Jellyfin hier wird Erklärt wie Ihr eure eigene Video-Bibliothek aufbaut inkl. Domain-Verwaltung + Lets Encrypt
Das lernst du in diesem Video:
- Jelly installieren
- Jelly einrichten
Mein YT-Kanal: Raptorblubber – Tech, Server, Virtualisierung & mehr!
Mein Discord: Discordserver
Verwendete Tools: - Proxmox VE (aktuelle Version)
sudo apt install software-properties-common apt-transport-https ca-certificates gnupg curl -y
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg
cat <<EOF | sudo tee /etc/apt/sources.list.d/jellyfin.sources
Types: deb
URIs: https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release )
Suites: $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release )
Components: main
Architectures: $( dpkg --print-architecture )
Signed-By: /etc/apt/keyrings/jellyfin.gpg
EOF
sudo apt update
sudo apt install jellyfin && systemctl status jellyfin
ss -tulpn | grep jellyfin
sudo apt install apache2 certbot -y
sudo a2enmod proxy proxy_http ssl proxy_wstunnel remoteip http2 headers
sudo systemctl restart apache2
mkdir -p /var/www/html
sudo certbot certonly --agree-tos --email EURE-MAILADRESSE --no-eff-email --webroot -w /var/www/html -d EURE DOMAIN-URL
sudo nano /etc/apache2/sites-available/jellyfin.conf
<VirtualHost *:80>
ServerName EURE DOMAIN-URL
# Comment to prevent HTTP to HTTPS redirect
Redirect permanent / https://EURE DOMAIN-URL/
ErrorLog /var/log/apache2/media-error.log
CustomLog /var/log/apache2/media-access.log combined
</VirtualHost>
# If you are not using an SSL certificate, replace the 'redirect'
# line above with all lines below starting with 'Proxy'
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName EURE DOMAIN-URL
# This folder exists just for certbot(You may have to create it, chown and chmod it to give apache permission to read it)
#DocumentRoot /var/www/html/jellyfin/public_html
ProxyPreserveHost On
# Letsencrypt's certbot will place a file in this folder when updating/verifying certs
# This line will tell Apache to not to use the proxy for this folder.
ProxyPass "/.well-known/" "!"
# Tell Jellyfin to forward that requests came from TLS connections
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
ProxyPass "/socket" "ws://127.0.0.1:8096/socket"
ProxyPassReverse "/socket" "ws://127.0.0.1:8096/socket"
ProxyPass "/" "http://127.0.0.1:8096/"
ProxyPassReverse "/" "http://127.0.0.1:8096/"
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/EURE DOMAIN-URL/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/EURE DOMAIN-URL/privkey.pem
Protocols h2 http/1.1
# Enable only strong encryption ciphers and prefer versions with Forward Secrecy
SSLCipherSuite HIGH:RC4-SHA:AES128-SHA:!aNULL:!MD5
SSLHonorCipherOrder on
# Disable insecure SSL and TLS versions
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
ErrorLog /var/log/apache2/media.phpcodes.de-error.log
CustomLog /var/log/apache2/media.phpcodes.de-access.log combined
</VirtualHost>
</IfModule>
sudo a2ensite jellyfin.conf
sudo systemctl restart apache2