Ubuntu OS Installation
Install Ubuntu Server 18.04 with only OpenSSH packagesDependencies
sudo su -Samba Configuration
apt-get update; apt-get upgrade -y
apt-get install curl samba cifs-utils
mkdir /plex
chmod 777 /plex
vi /etc/samba/smb.conf
workgroup = ssis.edu.vn security = user winds support = yes
dns proxy = no
name resolve order = lmhost host winds bcast
... add to end of file ...
[PLEX Media]
comment = PLEX Media
path = /plex
browseable = yes
read only = no
guest ok = yes
Plex Media Server Installation
Download from https://www.plex.tv/downloads/ anddpkg -i plexmediaserver_<version>.deb
systemctl enable plexmediaserver
systemctl start plexmediaserver
Start/Stop/Status Services
service plexmediaserver start
service plexmediaserver stop
service plexmediaserver status
Access Plex
On one terminalssh user@srvr-uplex.ssis.edu.vn -L 8888:localhost:32400
Then use web browser: http://localhost:8888/web
Network Settings
We disabled https for performance and there is no need for a secure connection since we only allow our internal network to access Plex.Settings > Server > Network
Reference: https://support.plex.tv/articles/200430283-network/
Secure connections
Choose how your Plex Media Server handles secure connections.Disabled – Don’t allow Plex apps to connect securely and instead force all communication over regular HTTP.
Advanced Settings
Custom server access URLsA comma-separated list of URLs (either HTTP or HTTPS), which will be published to plex.tv for server discovery. This can be very useful in a few cases: if you’re using a VPN to get back home, if you’re using a reverse proxy in front of the media server, or if your networking configuration is otherwise unique. For instance, if you have your own custom domain with subdomain, you might add:
http://plex.ssis.edu.vn:32400
List of IP addresses and networks that are allowed without auth
The list of IP addresses or networks that can connect to Plex Media Server without authorization. Enter a comma-separated (no spaces or tabs!) list of IP addresses or specify a range using IP/netmask entries. This can be useful if you have an old, legacy, unsupported app (such as LG’s MediaLink or SmartShare apps) that you wish to use.
172.20.0.0/16,172.16.0.0/16,172.17.0.0/16,172.18.0.0/16