Created
August 8, 2021 17:43
-
-
Save afahitech/39c6a4f0e961dd0abf040e16d601f77b to your computer and use it in GitHub Desktop.
How to install Plex on Ubuntu 20.04 LTS
This file contains hidden or 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
| #!/bin/sh | |
| sudo apt update | |
| 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 - | |
| echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list | |
| sudo apt update | |
| sudo apt install plexmediaserver | |
| sudo systemctl status plexmediaserver | |
| sudo nano /etc/ufw/applications.d/plexmediaserver | |
| sudo ufw app update plexmediaserver | |
| sudo ufw allow plexmediaserver-all | |
| sudo ufw enable | |
| sudo ufw status verbose | |
| sudo mkdir -p /opt/plexmedia/{movies,series} | |
| sudo chown -R plex: /opt/plexmedia | |
| sudo ufw status verbose | |
| sudo ufw app update plexmediaserver | |
| sudo apt-get --only-upgrade install plexmediaserver | |
| sudo apt-get --only-upgrade install plexmediaserver | |
| sudo systemctl status plexmediaserver | |
| http://localhost:32400/web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment