Jellyfin is an open source media streaming tool that lets you build your own home media system, let’s say your personal Netflix or Plex. You can arrange your media – Movies, Music, Books, Podcasts and be able to access them on a web interface which you can also customize to fit your needs.

Jellyfin server can be setup on a Linux environment and content accessed instantly from different devices using browsers and mobile apps.

You can easily link your media server to Jellyfin Android/iOS App and enjoy your media on the go!

This guide will explain how to setup Jellyfin server on CentOS 8|Rocky Linux 8 and configure the server for media streaming.

Let’s dive right in!

Step 1 – Install FFmpeg

FFmpeg is used for media encoding/transcoding. It doesn’t ship with CentOS so we have to install it.

Use the commands below to install FFmpeg:

  • Install EPEL-Release
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  • Install RPM Fusion Repository
sudo yum -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
  • Install SDL2 Library
sudo dnf config-manager --set-enabled powertools
sudo dnf install -y SDL2
  • Install FFmpeg
sudo yum -y install ffmpeg ffmpeg-devel

Step 2 – Download Jellyfin rpm package

Install wget package.

sudo yum -y install wget
## Jellyfin server
VER=10.8.13
wget https://repo.jellyfin.org/releases/server/centos/stable/server/jellyfin-server-$VER-1.el7.x86_64.rpm

## jellyfin-web
wget https://repo.jellyfin.org/releases/server/centos/stable/web/jellyfin-web-$VER-1.el7.noarch.rpm

Install the packages using yum command:

## Jellyfin-server
sudo yum -y localinstall jellyfin-server-*.rpm

##jellyfin-web
sudo yum -y localinstall jellyfin-web-*.rpm
  • Start and enable Jellyfin service:
sudo systemctl enable jellyfin
sudo systemctl start jellyfin

Check if Jellyfin service has started successfully:

systemctl status jellyfin

Sample output:

install jellyfin centos8

Your media server is now running and should be accessible via http://server-IP:8096.

If you have firewall enabled, you should allow connections to the server through the port 8096

sudo firewall-cmd --zone=public --add-port=8096/tcp --permanent

Step 3 – Configure Jellyfin Media server

Open the web interface and configure initial setup:

install jellyfin media server on centos 8 1

Setup Admin user acount

install jellyfin media server on centos 8 2

Login with your admin credentials you created in the step above. You will be required to setup your media library, choosing the type of media you want to stream and setting up of the content directories.

install jellyfin media server on centos 8 3

Setup your media system and add content to the jellyfin server in the folders you specified

install jellyfin media server on centos 8 4

Click Add Media Library to add a different Library then Next

install jellyfin media server centos 8 5

Check the Allow remote connections box to allow connections from remote devices.

install jellyfin media server on centos 8 6

You will then be redirected to the dashboard where you can now see the media that you have uploaded to the folders appear.

Content metadata such as banners, Movie information including Cast Crew and ratings will be downloaded automatically (If available).

install jellyfin media server centos8 9

Metadata:

install jellyfin media server centos 8 8

You can also play content:

install jellyfin media server on centos 8

You can also access the content from mobile applications available on Google PlayStore and Apple AppStore.

install jellyfin centos 8

Enjoy your streaming experience!!

Check out these interesting guides on this site:

5 COMMENTS

  1. ] sudo yum install -y SDL2
    RPM Fusion for EL 8 – Free – Updates 315 kB/s | 297 kB 00:00
    RPM Fusion for EL 8 – Nonfree – Updates 183 kB/s | 87 kB 00:00
    No match for argument: SDL2
    Error: Unable to find a match: SDL2

    It seems that the required SDL2 package is no longer available in epel or RPM Fusion.
    Do you have any suggestions, besides compiling it from scratch?
    (This was done on a virgin, but updated copy of Rocky 8.6)
    Thank you, in advance.

  2. Hi Josphat, Try installing it on a virgin install of Rocky 8.6, say as a VM on your favorite method of spinning up a virtual host. My guess is that you installed other stuff on your machine, and it made a change to your repositories or a default config thereof. But I’ve been doing software development since the 1970’s, and have been using the CentOS/RHEL line of OS’s for about a decade… If i go get SDL2’s rpm and do a local install, then things work fine – but those are not your instructions…

    • You’re right. We noted powertools repo has to be enabled before you can install SDL2 package:

      sudo dnf config-manager --set-enabled powertools

      See updated guide on the same.

  3. Yep. Much better now for those who are counting on the instructions to work for them. As a note – before I hit “publish” on a how-to post, I always try my instructions on a virgin spin-up of the associated operating system. It always catches little stuff, given that my mission control system has already loaded just about every package known to mankind, that would otherwise sneak through my instructions… And thank you for the follow-up…

LEAVE A REPLY

Please enter your comment!
Please enter your name here