Jellyfin: Difference between revisions

From FlowerHouseWiki
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
|MAC = F2:1A:93:6C:B2:83
|MAC = F2:1A:93:6C:B2:83
|Privileged = Yes
|Privileged = Yes
|OS = Debian11
|OS = Debian Bullseye
|RAM = 1024MB
|RAM = 1024MB
|Cores = 4
|Cores = 4
Line 14: Line 14:
__TOC__
__TOC__
== Basic Setup ==
== Basic Setup ==
<p>Update installation</p>
<syntaxhighlight lang="console">
apt update && apt upgrade
</syntaxhighlight>
=== NFS-Share ===
=== NFS-Share ===
<p>Install required packages for nfs-share:</p>
<p>Install required packages for nfs-share:</p>
Line 20: Line 24:
</syntaxhighlight>
</syntaxhighlight>


<p>Mount the nfs-share (NAS) to the data folder where all the user files will be stored</p>
<p>Edit fstab to mount at boot:</p>
<syntaxhighlight lang="console">
nano /etc/fstab
</syntaxhighlight>
 
<p>And add following line at the end of file:</p>
<syntaxhighlight lang="console">
192.168.88.5:/mnt/zpool1/media /media nfs nfsvers=3 0 0
</syntaxhighlight>
 
<p>Reboot and check if share was mounted</p>
=== Jellyfin ===
<p>Install required packages</p>
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
mount -t nfs 192.168.88.5:/mnt/zpool1/NextCloud /home/data/
apt install apt-transport-https gnupg2 ffmpeg
</syntaxhighlight>
</syntaxhighlight>


<p>Edit fstab to mount at boot:</p>
<p>Add repository</p>
<syntaxhighlight lang="console" line>
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add -
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | tee /etc/apt/sources.list.d/jellyfin.list
</syntaxhighlight>
 
<p>Update package list</p>
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
nano /etc/fstab
apt update
</syntaxhighlight>
</syntaxhighlight>


<p>Add following line at the end of file:</p>
<p>Install Jellyfin</p>
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
192.168.88.5:/mnt/zpool1/NextCloud /home/data/ nfs defaults 0 0
apt install jellyfin
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 20:34, 16 December 2021

Jellyfin.png

Network


IP: 192.168.88.17
MAC: F2:1A:93:6C:B2:83
Domain: media.flowerhouse.at

System


OS: Debian Bullseye
RAM: 1024MB
Cores: 4
Privileged: Yes

The Jellyfin-LXC is reachable under 192.168.88.17 which is located in the ServerVLAN.

The subdomain is media.flowerhouse.at which is handled by the ReverseProxy.

Basic Setup

Update installation

apt update && apt upgrade

NFS-Share

Install required packages for nfs-share:

apt install nfs-common nfs4-acl-tools

Edit fstab to mount at boot:

nano /etc/fstab

And add following line at the end of file:

192.168.88.5:/mnt/zpool1/media /media nfs nfsvers=3 0 0

Reboot and check if share was mounted

Jellyfin

Install required packages

apt install apt-transport-https gnupg2 ffmpeg

Add repository

wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add -
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | tee /etc/apt/sources.list.d/jellyfin.list

Update package list

apt update

Install Jellyfin

apt install jellyfin

Additional Configuration

Mopidy Extension

Link