Jellyfin is an open source streaming media server that can run on multiple platforms. It can be said to be a fully open source alternative to the well-known streaming media server Plex Server (Plex has many features that require a fee). This article simply records the process of installing Jellyfin in Ubuntu Server 18.04.
Add Jeffyfin’s official source
First, join the official source of Jeffyfin. Execute the following commands in sequence:
- Install HTTPS support for apt tool
1 | sudo apt-get install apt-transport-https -y |
- Download and install the certificate of Jeffyfin official source
1 | wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add - |
The system displays as follows:
1 | --2020-03-05 08:01:04-- https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key |
- Join the official source
1 | echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list |
System will show:
1 | deb [arch=amd64] https://repo.jellyfin.org/ubuntu bionic main |
Then execute to update
1 | sudo apt-get update |
Install and start
Execute the following command to install:
1 | sudo apt install jellyfin -y |
This process will download Jellyfin and related media encoding libraries, etc. If the network is slow, it will still take a long time.
After installation, set it to boot up:
1 | sudo systemctl enable jellyfin.service |
System will show:
1 | Synchronizing state of jellyfin.service with SysV service script with /lib/systemd/systemd-sysv-install. |
Now, startup Jellyfin:
1 | sudo systemctl start jellyfin.service |
Then you can open a browser from another machine (same as the LAN, my server IP address is: 192.168.1.90), visit Jellyfin’s management interface, and perform initial settings
1 | http://192.168.1.90:8096/ |