Self-host your own media streaming service

November 24, 20223 min read532 words

Introduction

In this article, we will discuss how to self-host your own media streaming service. We will cover the following topics:

Prerequisites

  • A server running Ubuntu 20.04 or later

  • Docker installed

Setting up the media streaming service

Jellyfin

Jellyfin is a free and open-source media server that can be used to stream your media to your devices. It is a fork of Emby and Emby Theater. Jellyfin is a self-hosted alternative to services such as Plex, Netflix, and Kodi.

Installation

To install Jellyfin, run the following command:


docker run -d \

--name=jellyfin \

--restart=always \

-p 8096:8096 \

-p 8920:8920 \

-v /path/to/config:/config \

-v /path/to/media:/media \

jellyfin/jellyfin

Configuration

To configure Jellyfin, open your browser and go to http://your-ip:8096. You will be prompted to create an account. Once you have created an account, you will be able to access the Jellyfin dashboard.

Deluge

Deluge is a lightweight, Free Software, cross-platform BitTorrent client. In this guide, we will use Deluge to download media files.

Installation

To install Deluge, run the following command:


docker run -d \

--name=deluge \

--restart=always \

-p 8112:8112 \

-p 58846:58846 \

-v /path/to/config:/config \

-v /path/to/downloads:/downloads \

linuxserver/deluge

Prowlarr

Prowlarr is a free and open-source indexer manager for usenet and torrent indexers. It is a self-hosted alternative to services such as Sonarr, Radarr, and Lidarr.

Installation

To install Prowlarr, run the following command:


docker run -d \

--name=prowlarr \

--restart=always \

-p 9696:9696 \

-v /path/to/config:/config \

-v /path/to/downloads:/downloads \

linuxserver/prowlarr

Configuration

To configure Prowlarr, open your browser and go to http://your-ip:9696. You will be prompted to create an account. Once you have created an account, you will be able to access the Prowlarr dashboard.

Sonarr and Radarr

Sonarr and Radarr are free and open-source media servers that can be used to automatically download and manage your media. They are self-hosted alternatives to services such as Netflix, Amazon Prime Video, and Hulu.

Installation

To install Sonarr, run the following command:


docker run -d \

--name=sonarr \

--restart=always \

-p 8989:8989 \

-v /path/to/config:/config \

-v /path/to/downloads:/downloads \

-v /path/to/tv:/tv \

linuxserver/sonarr

To install Radarr, run the following command:


docker run -d \

--name=radarr \

--restart=always \

-p 7878:7878 \

-v /path/to/config:/config \

-v /path/to/downloads:/downloads \

-v /path/to/movies:/movies \

linuxserver/radarr

Configuration

To configure Sonarr, open your browser and go to http://your-ip:8989. You will be prompted to create an account. Once you have created an account, you will be able to access the Sonarr dashboard.

To configure Radarr, open your browser and go to http://your-ip:7878. You will be prompted to create an account. Once you have created an account, you will be able to access the Radarr dashboard.

Conclusion

In this article, we discussed how to self-host your own media streaming service. We covered the following topics:

References

Buy Me a Coffee at ko-fi.com

Website created by Yassine Fathi © 2022

Built with Next.js & Hosted in my Homelab