Install Plex Media Server on Debian Linux

Install Plex Media Server on Debian

Install curl

sudo apt-get install curl -y

Now add source repositories, there are three separate lines here

sudo curl http://shell.ninthgate.se/packages/shell-ninthgate-se-keyring.key | sudo apt-key add –
echo “deb http://www.deb-multimedia.org wheezy main non-free” | sudo tee -a /etc/apt/sources.list.d/deb-multimedia.list
echo “deb http://shell.ninthgate.se/packages/debian wheezy main” | sudo tee -a /etc/apt/sources.list.d/plex.list

Make sure it runs

sudo apt-get update && sudo apt-get install deb-multimedia-keyring

Update and install the plex media server

sudo apt-get update && sudo apt-get install plexmediaserver -y

See if you can connect at http://ip.address:32400/manage/index.html

Plex media server will autoboot 🙂

If you are getting permission issues it is because Plex runs as its own user, you can change the user Plex Media Server runs as to fix the permission issues you get from CouchPotato, SickRage, Sonarr, Headphones and others.

sudo nano /etc/default/plexmediaserver

Find this line

PLEX_MEDIA_SERVER_USER = plex

Change plex to your regular user

PLEX_MEDIA_SERVER_USER = username

Ctrl+X, Y and Enter to save the configuration

Restart the Plex Media Server service

sudo service plexmediaserver restart

Configure Plex Media Server

Open up your Plex web interface at http://ip.address:32400/web

NOTE: Plex media server must be configured form localhost.
consider connecting over ssh proxy..