Plex

From The World according to Vissie
Jump to navigation Jump to search

Server Setup tips

Install Manual

Download your packages

https://www.plex.tv/media-server-downloads/
wget https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb
sudo dpkg -i plexmediaserver_*amd64.deb

Install Automatically

sudo apt-get install apt-transport-https curl
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install plexmediaserver

Configure

sudo systemctl enable plexmediaserver.service
sudo systemctl start plexmediaserver.service

On the same server, goto:

http://127.0.0.1:32400/web


If you need to access the setup page vie a different WAN

ssh user@192.0.2.1 -L 8888:localhost:32400

Firewall

ufw allow 32400

Permissions

chmod g+s /path/to/parent

Now, all new files and folder created under /path/to/parent will have the same group assigned as is set on /path/to/parent.

usermod -a -G examplegroup exampleusername

Plex media server [Headless]

https://www.techandme.se/install-rutorrent-plex-on-a-headless-ubuntu-server-16-04-part-2/
https://support.plex.tv/articles/200288586-installation/?_ga=2.40658721.220354266.1536643548-460585671.1530683243

Plex Media Player [PMP]

https://github.com/plexinc/plex-media-player#building-on-linux

I tried this on a Raspberry Pi 3b+

Install qt

sudo apt-get install qt5-default (I installed qt 5.11.3)

Install dependencies

sudo apt install autoconf automake libtool libharfbuzz-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrandr-dev 
libvdpau-dev libva-dev mesa-common-dev libegl1-mesa-dev yasm libasound2-dev libpulse-dev libuchardet-dev zlib1g-dev 
libfribidi-dev git libgnutls28-dev libgl1-mesa-dev libsdl2-dev cmake

Install mpv

git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
./use-mpv-release && ./use-ffmpeg-release
./update
./rebuild -j4
sudo ./install
sudo ldconfig

Building plex-media-player

** Failed!!! And I gave up! **

Tautulli

For me, copy over my current folder....

Then create the systemd.service file

https://github.com/Tautulli/Tautulli/blob/master/init-scripts/init.systemd