How To Install Plex Media Server on Fedora 37
In this tutorial, we will show you how to install Plex Media Server on Fedora 37. For those of you who didn’t know, Plex is a cross-platform global media streaming service and a media player based on the client-server model. The Plex Media Server organizes video, audio, and photos from a user’s collections and from online services, and streams them to the players.
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 37.
Prerequisites
- A server running one of the following operating systems: Fedora 37.
- 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 37
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 37.
By default, the Plex package does not come in the default repository of Fedora 37. 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
Once is done, now install the latest version of Plex Media Server using the below command:
sudo dnf install plexmediaserver
After the installation is completed, start the Plex media service and enable it to start after the system reboot with the following command:
sudo systemctl enable plexmediaserver sudo systemctl start plexmediaserver sudo systemctl status plexmediaserver
Step 3. Configure Firewall.
By default, Plex Media Server listens on ports 32400. If any firewall is installed and configured on your server, then you will need to allow ports via firewalld. You can allow them with the following command:
sudo firewall-cmd --add-port=32400/tcp --permanent sudo firewall-cmd --reload
Step 4. Accessing the Plex Media Server web UI.
Once successfully installed, open your web browser and type the URL http://your-IP-address:32400/web
. You will be directed as shown below:
Congratulations! You have successfully installed Plex. Thanks for using this tutorial for installing the Plex Media Server on your Fedora 37 system. For additional help or useful information, we recommend you check the official Plex website.