How To Install Plex Media Server on Fedora 36
In this tutorial, we will show you how to install Plex Media Server on Fedora 36. For those of you who didn’t know, Plex media server is a self-hosted media player system to store your movies, shows, music, and photos. Plex Media Server is a great way to keep your digital media content organized and accessible. It is worth considering if you have a large TV or movie library. It supports a wide range of client applications and allows you to share your content with others.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Plex Media Server on a Fedora 36.
Prerequisites
- A server running one of the following operating systems: Fedora 36.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Plex Media Server on Fedora 36
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update sudo dnf install dnf-plugins-core
Step 2. Installing Plex Media Server on Fedora 36.
By default, the Plex package doesn’t come in the default repository of Fedora 36. Now run the following command below to add the Plex repository to your Fedora system:
sudo tee /etc/yum.repos.d/plex.repo<<EOF [Plexrepo] name=plexrepo baseurl=https://downloads.plex.tv/repo/rpm/\$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1 EOF
After the repository was added, now Install the Plex Media Server on Fedora using dnf
command:
sudo dnf update sudo dnf install plexmediaserver
The Plex Media service should be automatically started. To verify this, use the following command below:
sudo systemctl status plexmediaserver
Step 3. Configure Firewall.
Configure the firewall HTTP port 32400 to allow traffic using the following commands below:
sudo firewall-cmd --zone=public --add-port=32400/tcp sudo firewall-cmd --reload
Step 4. Accessing Plex Media Server on Fedora 36.
Once successfully installed, open your web browser and access the Plex using the URL https://your-IP-address:32400/web
. You will be redirected to the following page:
Congratulations! You have successfully installed plex. Thanks for using this tutorial for installing the Plex Media Server on your Fedora 36 system. For additional help or useful information, we recommend you check the official Plex website.