Plex Media Server—installation details

Russell Bateman
July 2014
last update:

tol-eressa.site:/plex-server

For your pleasure and in case you have any questions, here's how the installation went the last time I configured a new server. The first command is subsequent to having downloaded Plex onto my Linux Mint host, then scp'd it over to my new server dropping it on the path /home/russ/Downloads, then sshing in and getting root.

root@tol-eressea:~/Downloads# dpkg --install plexmediaserver_0.9.9.13.525-197d5ed_amd64.deb
Selecting previously unselected package plexmediaserver.
(Reading database ... 92303 files and directories currently installed.)
Preparing to unpack plexmediaserver_0.9.9.13.525-197d5ed_amd64.deb ...
Unpacking plexmediaserver (0.9.9.13.525-197d5ed) ...
dpkg: dependency problems prevent configuration of plexmediaserver:
 plexmediaserver depends on avahi-daemon; however:
  Package avahi-daemon is not installed.
 plexmediaserver depends on avahi-utils; however:
  Package avahi-utils is not installed.

dpkg: error processing package plexmediaserver (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 plexmediaserver

root@tol-eressea:~/Downloads# apt-get update
root@tol-eressea:~/Downloads# apt-get install avahi-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 avahi-daemon : Depends: libavahi-common3 (>= 0.6.16) but it is not going to be installed
                Depends: libavahi-core7 (>= 0.6.24) but it is not going to be installed
                Depends: libdaemon0 (>= 0.13) but it is not going to be installed
                Recommends: libnss-mdns but it is not going to be installed
 plexmediaserver : Depends: avahi-utils but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@tol-eressea:~/Downloads# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  avahi-daemon avahi-utils libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libdaemon0 libnss-mdns
Suggested packages:
  avahi-autoipd
The following NEW packages will be installed:
  avahi-daemon avahi-utils libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libdaemon0 libnss-mdns
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 270 kB of archives.
After this operation, 1,392 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libavahi-common-data amd64 0.6.31-4ubuntu1 [21.2 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main libavahi-common3 amd64 0.6.31-4ubuntu1 [21.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main libavahi-core7 amd64 0.6.31-4ubuntu1 [80.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main libdaemon0 amd64 0.14-2ubuntu1 [16.4 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main avahi-daemon amd64 0.6.31-4ubuntu1 [58.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/main libavahi-client3 amd64 0.6.31-4ubuntu1 [25.1 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main avahi-utils amd64 0.6.31-4ubuntu1 [24.1 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty/main libnss-mdns amd64 0.10-6 [21.4 kB]
Fetched 270 kB in 1s (201 kB/s)
Selecting previously unselected package libavahi-common-data:amd64.
(Reading database ... 96151 files and directories currently installed.)
Preparing to unpack .../libavahi-common-data_0.6.31-4ubuntu1_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.6.31-4ubuntu1) ...
Selecting previously unselected package libavahi-common3:amd64.
Preparing to unpack .../libavahi-common3_0.6.31-4ubuntu1_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.6.31-4ubuntu1) ...
Selecting previously unselected package libavahi-core7:amd64.
Preparing to unpack .../libavahi-core7_0.6.31-4ubuntu1_amd64.deb ...
Unpacking libavahi-core7:amd64 (0.6.31-4ubuntu1) ...
Selecting previously unselected package libdaemon0.
Preparing to unpack .../libdaemon0_0.14-2ubuntu1_amd64.deb ...
Unpacking libdaemon0 (0.14-2ubuntu1) ...
Selecting previously unselected package avahi-daemon.
Preparing to unpack .../avahi-daemon_0.6.31-4ubuntu1_amd64.deb ...
Unpacking avahi-daemon (0.6.31-4ubuntu1) ...
Selecting previously unselected package libavahi-client3:amd64.
Preparing to unpack .../libavahi-client3_0.6.31-4ubuntu1_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.6.31-4ubuntu1) ...
Selecting previously unselected package avahi-utils.
Preparing to unpack .../avahi-utils_0.6.31-4ubuntu1_amd64.deb ...
Unpacking avahi-utils (0.6.31-4ubuntu1) ...
Selecting previously unselected package libnss-mdns:amd64.
Preparing to unpack .../libnss-mdns_0.10-6_amd64.deb ...
Unpacking libnss-mdns:amd64 (0.10-6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libavahi-common-data:amd64 (0.6.31-4ubuntu1) ...
Setting up libavahi-common3:amd64 (0.6.31-4ubuntu1) ...
Setting up libavahi-core7:amd64 (0.6.31-4ubuntu1) ...
Setting up libdaemon0 (0.14-2ubuntu1) ...
Setting up avahi-daemon (0.6.31-4ubuntu1) ...
avahi-daemon start/running, process 7580
Setting up libavahi-client3:amd64 (0.6.31-4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libnss-mdns:amd64 (0.10-6) ...
First installation detected...
Checking NSS setup...
Setting up avahi-utils (0.6.31-4ubuntu1) ...
Setting up plexmediaserver (0.9.9.13.525-197d5ed) ...
OK
plexmediaserver start/running, process 7645
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
root@tol-eressea:~/Downloads# dpkg --list | grep [p]lexmedia
ii  plexmediaserver                     0.9.9.13.525-197d5ed           amd64        Plex organizes all of your personal...
root@tol-eressea:/# ps -ef | grep [p]lex
plex      7647  7645  0 17:09 ?        00:00:00 /bin/sh /usr/sbin/start_pms
plex      7649  7647  0 17:09 ?        00:00:00 ./Plex Media Server
plex      7741  7649  0 17:09 ?        00:00:04 Plex Plug-in [com.plexapp.system] /var/lib/plexmediaserver/Library/Appl...
plex      7786  7649  0 17:09 ?        00:00:00 /usr/lib/plexmediaserver/Plex DLNA Server
plex      7800  7649  0 17:09 ?        00:00:00 Plex Plug-in [com.plexapp.agents.plexthememusic] /var/lib/plexmediaserv...
plex      7802  7649  0 17:09 ?        00:00:00 Plex Plug-in [com.plexapp.agents.wikipedia] /var/lib/plexmediaserver/Li...
plex      7902  7649  0 17:09 ?        00:00:00 Plex Plug-in [com.plexapp.agents.none] /var/lib/plexmediaserver/Library...
plex      8025  7649  0 17:09 ?        00:00:01 Plex Plug-in [com.plexapp.agents.thetvdb] /var/lib/plexmediaserver/Libr...
plex      8029  7649  0 17:09 ?        00:00:00 Plex Plug-in [com.plexapp.agents.opensubtitles] /var/lib/plexmediaserve...
plex      8031  7649  0 17:09 ?        00:00:01 Plex Plug-in [com.plexapp.agents.themoviedb] /var/lib/plexmediaserver/L...