Introduction
Jellyfin is a powerful open-source media server application that allows users to manage and stream their media collections. In this guide, we will walk you through the process of installing Jellyfin on a Hetzner VPS. Hetzner offers competitive pricing with their cloud server solutions, making it a great choice for hosting your own media server.
Why Choose Hetzner?
Hetzner provides excellent value for developers and homelab enthusiasts looking for reliable hosting. Hereโs a quick comparison of popular VPS providers:
| Provider | Price (monthly) | Disk Space | RAM | Location Options |
|---|---|---|---|---|
| Contabo VPS | 5.99 EUR | 100 GB | 4 GB | Germany, USA |
| Hetzner Cloud | 4.15 EUR | 20 GB | 2 GB | Germany, Finland |
| DigitalOcean | 6 USD | 25 GB | 1 GB | Global |
| Vultr | 6 USD | 25 GB | 1 GB | Global |
| Linode (Akamai Cloud) | 5 USD | 25 GB | 1 GB | Global |
For deploying Jellyfin, Hetznerโs entry-level VPS offers enough resources for basic media streaming without breaking the bank.
Setting Up Your Hetzner VPS
-
Create an Account with Hetzner:
- Sign up on Hetznerโs official site.
- Select a server location that works best for you.
-
Launch a New Instance:
- Choose a Cloud VPS plan. The $4.15 (4.15 EUR) monthly plan is sufficient for Jellyfin.
- Select an operating system (Ubuntu 20.04 LTS is recommended).
-
Access Your VPS:
- After launching the server, use SSH to connect:
ssh root@your_vps_ip
- After launching the server, use SSH to connect:
Installing Jellyfin
Now that you have your VPS set up, itโs time to install Jellyfin.
Step 1: Update Your System
Before any installations, ensure your system is up-to-date:
sudo apt update && sudo apt upgrade -y
Step 2: Install Required Dependencies
Install dependencies required for Jellyfin:
sudo apt install apt-transport-https ca-certificates gnupg2 -y
Step 3: Add the Jellyfin Repository
-
Add Jellyfinโs official package repository:
echo "deb [arch=amd64] https://repo.jellyfin.org/deb/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/jellyfin.list -
Import the repositoryโs GPG key:
wget -qO - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add -
Step 4: Install Jellyfin
Now, install Jellyfin using:
sudo apt update
sudo apt install jellyfin -y
Step 5: Start and Enable the Jellyfin Service
To start Jellyfin and enable it to run on boot:
sudo systemctl start jellyfin
sudo systemctl enable jellyfin
Step 6: Configure Your Firewall
If using UFW to manage your firewall, open the necessary port (default is 8096):
sudo ufw allow 8096/tcp
sudo ufw reload
Step 7: Access Jellyfin
Open your web browser and go to:
http://your_vps_ip:8096
Follow the setup wizard to configure your media library.
FAQs
How much does it cost to run Jellyfin on Hetzner?
The cost of running Jellyfin on a Hetzner VPS starts from 4.15 EUR/month for the lowest tier plan, which offers adequate resources for a small server instance. This pricing is highly competitive compared to alternatives like DigitalOcean or Vultr. Additionally, you will incur costs for your storage needs and possibly for other software or plugins you might choose to use with Jellyfin.
Can I stream to multiple devices with Jellyfin on Hetzner?
Yes, you can stream to multiple devices using Jellyfin on a Hetzner VPS. The serverโs capacity will depend on the plan you choose; the 2 GB RAM option allows for basic usage but may struggle with multiple simultaneous streams. For more demanding needs, consider upgrading your VPS plan. Keep in mind that network bandwidth can also impact performance, so ensure your internet connection is stable.
Is Jellyfin better than Plex for self-hosting?
Jellyfin is preferred by many due to its fully open-source nature, allowing for more control without any associated costs or limitations. Unlike Plex, which has premium model features locked behind a paywall, Jellyfin provides all functionalities freely. Both have strong community support โ refer to r/selfhosted and awesome-selfhosted for resources and user experiences.
Conclusion
Setting up Jellyfin on a Hetzner VPS is a straightforward process that empowers you to take full control of your media library. With a budget-friendly entry point, Hetzner is a solid choice for those eager to dive into self-hosting. For a more detailed list of VPS options, visit our full VPS comparison. Happy streaming!