Introduction
Jellyfin is a free, cross-platform media server software that allows you to stream your media files over the internet to various devices. This tutorial will guide you through the process of installing Jellyfin Media Server on Ubuntu 22.04.
Prerequisites
Before you begin, ensure you have:
- An Ubuntu 22.04 server
- SSH access to the server
- Basic knowledge of Linux command line
Step 1: Update Package Repository
Update the package repository to ensure you have the latest packages:
sudo apt update
Step 2: Install Jellyfin
Install Jellyfin from the official repository:
sudo apt install jellyfin -y
Step 3: Start Jellyfin Service
Start the Jellyfin service and enable it to start on boot:
sudo systemctl start jellyfin
sudo systemctl enable jellyfin
Step 4: Configure Firewall
If you have a firewall enabled, allow traffic on port 8096 (Jellyfin default port):
sudo ufw allow 8096/tcp
Step 5: Access Jellyfin
Open your web browser and navigate to http://your_server_ip:8096
. You will be prompted to complete the setup process for Jellyfin, including creating an administrator account and adding media libraries.
Step 6: Optional - Configure Reverse Proxy
If you want to access Jellyfin using a domain name and secure it with HTTPS, you can set up a reverse proxy with Nginx or Apache. Refer to the official documentation for detailed instructions.
Conclusion
Congratulations! You have successfully installed Jellyfin Media Server on Ubuntu 22.04. You can now start streaming your media files to various devices using Jellyfin.