

The Plex Media Server operates as the user plex, and the media files and folders must have read and execute rights. You can create the folders that will hold the Plex media files before starting the Plex setup wizard: sudo mkdir -p /opt/plexmedia/

Save the file and update: sudo ufw app update plexmediaserverĪpply the new firewall rules: sudo ufw allow plexmediaserver-allįinally, use the following commands to see if the new firewall rules have been correctly implemented: sudo ufw status verbose Status: activeĭefault: deny (incoming), allow (outgoing), disabled (routed)ģ2400/tcp (plexmediaserver-all) ALLOW IN Anywhereģ005/tcp (plexmediaserver-all) ALLOW IN Anywhereĥ353/udp (plexmediaserver-all) ALLOW IN AnywhereĨ324/tcp (plexmediaserver-all) ALLOW IN Anywhereģ2410:32414/udp (plexmediaserver-all) ALLOW IN Anywhereġ900/udp (plexmediaserver-all) ALLOW IN Anywhereģ2469/tcp (plexmediaserver-all) ALLOW IN Anywhere Configuring Plex Media Server Title=Plex Media Server (Standard + DLNA)ĭescription=The Plex Media Server (with additional DLNA capability)

The simplest approach if you’re using UFW to control your firewall is to establish a UFW application profile: sudo vi /etc/ufw/applications.d/plexmediaserver If you do not have a firewall running on your system, skip this section. Now that Plex is up and operating on your server, double-check that the server firewall is set to accept traffic on the Plex-specific ports. On your Ubuntu computer, you now have a Plex media server installed. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Thu 15:16:03 UTC 23min ago You will see the output like this: rvice - Plex Media Server Sudo apt install plexmediaserver Check the service status to see if Plex is up and running: sudo systemctl status plexmediaserver

Add the Plex APT repository and import the repository’s GPG key: curl | sudo apt-key add -Įcho deb public main | sudo tee /etc/apt//plexmediaserver.list Update the apt package list and install the newest server version once the repository is enabled: sudo apt update It doesn’t require any technical skills, and installing and configuring the media server shouldn’t take more than 20 minutes. We’ll activate the official Plex repository and use apt to install the program. Steam can be installed on Plex Media Server with relative ease. Plex is a commercial piece of software that isn’t available in the Ubuntu repository.
