servers:plex
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:plex [2017/04/26 20:17] – Sean Rhone | servers:plex [2022/05/24 16:45] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== openSUSE TODO ====== | ||
+ | * Install RPM | ||
+ | * Enable Plex repo and set 98 priority TODO WITH A COMMAND https:// | ||
+ | |||
+ | sudo firewall-cmd --add-service=' | ||
+ | |||
+ | sudo usermod --append --groups ' | ||
+ | |||
+ | sudo chown --recursive ' | ||
+ | |||
+ | ====== Information ====== | ||
+ | |||
+ | * Plex ((https:// | ||
+ | * Media Server ((https:// | ||
+ | |||
+ | ===== Prerequisites ===== | ||
+ | |||
+ | * [[distros: | ||
+ | |||
+ | ====== Dependencies ====== | ||
+ | |||
+ | ===== New ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | sudo apt install ' | ||
+ | |||
+ | ===== Old ===== | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | sudo dpkg --install '/ | ||
+ | |||
+ | ====== Firewall ====== | ||
+ | |||
+ | * 21/tcp is FTP | ||
+ | |||
+ | / | ||
+ | |||
+ | sudo firewall-cmd --permanent --add-service=' | ||
+ | |||
+ | ====== Service ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo systemctl enable ' | ||
+ | |||
+ | ====== Settings ====== | ||
+ | |||
+ | * http:// | ||
+ | |||
+ | ===== General ===== | ||
+ | |||
+ | * :!: Change '' | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | # Custom | ||
+ | local_root=/ | ||
+ | |||
+ | ===== Encryption Support ===== | ||
+ | |||
+ | ==== Generate Certs ==== | ||
+ | |||
+ | * Country: US | ||
+ | * State: PA | ||
+ | * Locality: Charleroi | ||
+ | * Org Name: Realm of Espionage | ||
+ | * Org Unit: NAS | ||
+ | * YOUR Name: x | ||
+ | * Email: x | ||
+ | |||
+ | sudo openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout '/ | ||
+ | |||
+ | ==== Enable Encryption ==== | ||
+ | |||
+ | * :!: '' | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | ssl_enable=YES | ||
+ | allow_anon_ssl=NO | ||
+ | force_local_data_ssl=YES | ||
+ | force_local_logins_ssl=YES | ||
+ | require_ssl_reuse=YES | ||
+ | | ||
+ | ssl_ciphers=AES128-SHA | ||
+ | ssl_tlsv1=YES | ||
+ | ssl_sslv2=NO | ||
+ | ssl_sslv3=NO | ||
+ | | ||
+ | rsa_cert_file=/ | ||
+ | rsa_private_key_file=/ | ||
+ | |||
+ | ====== fstab ====== | ||
+ | |||
+ | ===== PARTUUID ===== | ||
+ | |||
+ | * Expects the NAS drive to be GPT | ||
+ | |||
+ | sudo blkid | ||
+ | |||
+ | ===== fstab ===== | ||
+ | |||
+ | * :!: Change the '' | ||
+ | * :!: This expects 1 drive each with a XFS partition | ||
+ | |||
+ | sudo mkdir -p '/ | ||
+ | |||
+ | < | ||
+ | # NAS | ||
+ | PARTUUID=x / | ||
+ | |||
+ | sudo mount --all | ||
+ | |||
+ | ====== Permissions ====== | ||
+ | |||
+ | ===== Files ===== | ||
+ | |||
+ | * :!: Verify the group name with the '' | ||
+ | |||
+ | sudo chown -R ' | ||
+ | |||
+ | ===== SELinux ===== | ||
+ | |||
+ | sudo semanage fcontext --deleteall "/ | ||
+ | |||
+ | sudo semanage fcontext --add --type ' | ||
+ | |||
+ | sudo restorecon -R -v '/ |