forked from HawksRepos/PTS-Team
-
Notifications
You must be signed in to change notification settings - Fork 55
Plex Guide
PhysK edited this page Jan 22, 2020
·
2 revisions
If you can ACCESS the PLEX SERVER directly such as through a direct interface or on a virutal machine; skip the tunneling and claiming instructions
Claiming Your Plex Server
-
Method 1: Using the Program - Everything works in the script -- Skip Down to Plex Setup Optimization & Setup - Below
-
Method 2: Through Portainer - Fast & Works Well
-
Method 3: Tunneling In (Information Below)
- Windows Machine & Putty
- MAC Users can use the built in Terminal or another tool called SecurePipes
Follow either the Windows or Linux Tunnel Info
- Load putty
- Type in your remote-ipaddress and port 22 and select SSH
- On the left side of the menu expand CONNECTION > SSH > Tunnels
- Source Port: 6969
- Destination: remote-ipaddress:32400
- [Click] Add
- [Click] Open
- Login and keep the terminal putty open
- Source: https://www.howtogeek.com/168145/how-to-use-ssh-tunneling
- Open command line terminal
- Use 'ssh -L local_port:local_address:remote_port [email protected]' to access remote server
- ssh -L 6969:xxx.xxx.xxx.xxx:32400 bob@ipv4address or [email protected]
Open up a browser (recommend Chrome) and type:
http://localhost:6969/web
If do not type exactly what above, you will get a whole bunch of XML garbage and nothing will happen!
- You will now be able to setup PLEX
- Double check by opening a new window or tab and type http://ipv4address:32400/web
- [Click] Add Library
- [Click] TV Shows
- [Type] Add Folders to Your Library: /plexdrive4/tv (either /unionfs/tv or /encrypt/tv for encrypted version)
- Note: You will never be able to select it if you have a large library; type it and hit ok
- [Click] Ok
- [Click] Add Library
- [Click] Films
- [Type] Add Folders to Your Library: /plexdrive4/movies (either /unionfs/movies or /encrypt/movies for encrypted version)
- Note: You will never be able to select it if you have a large library; type it and hit ok
- [Click] Ok
- Configure what you need, there is one important area.
- [Click] Server > Show Advanced > Library
- [Turn On] Update my library automatically
- [Keep-Off] Run a partical scan...
- [Keep-Off] Include music libraries...
- [Keep-On/Off] Update my library periodically (your choice..off if you have update automatically)
- [Select] Library update interval: Every 1 hour (for huge libraries, every 2 is better)
- [Keep-On] Empty trash automatically after every scan
- [Click] Server > Show Advanced > Scheduled Tasks
- [Turn/Keep On] Backup server every 3 days
- [Turn/Keep On] Optimize database every week
- [Turn/Keep On] Remove old bundles every week
- [Turn/Keep On] Remove old cache files every week
- [Turn/Keep On] Refresh metadata periodically
- all the rest keep unchecked.
- Now speaking of Bundles, lets get the Web Tools
- SSH in to your server
- type
wget -P /tmp https://github.com/ukdtom/WebTools.bundle/releases/download/3.0.0/WebTools.bundle.zip
-
sudo find / -mount -type d -name Plug-ins
..Finds the location of your Plugins folder sudo unzip /tmp/WebTools.bundle.zip -d "$(sudo find / -mount -type d -name Plug-ins)"
sudo chown -Rv 1000:1000 "$(sudo find / -mount -type d -name Plug-ins)"
Go to your server IP address with:33400 at the end and install some extra stuff..Open Movie Database and Trakt.tv are my 2 I usually get.
Wiki - Wiki
- Recommended Pre-Reading
- Server - Storage Planning
- Usenet or BitTorrent
- PTS Editions
- PTS Folder Structure
- PTS-Repos
- Common Issues
Data Transport
- Traefik
- Port Guard
- PTS Shield
- PTS Press
- Google Cloud - GCE
- Hetzner Cloud
- PTS Fork
- Extra PTS Commands
- PTS Vault - Data Storage
- PTSPatrol
- Plex AutoScan in Docker Container
- Plex_Dupefiner
- Traktarr
- System & Network Auditor
- PreInstaller & UnInstaller
Core Apps [Expand]
Community Apps [Expand]
- AirSonic
- Bazarr
- Bitwarden
- BookSonic
- cAdvisor
- Cloud Commander
- Deluge
- DelugeVPN
- Dozzle
- Duplicati
- Filebrowser
- FlexGet
- Gazee
- Headphones
- Heimdall
- HomeAssistant
- jd2-openvpn
- Kitana
- Logarr
- MakeMKV
- MariaDB
- McMyadmin
- MEDUSA
- Mellow
- Miniflux
- Monitorr
- Muximux
- Mylar
- NextCloud
- NowShowing
- NZBHydra2
- Organizr
- plpp
- pyLoad
- qBittorrent
- QBittorrent VPN
- radarrsyncarr
- Resilio
- rflood-openvpn
- rutorrent-openvpn
- Shoko Anime Server
- SpeedTest
- SyncLounge
- Teamspeak3
- The Lounge
- Transmission
- Trakt.or
- Ubooquity
- Varken
- vnc-xfce
- vnstat
- ZeroTier