Jellyfin home media server setup on Ubuntu

Jellyfin is a free, open-source media server for organising and streaming films, television programmes, music, and other files you own. It works well on Ubuntu, supports numerous television and mobile clients, and gives households a private alternative to commercial streaming platforms without requiring a recurring subscription.

A useful build starts with the hardware, storage layout, and viewing habits of everyone who will use it. The server does not need a powerful processor if most people are watching files that can be played directly, while a capable graphics chip can make a substantial difference when transcoding is required.

Australian households often have a mixture of NBN services, apartment connections, and rural broadband options. Choosing hardware and networking methods that suit these conditions helps avoid an installation that performs well on the local network but struggles when family members access it from elsewhere.

Plan the hardware and media layout

A small Mini PC, an older desktop, a NAS, or a spare laptop can run Jellyfin. Look for a modern Intel Core or AMD processor, at least 8 GB of RAM, and an SSD for the operating system and Jellyfin configuration. Media can live on larger HDD or SSD drives, while Ethernet is preferable to Wi-Fi for reliable high-bitrate playback.

Plan the folder structure before importing files. Directories such as /srv/media/movies, /srv/media/tv, and /srv/media/music remain simple to mount, back up, and share with the Jellyfin service account. Keeping each collection on a separate drive or partition also makes it easier to expand storage without reorganising the entire library.

Only add media that you own or are legally permitted to stream. Jellyfin cannot bypass the digital-rights management used by Netflix, Disney+, Foxtel, Binge, Kayo, or Stan. Those services remain best accessed through their supported applications, while Jellyfin can handle personal files, home videos, ripped discs, and content from independent creators.

Install Jellyfin on Ubuntu

Ubuntu 24.04 LTS is a sensible long-term foundation, whether you are starting with a desktop installation or a dedicated server. Update the machine, install the required system tools, and make sure it has a stable network address. A wired connection and a DHCP reservation in the router prevent the server address from changing unexpectedly.

Follow Jellyfin’s Ubuntu installation guide to add its signed apt repository, then install and enable the service:

sudo apt update
sudo apt full-upgrade -y
sudo apt install jellyfin
sudo systemctl enable --now jellyfin

The service should start automatically after installation. Browse to the server’s local network address on port 8096 to open the setup wizard, choose the display language and preferred metadata language, and create the administrator account. Use a long, unique password because this account can reach server-wide settings.

Create ordinary household users after the initial setup instead of sharing the administrator profile. Each person can then receive an individual library view, playback history, parental restrictions, and access policy. The service runs in the background, so the web interface can be closed after configuration and reopened from any browser on the local network.

Build reliable local and remote access

Give the server a fixed address such as 192.168.1.50 through a DHCP reservation in the home router. Jellyfin clients can then store that address without needing to discover it each time. If the router also performs firewalling, permit the required local traffic and test playback from a phone joined to Wi-Fi as well as from the wired desktop.

Many Australian NBN connections use carrier-grade NAT, particularly on some FTTN, FTTC, HFC, and fixed-wireless plans. A port-forwarding rule may therefore fail even when the router settings are correct. Compare the public address shown by an external IP checker with the WAN address in the router; if they differ, the connection is probably behind shared NAT. Regional users on fixed wireless or satellite may also have modest upload capacity, making high-bitrate remote playback impractical.

A reverse proxy provides encrypted remote access when a public IPv4 address is available. Point an A or AAAA DNS record at the server, install a proxy such as Caddy or Nginx, and forward HTTPS traffic to Jellyfin on port 8096. A minimal Caddy configuration begins with the following, using a domain registered for the household:

media.example.au {
    reverse_proxy 127.0.0.1:8096
}

Set the matching public address as Jellyfin’s base URL and forward ports 80 and 443 in the router. This proxy does not defeat carrier-grade NAT. Households without a public address can use an outbound VPN or encrypted tunnel instead, avoiding direct router exposure while still allowing selected family members to connect.

Configure libraries and playback

Add each directory to Jellyfin as a separate library and select the appropriate media type. Jellyfin’s background scanner then identifies films, episodes, tracks, artwork, and subtitles. Scanning a large collection takes time, so begin with one directory and check the results before importing everything.

Consistent naming improves automatic recognition. A film can use Title (Year)/Title (Year).mkv, while a series can use Series Name/Season 01/Series Name S01E01.mkv. Jellyfin can also read local artwork and metadata files, which is useful when the internet metadata provider produces an incorrect match. In the library settings, select English and Australia as the preferred region where those choices are available.

Direct Play sends the original file to the client and uses little server processing. Transcoding converts the media into a format the client can handle, consuming considerably more CPU or GPU resources. Give connected clients a bandwidth limit suited to the connection, since a 4K film can require several times the throughput of a 1080p programme.

Television and mobile clients are available for major platforms, while desktop users can choose the browser or Jellyfin Media Player. Australian Classification Board information may not appear automatically in every metadata record, so families with children should verify titles and configure access controls manually rather than relying on an age label imported from the internet.

Protect data and control access

Mount any dedicated media drives through /etc/fstab using a stable filesystem identifier. The nofail option prevents the entire server from refusing to boot when a drive is disconnected. After mounting, grant the Jellyfin service account access with suitable group permissions, and confirm that the library can read every file before importing metadata.

Back up the Jellyfin configuration and metadata database as well as the media itself. The original films are replaceable, but database damage can disrupt users, watch history, and library settings. A brief service stop during a consistent backup prevents database files from changing while they are copied:

sudo systemctl stop jellyfin
sudo tar -czf /path/to/backup/jellyfin-config.tgz /etc/jellyfin /var/lib/jellyfin
sudo systemctl start jellyfin

Active replication between a desktop and a server is a different requirement from backing up a Jellyfin library. This guide to a personal cloud on Ubuntu explains an alternative approach when files must remain synchronised across several devices.

Keep the administrator account separate from everyday viewing profiles. Use a password manager, enable additional authentication where the installed release supports it, and restrict remote administration to trusted networks. The firewall should expose only the ports required for local access or HTTPS proxying, while SSH should use key authentication and a non-standard port if the router permits it.

Tune performance and verify the result

Hardware acceleration reduces the load placed on the server CPU. Intel systems can use Quick Sync with the intel-media-va-driver package, while compatible AMD systems can use VAAPI through mesa-va-drivers. After installing the appropriate driver, select the rendering device in Jellyfin’s transcoding settings and verify that the playback dashboard recognises hardware transcoding. The broader idea of reducing background work to improve runtime speed is illustrated in this lightweight configuration guide.

Monitor CPU load, temperatures, free disk space, and Jellyfin logs. The live service log is available with sudo journalctl -u jellyfin -f, and the administration dashboard provides playback and transcoding details. Schedule operating-system updates, check release notes before major version changes, and keep at least one library drive free of critical capacity warnings.

The final build check is to start one representative film, open the playback dashboard, and record whether the stream used Direct Play or Transcoding.