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.
Plex Installation
Get the latest .deb package using `wget`:
mkdir plextmpcd plextmpwget https://downloads.plex.tv/plex-media-server/1.7.5.4035-313f93718/plexmediaserver_1.7.5.4035-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
Open Ports
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:
http://ip-address:32400/web
or
https://ip-address:32400/web
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.