Last active
February 9, 2020 16:56
-
-
Save NuroDev/f9354dd91190b58daae7b05cf3ea56ce to your computer and use it in GitHub Desktop.
Script to download and install Plex Media Server for Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install apt-transport-https -y && wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | sudo apt-key add - && echo "deb https://dev2day.de/pms/ jessie main" | sudo tee /etc/apt/sources.list.d/pms.list && sudo apt-get update && sudo apt-get install -t jessie plexmediaserver && sudo rm -rf /etc/default/plexmediaserver && echo | |
# default script for Plex Media Server | |
# the number of plugins that can run at the same time | |
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 | |
# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE | |
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000 | |
# where the mediaserver should store the transcodes | |
PLEX_MEDIA_SERVER_TMPDIR=/tmp | |
# uncomment to set it to something else | |
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support" | |
# the user that PMS should run as, defaults to 'plex' | |
# note that if you change this you might need to move | |
# the Application Support directory to not lose your | |
# media library | |
PLEX_MEDIA_SERVER_USER=pi | sudo tee -a /etc/default/plexmediaserver && sudo service plexmediaserver restart |
Hello great script can you update it for raspbian stretch or raspbian buster,the current version is for raspbian jessie
thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WARNING:
After running the script you need to set a static IP address. This can be done by getting your current IP address using:
Then type:
And at the end of the file, add
ip=YOUR_IP_HERE
followed by the your current IP address.Once finished, reboot your Pi using: