Installing Radarr, Jackett, QBitTorrent (qbittorrent-nox), and Plex Media Server on Ubuntu can be a comprehensive process, but with a step-by-step guide, you can have your own media server up and running in no time. These tools are essential for managing and downloading media content while also serving it to various devices. Here's a detailed guide on how to set up this media server stack:

**Prerequisites:**

1. A fresh installation of Ubuntu (you can use Ubuntu Server for a lightweight system).

2. SSH access to your server (optional but recommended).

3. Basic knowledge of the command line.

**Step 1: Update and Upgrade Your System**

Before you start installing any software, make sure your system is up-to-date:

sudo apt update && sudo apt upgrade -y

**Step 2: Install Required Dependencies**

You'll need to install some common dependencies for these applications. Run the following command:


sudo apt install software-properties-common dirmngr apt-transport-https -y

**Step 3: Install QBitTorrent (qbittorrent-nox)**

To set up qBittorrent-nox, execute the subsequent command:

sudo apt install qbittorrent-nox -y

qBittorrent-nox can be accessed through a Web interface at http://localhost:8080, which is the default location, and is intended for headless clients. By default, access to the Web UI is protected. Admin is the default username, and adminadmin is the default password.

**Step 4: Create a Systemd Service File for qbittorrent-nox on Ubuntu

Make sure qbittorrent-nox has a systemd service file created:

sudo nano /etc/systemd/system/qbittorrent-nox.service

The lines below should be copied and pasted into the file:

[Unit]
Description=qBittorrent Command Line Client
After=network.target

[Service]
Type=forking
User=your username
Group=sudo
UMask=007
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080
Restart=on-failure

[Install]
WantedBy=multi-user.target

Press CTRL+O to save the file, then CTRL+X to exit.

**Step 5: Reload the Systemd Daemon for qbittorrent-nox on Ubuntu

Reload the systemd daemon in order for the modifications to be applied:

sudo systemctl daemon-reload

**Step 6: Start and Enable qBittorrent-nox on Ubuntu

Use the following command to launch qBittorrent-nox:

sudo systemctl start qbittorrent-nox

Use this command to set up qBittorrent-nox to launch automatically when the computer boots up:

sudo systemctl enable qbittorrent-nox

Make sure everything is functioning properly by checking the status before moving forward:

systemctl status qbittorrent-nox

**Step 7: Access qBittorrent Web UI via Ubuntu

You can use the Web UI to access qBittorrent by using the browser on your local network. Enter the internal IP address of the server, such as 192.168.55.156:8080, and then the port number (8080). Use the localhost address 127.0.0.1:8080 if the server is hosted locally.

Admin is the default username, and adminadmin is the default password.

**Step 8: Install Jackett**

Jackett is a proxy server that allows you to add extra torrent indexers to your QBitTorrent client. Install Jackett with the following commands:

cd /opt && f=Jackett.Binaries.LinuxAMDx64.tar.gz && sudo wget -Nc https://github.com/Jackett/Jackett/releases/latest/download/"$f" && sudo tar -xzf "$f" && sudo rm -f "$f" && cd Jackett* && sudo chown $(whoami):$(id -g) -R "/opt/Jackett" && sudo ./install_service_systemd.sh && systemctl status jackett.service

You can access Jackett's web interface at `http://localhost:9117`.

**Step 9: Install Radarr**

Radarr is a movie management and automation tool. Install it with the following commands:

sudo apt install curl sqlite3
curl -o servarr-install-script.sh https://raw.githubusercontent.com/Servarr/Wiki/master/servarr/servarr-install-script.sh && sudo bash servarr-install-script.sh

During install, you will be asked to choose what you want to install - Radarr

Set the user to your username and group to sudo

You can access Radarr at `http://localhost:7878`.

**Step 10: Install Sonarr**

Sonarr is a TV management and automation tool. Install it with the following commands:

curl -o- https://raw.githubusercontent.com/Sonarr/Sonarr/develop/distribution/debian/install.sh | sudo bash

Set the user to your username and group to sudo

http://localhost:8989 to start using Sonarr.

**Step 11: Install Plex Media Server**

Plex Media Server is a powerful media streaming solution. To install Plex, follow these steps:

echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

sudo apt install plexmediaserver

sudo systemctl status plexmediaserver

Start Plex Media Server:

systemctl --user enable plexmediaserver

You can access Plex at `http://localhost:32400/web`.

**Step 11: Configure Your Applications**

- Configure QBitTorrent, Jackett, Radarr, and Plex Media Server as needed.

- Make sure they can access your media storage.

With these applications installed and configured, you'll have a powerful media server on your Ubuntu system. You can manage and download media using Radarr and QBitTorrent while streaming it through Plex Media Server. Jackett provides additional torrent indexer support.

Techie Mike
Techie Mike
Self-taught techie, with a passion for computers and all the cool things you can do with them. Techie Mike, B.Eng. B.Sc.
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Techie Mike - The IT guy in Thailand.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.