Plex Setup
-- install ubuntu server bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/plex.sh)"
-- Mount the Files Shares - make the directories sudo mkdir /media/Movies sudo mkdir /media/TV_Shows
-
install the samba file share app apt-get install cifs-utils -y
-
add username and password to password file nano /home/.smbcredentials
username=mike password=XXXXX
-
change the permissions so they cannot be edited chmod 600 /home/.smbcredentials
-
mount the directories at boot
-
open the fstab file nano /etc/fstab
-
add lines to the bottom //10.0.1.5/Movies /media/Movies cifs credentials=/home/.smbcredentials,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,nodfs //10.0.1.5/TV_Shows /media/TV_Shows cifs credentials=/home/.smbcredentials,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,nodfs
-
test mounting the drives mount -a
-
if no errors come up view the directory dir /media/TV_Shows
-
reboot and make sure folders automount reboot dir /media/TV_Shows
-- Login and Set up Plex - log into the webgui http://10.0.1.3:32400/web
-- Optional - Tautulli - https://tautulli.com/ sudo snap install tautulli
- set up Tautulli http://10.0.1.3:8181/welcome