Installing Plex on Ubuntu 16.04
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 `wget`:
mkdir plextmpcd plextmpwget https://downloads.plex.tv/plex-media-server/18.104.22.16835-313f93718/plexmediaserver_22.214.171.12435-313f93718_amd64.debsudo dpkg -i plexmediaserver*.deb
This package link is outdated. Please make sure that you get the latest package from Plex website.
Start the Plex 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
Setting up PleX
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.