Install PlexMedia server Debian via the command line

Installing PlexMedia server Debian tutorial. In this tutorial we will install PlexMedia server. On a computer with Debian. Next we will configure, the PlexMedia server.

Installing PlexMedia Server Debian

First we need to import the key from PlexMedia. We do this as follows.

wget https://downloads.plex.tv/plex-keys/PlexSign.key -O –
sudo apt-key add -echo “deb https://downloads.plex.tv/repo/deb ./public main”
sudo tee -a /etc/apt/sources.list.d/plex.list

Then we have to do an update.

sudo apt-get update

Now we are going to install the PlexMedia key.

sudo apt-get install deb-multimedia-keyring -y

Now we have to. Do an update again.

sudo apt-get update

Now we can install PlexMedia server.

sudo apt-get install plexmediaserver -y

Now we have to set the rights to the plex media server folder properly. Otherwise you can get error messages.

sudo nano /etc/default/plexmediaserver

Search for the line below. And change this to your own username.

PLEX_MEDIA_SERVER_USER=plex

Now press the following keys Ctrl + X. And then the y key. To save this file.

The installation of PlexMedia server is now ready. And PlexMedia is started automatically. When Debian is started.

Share This

Leave a Reply