#!/linuxSucks/Install Plex media server in Debian/Ubuntu server

Nov 27, 2019

Install Plex Media Server (Ubuntu/Debian). The easiest way to install and manage Plex Media Server is by using the Plex official repository. It requires no technical knowledge and it should not take you more than 20 minutes to install and configure the media server.

Start by importing the repository’s GPG key using the following

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

Add the Plex APT repository to your system’s software repository list by issuing:

echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Add the Plex APT repository:

echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Now update the apt package list and install the latest version

sudo apt update
sudo apt install plexmediaserver

To verify that the Plex service is running:

sudo systemctl status plexmediaserver

The output should look something like this:

plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-06-25 10:42:28 PDT; 35min ago
Process: 2544 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 2556 (sh)
Tasks: 56 (limit: 2321)
CGroup: /system.slice/plexmediaserver.service

Now we can proceed with the server configuration. Open your browser, type:

http://YOUR_SERVER_IP:32400/web

Home  Linux  Notes  Blog Spot