Build a practical Plex and automation server on Ubuntu

Setting up a home server for Plex, Sonarr, and Radarr on Ubuntu can replace a tangle of applications with one always-on appliance. The server manages media libraries, automated downloads, imports and remote playback, while phones, tablets and televisions remain ordinary clients. A sensible design keeps the operating system simple and treats storage, security and recovery as part of the build. Learn more about Obs Studioで垂直配信 9 16 用にレイアウトを切り替えるショートカットの活用方法.

This guide uses a supported Ubuntu Server LTS release, Docker Compose for the automation services and qBittorrent for transfers. It assumes the server sits on trusted home broadband and that media comes from sources you are entitled to use. The result should be easy to operate and recover, not merely powerful on the day it is assembled.

Plan hardware for Australian homes and networks

A compact mini PC with an Intel N100 or similar efficient processor is a good starting point. Pair it with 16 GB of RAM, a small SSD for the operating system and a separate HDD or NAS enclosure for media. An Intel CPU with Quick Sync also provides a practical path to Plex hardware transcoding. More demanding libraries benefit from 32 GB of RAM, faster networking and additional drives rather than a disproportionately expensive processor.

Housing and noise deserve attention. Apartment living in Sydney or Melbourne may leave little room for a large server and make fan noise an issue for neighbours. A suburban house usually offers more flexibility in a garage, study or cupboard, provided that ventilation is adequate. Australian summer temperatures can also push tightly packed drives towards their limits, so leave clearance around the chassis and avoid storing the machine in a hot, enclosed cupboard.

Most Australian fixed-line broadband now runs over NBN, but upload speeds vary considerably between FTTP, HFC, FTTN and FTTB connections. Evening catch-up viewing and video calls also compete for the same household uplink. Check whether the connection provides a public IPv4 address or uses CGNAT, since inbound connections are blocked on many plans. Australian retailers stock suitable NAS-rated CMR drives and mini PCs, while buying locally also makes warranty and replacement arrangements simpler.

Install Ubuntu Server and build the storage layout

Install a currently supported Ubuntu Server LTS edition rather than the desktop distribution. During installation, enable SSH, use a descriptive hostname and configure a static DHCP reservation. After the first boot, apply updates, create an administrative account with sudo access and restrict direct password access over the internet. Keep the server off the desktop and use a separate workstation for configuration.

Store the operating system and Docker data on the SSD while keeping media on larger disks mounted through stable paths such as /mnt/media. Give each filesystem a UUID rather than relying on device names such as /dev/sdb, which can change after maintenance. A RAID mirror can reduce downtime following a disk failure, but it is not a backup. Retain an independent copy of important configuration, application databases and irreplaceable media somewhere else.

Install Docker Engine and its Compose plugin using Docker’s official Ubuntu repository, then enable the service at boot. Define one Compose project containing Sonarr, Radarr, Prowlarr and qBittorrent. Give the services consistent UID and GID values so downloaded files remain accessible from other applications. Shared directories such as /downloads and /media should have matching paths inside every container, eliminating the confusing import failures that often follow inconsistent volume mappings.

Configure Plex, Sonarr and Radarr

Plex Media Server is usually simplest to install from its official Ubuntu package, particularly when hardware transcoding is required. Connect the media directories and grant the Plex service account permission to read them. Plex clients on televisions, phones and tablets can then connect to the local library, while authenticated users outside the home can use Plex’s remote-access service. Direct Play should handle common formats, with hardware transcoding reserved for more demanding streams.

Sonarr and Radarr fit neatly into the Docker environment. Sonarr monitors television series and manages episode searches, while Radarr handles films. Both can communicate with qBittorrent over the internal Compose network, and Prowlarr can centralise authorised indexer configuration. Use a download folder that is mounted read/write, separate media destinations for programmes and movies, and consistent naming settings. When downloads and media directories share a filesystem, hard links and atomic moves can avoid copying large files.

Transcoding capacity depends on the selected format and the Plex client’s capabilities. Plex hardware transcoding generally requires Plex Pass and a supported Intel or NVIDIA setup. If the server also feeds a personal broadcasting workflow, OBS Studio layout shortcuts can help operators switch between horizontal and vertical scenes. OBS is better hosted on the workstation used for streaming, leaving the Ubuntu server focused on storage, media management and reliable background services.

Connect automation using authorised sources

A typical flow starts when an indexer reports a wanted programme or film. Sonarr or Radarr creates a release, qBittorrent transfers it into the shared downloads folder, and the relevant application imports and renames the finished file. Automatic importing works best when the downloader and media destinations use the same filesystem. Configure quality profiles that prefer suitable releases, retain a reasonable seeding policy, and test the complete path with a small programme before adding a large collection.

Australian law makes the source boundary important. The Copyright Act 1968 and associated rules apply to unauthorised reproductions and distribution of films and television programmes. Sonarr and Radarr automate management tasks but do not make any source lawful. Use authorised streaming services, subscriptions and Usenet providers where applicable, and only configure indexers you are permitted to access. Disabling qBittorrent seeding for unauthorised material also reduces accidental distribution, although permission must come from the copyright holder rather than the technology used to obtain a file.

Secure and maintain the media server

Keep Plex and the administration interfaces away from direct public exposure. Plex can use its own remote-access mechanism, while a private overlay network such as Tailscale or a properly configured WireGuard tunnel provides access to Sonarr, Radarr and Prowlarr. If you operate a conventional reverse proxy, use HTTPS, multifactor authentication and strict administrator accounts. The router should receive only the specific firewall rules required, and its management interface should never be exposed over the internet.

Monitoring should cover disk health, filesystem capacity, container failures and power conditions. Configure email or dashboard alerts for important thresholds, and remember that a notification system is only useful when somebody receives and acts on it. The practical telemetry approach in building a home weather station with Arduino and Raspberry Pi illustrates the value of collecting local conditions rather than relying on a remote dashboard alone. An Australian-rated UPS, surge protection and sensible shutdown behaviour add resilience during summer storms or short power interruptions.

  • Use a dedicated SSD for Ubuntu and Docker, and mount media disks by UUID at boot.
  • Maintain an independent backup of configuration files, databases and irreplaceable media.
  • Apply operating-system security updates automatically while reviewing container image updates deliberately.
  • Use a private VPN or authenticated reverse proxy instead of exposing administration pages directly.
  • Test SMART alerts, UPS shutdown procedures and configuration restores on a scheduled basis.

Build the first version with one external drive and a small test library, then verify local playback, importing and remote access before expanding. Once those paths work reliably, add storage, tune the automation rules and invite another household member to test the finished Plex experience.

Experience

Information Technology Consulting

Independent Practice

Provides IT consulting services focused on infrastructure planning, cloud migration strategy, and systems architecture. Engagements draw on years of hands-on sysadmin and development experience across Linux, Windows, and hybrid environments.

K9 Search & Rescue Volunteer

Ongoing

Active participant in K9 Search & Rescue operations, combining technical logistics skills with field support for canine search teams.

Karl Katzke's Blog

October 2006 – May 2014

Published a long-running personal technology blog covering cloud vs. in-house infrastructure, F# and Mono on OSX, hardware vendor critiques, RAID card performance analysis, and sysadmin storytelling. Notable posts include "When Sysadmins Ruled the Earth" (May 15, 2014) and "Getting Started with F# and Mono on OSX" (December 22, 2012).

Credentials

A small badge icon with a shield shape in muted blue tones on a light background

Systems Administration

Deep experience with Linux (RHEL, SLES, CentOS), high-availability clusters, and STONITH configurations.

A small badge icon with a gear shape in muted blue tones on a light background

Cloud Infrastructure

Practical knowledge of AWS EC2, reserved instances, and cost analysis for cloud vs. on-premises deployments.

A small badge icon with a code symbol in muted blue tones on a light background

Development

Proficient in F#, PHP (Symfony), and cross-platform tooling including Mono and MonoDevelop on OSX.

Studies

F# & Functional Programming

Self-directed, 2012

Explored strongly typed functional programming with F# on OSX using the Mono runtime. Published a detailed getting-started guide covering toolchain setup and cross-platform game development research.

High-Availability & Cluster Management

Professional Development, 2009

Configured and documented crm_mon email alerting for STONITH events on SLES11-HAE clusters, integrating with Nagios monitoring for production environments.

Hardware & Storage Performance

Ongoing

Conducted hands-on benchmarking of SATA/SAS RAID controllers including HighPoint RocketRaid 2740 and LSI/SuperMicro AOC-USASLP2-H8iR, comparing against software RAID configurations.

Skills

A small icon representing a server with clean geometric lines in slate blue

Linux Administration

RHEL, SLES, CentOS — package management, kernel tuning, HA clustering, and monitoring integration.

A small icon representing a cloud shape with clean geometric lines in slate blue

Cloud Architecture

AWS EC2, reserved-instance planning, cost modeling, and hybrid infrastructure strategy.

A small icon representing code brackets with clean geometric lines in slate blue

F# & .NET/Mono

Functional programming on OSX, MonoDevelop toolchain, and cross-platform game-dev exploration.

A small icon representing a database cylinder with clean geometric lines in slate blue

PHP & Symfony

Web application development with the Symfony framework and the broader PHP ecosystem.

A small icon representing a storage drive with clean geometric lines in slate blue

Storage & RAID

SATA/SAS controller evaluation, md RAID configuration, and performance benchmarking.

A small icon representing a shield with clean geometric lines in slate blue

High Availability

Pacemaker, STONITH, crm_mon alerting, and Nagios integration for production cluster monitoring.