Skip to content

Set Up Plex on a Linux Server – Stream Your Personal Media Library

Discover how to easily manage and stream your personal media library with Plex – for simple access on all your devices → Learn more now

12 November 20263 min read19 Views0 helpful

Introduction

Plex is a platform for managing and streaming media content such as movies, TV shows, music, and photos from a central location. With the Plex Media Server, you can organize your libraries, automatically enrich them with metadata, and stream on various devices both within your local network and over the internet. This makes Plex a flexible solution to have your personal media collection conveniently and easily accessible everywhere.

Want to host this service yourself? We guide you step-by-step through the setup and configuration and show you everything you need to consider.

Installing Plex with One-Click Apps

You can install Plex directly via One-Click Apps in the dashboard of your dedicated server. After the initial setup of the apps, open the app catalog, search for Plex, and start the installation with your preferred project, environment, and domain settings. This provides a quick and user-friendly way to deploy and manage Plex without manual command-line installation – including integrated web management, support for custom domains, and SSL certificates where available.

Requirements

Before installing Plex, make sure your hosting environment meets the following requirements to ensure a smooth installation and optimal performance.

HardwareMinimumZAP-Hosting Recommendation
CPU4 vCPU cores8 vCPU cores
RAM4 GB8 GB
Storage25 GB25 GB

The software requires all necessary dependencies to be installed and to run on a supported operating system. Ensure your server meets the following requirements before starting the installation:

Dependencies: None

Operating System: Ubuntu (16.04+) / Debian (8+) – Intel/AMD 64-bit

Make sure all dependencies are installed and the correct OS version is used to avoid compatibility issues during Plex installation.

Installation

The official Plex Media website offers the latest Linux version of the Plex Media Server for download. Use the 64-bit variant to ensure compatibility with all modern Linux editions. Download the .deb file with the following command:

Code
wget https://downloads.plex.tv/plex-media-server-new/1.42.1.10060-4e8b05daf/debian/plexmediaserver_1.42.1.10060-4e8b05daf_amd64.deb

After downloading, you can run the installer to set up the Plex Media Server. Configuration is then done via the web interface in your browser, where you can create libraries and manage your media. Start the installation with this command:

Code
sudo dpkg -i plexmediaserver_1.42.1.10060-4e8b05daf_amd64.deb

To set up the Plex Media Server, open a browser on the same machine where you installed the server and go to http://127.0.0.1:32400/web. You will be prompted to sign in with an existing Plex account or create a new one if you don’t have one yet.

This login is necessary to link the server to your personal account and enable features like remote access, user management, and device synchronization. After successful login, you are in your own Plex Media instance. There you can create libraries for movies, TV shows, music, or photos, automatically fetch metadata, and share content with other users on the local network or over the internet.

After setup, you can also access your Plex Media Server externally by opening the web interface in your browser at http://<ip-address>:32400. Replace <ip-address> with your server’s public IP address.

Port 32400 is the default port for Plex web access and may need to be opened in your firewall or router if you want to connect over the internet.

Once the address is accessed, you will be redirected to the Plex login page where you can manage your libraries and settings. For secure external access, we recommend enabling Remote Access in the Plex settings, which establishes an encrypted connection and routes traffic through the Plex service.

Conclusion and Additional Resources

Congratulations! You have now successfully installed and configured Plex on your VPS/Dedicated Server. We also recommend checking out the following resources that can help you with further server configuration:

Do you have specific questions not answered here? Our team is available daily for further questions or support – just get in touch with us! 🙂

FAQ

Frequently asked questions

You can install Plex directly via One-Click Apps in the dashboard of your dedicated server by searching for Plex in the app catalog and starting the installation with your preferred project, environment, and domain settings.
Plex is a platform for managing and streaming media like movies, TV shows, music, and photos from a central location, with automatic metadata enrichment and cross-device streaming.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.