User Tools

Site Tools


jellyfin

Tutorials

' jellyfin '

Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. Jellyfin is descended from Emby's 3.5.2 release and ported to the .NET Core framework to enable full cross-platform support.

' Installation Process '

this wiki assumes you are logged in as root

Create a directory in /opt for jellyfin and its files, and enter that directory.

mkdir /opt/jellyfin

cd /opt/jellyfin

Download the latest generic Linux build from the release page. The generic Linux build ends with “linux-amd64.tar.gz”. The rest of these instructions assume version 10.4.3 is being installed (i.e. jellyfin_10.4.3_linux-amd64.tar.gz). Download the generic build, then extract the archive:

wget https://github.com/jellyfin/jellyfin/releases/download/v10.4.3/jellyfin_10.4.3_linux-amd64.tar.gz tar xvzf jellyfin_10.4.3_linux-amd64.tar.gz

Create a symbolic link to the Jellyfin 10.4.3 directory. This allows an upgrade by repeating the above steps and enabling it by simply re-creating the symbolic link to the new version.

ln -s jellyfin_10.4.3 jellyfin

Create four sub-directories for Jellyfin data.

mkdir data cache config log

Due to the number of command line options that must be passed, it is easiest to create a small script to run Jellyfin.

nano jellyfin.sh

Then paste the following commands and modify as needed. (i didnt have to modify anything)

#!/bin/bash JELLYFINDIR=“/opt/jellyfin” FFMPEGDIR=“/usr/share/jellyfin-ffmpeg” $JELLYFINDIR/jellyfin/jellyfin \

  1. d $JELLYFINDIR/data \
  2. C $JELLYFINDIR/cache \
  3. c $JELLYFINDIR/config \
  4. l $JELLYFINDIR/log \
  5. -ffmpeg $FFMPEGDIR/ffmpeg

Assuming you desire Jellyfin to run as a non-root user, chmod all files and directories to your normal login user and group. Also make the startup script above executable. (i run it as root. if you choose to run it as root omit the chown command)

chown -R user:group * chmod u+x jellyfin.sh

Finally you can run it. You will see lots of log information when run, this is normal. Setup is as usual in the web browser.

./jellyfin.sh &

in your browser go to

localhost:8096

and set up as you wish

jellyfin.txt · Last modified: 2024/07/23 16:19 by 127.0.0.1