Plex

From ArchWiki
Revision as of 12:59, 8 May 2014 by Thiagowfx (talk | contribs) (added root clarification, moved the configuration part to the end (systemd unit file must be started before it))
Jump to navigation Jump to search

Merge-arrows-2.pngThis article or section is a candidate for merging with List of Applications.Merge-arrows-2.png

Notes: This article doesn't offer more information than an entry in List of applications, although I think we'd need to create a new section for this kind of applications.
This could be merged along with Streaming media. (Discuss in Talk:Plex#)

Landing page for http://plexapp.com/ Please contribute and update.

Packages availability

in the AUR.

Plex Media Server (PMS)

Installation

Install the package from AUR: plexmediaserverAUR.

Configuration

Getting started

It may be necessary to run through the Plex basic setup wizard before launching Plex via its systemd unit (root permissions needed):

# /opt/plexmediaserver/start_pms

Once completed, you can start Plex at boot with systemd:

# systemctl enable plexmediaserver

To start Plex (after the basic setup):

# systemctl start plexmediaserver

To begin configuring Plex, browse to http://localhost:32400/manage.

Firewall

Note: Plex supports both IPv4 and IPv6. This section only assumes the use of IPv4.

Plex Media Server and its internal DLNA server require several ports to be open:

  • 32400/tcp
  • 32469/tcp
  • 32400/udp
  • 32469/udp
  • 5353/udp
  • 1900/udp

A short example with iptables:

# iptables -A INPUT -p tcp -m multiport --dports 32400,32469 -j ACCEPT
# iptables -A INPUT -p udp -m multiport --dports 32400,32469,5353,1900 -j ACCEPT

Operation

If you want to add media folders in your home directory, you may get a permissions issue. To fix this:

$ chmod 755 ~/
# usermod -a -G users plex to allow plex to access your files.

In this case, it is assumed that your home directory is owned by the users group (the default case on Arch).

Plex Home Theater

Installation

You can use plex-home-theater from the Official repositories, build plex package from source, or use the unofficial alucryd repository providing both regular plex-home-theater and nightlies of plex-home-theater-gitAUR.