Plex is a feature-rich media library platform that allows you to organize and stream your digital video and audio from virtually anywhere. This guide will show you how to set up the Plex Media Server on your Ubuntu 16.04 LTS.
And how to connect to your media server from a Plex client application.
To start, I will assume you understand how to use command line and have a bit of background knowledge of Ubuntu or Debian based operating systems. This install isn’t terribly difficult, but you should know how to install and update applications through terminal.
Get the latest .deb package using
mkdir plextmp cd plextmp wget https://downloads.plex.tv/plex-media-server/18.104.22.16835-313f93718/plexmediaserver_22.214.171.12435-313f93718_amd64.deb sudo dpkg -i plexmediaserver*.deb
This package link is outdated. Please make sure that you get the latest package from Plex website.
sudo systemctl enable plexmediaserver.service sudo systemctl start plexmediaserver.service
Plex runs on the port 32400.
Open the port using the following command (if you are using iptables):
sudo iptables -I INPUT -p tcp --dport 32400 -j ACCEPT
Open the following link in your browser:
You need a PleX account to continue. So go ahead and Sign Up.
Give your server any name you like.
Add folders where your media files are stored on your server.
Select next and you are done.
Once the Wizard finishes, the Server will begin scanning your media and creating the Plex Library It can take a little while to completely scan a new Library, depending on how many shows you have. You should also expect some Internet usage while metadata is fetched. You can watch media on a Plex Web App while the Library is building but it’s generally better to let the process complete before using the Server.
For more information you can follow the official PleX documents.
There is an official standalone client for Windows. So you don’t need to login using browser every time.
Available on [Plex’s official site].
[Plex’s official site]: https://www.plex.tv/downloads/