Jellyfin is a free, open-source media server that allows you to organize and stream your media files from any device on your network. It is a great alternative to Plex and Emby, providing full control over your media library without relying on cloud services. This guide will walk you through the step-by-step installation of Jellyfin on an Ubuntu server.
Step 1: Update Your System Packages
It’s always a good practice to update your package lists before installing any new software. Run the following command:
sudo apt update
Step 2: Install Required Software Packages
Jellyfin requires certain dependencies to be installed beforehand. Install them using:
sudo apt install apt-transport-https wget software-properties-common
Step 3: Add the Jellyfin Repository Key
wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add -
Step 4: Add the Jellyfin Repository
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
Step 5: Update Package Lists
After adding the repository, update your package lists again to include Jellyfin:
sudo apt update
Step 6: Install Jellyfin
Now, install Jellyfin using the following command:
sudo apt install jellyfin
Step 7: Start and Enable Jellyfin Service
Once installed, start the Jellyfin service and enable it to run at system boot:
sudo systemctl start jellyfin
sudo systemctl enable jellyfin
Step 8: Accessing Jellyfin
Once the installation is complete, you can access Jellyfin by opening a web browser and navigating to:
http://your_server_ip:8096
Replace with the actual IP address of your server. From here, you can set up your media libraries and start streaming.
Step 9: Adding Media Libraries
-
Log in to the Jellyfin web interface.
-
Navigate to Dashboard > Libraries.
-
Click Add Media Library and select the type (Movies, TV Shows, Music, etc.).
-
Enter the path to your media folder.
-
Click Save and let Jellyfin scan your media files.
You have successfully installed Jellyfin on Ubuntu Server. You can now organize and stream your media content from any device on your network. For additional configurations, consider setting up HTTPS, remote access, and plugins to enhance your Jellyfin experience. Enjoy your new Jellyfin media server!