Install Plex:
https://techybilli.com/how-to-install-plex-media-server-on-ubuntu-20-04-lts-server-or-desktop/
Download Plex Media Server
wget
https://downloads.plex.tv/plex-medi...exmediaserver_1.22.2.4282-a97b03fad_amd64.deb
Install package for hardware transcoding of HDR content:
sudo apt-get update -y
sudo apt-get install -y beignet-opencl-icd
sudo apt install ocl-icd-libopencl1 beignet-opencl-icd
Install Plex Media
sudo dpkg -i plexmediaserver_1.22.2.4282-a97b03fad_amd64.deb
Enable Plex Media Server Service:
sudo systemctl enable plexmediaserver.service
Start Plex Media Server Service:
sudo systemctl start plexmediaserver.service
Commands to Manually Start and Stop Plex via SSH on Ubuntu and Debian
sudo service plexmediaserver start
sudo service plexmediaserver stop
sudo service plexmediaserver restart
Check Status Plex Media Server Service:
sudo systemctl status plexmediaserver.service
q (zum beenden)
Following installation, remove the installer file with this command.
rm plexmediaserver_1.22.2.4282-a97b03fad_amd64.deb
To enable the Plex Media Server repository:
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 -
Update:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get update && apt-get upgrade -y
Mounting Dir erstellen:
sudo mkdir -p /media/unraid
sudo mkdir -p /media/unraid2
-------------------------------------------------------------------------------------------------------------------------
Install Addons:
sudo apt-get install cifs-utils
sudo apt-get install intel-gpu-tools
sudo apt install hddtemp lm-sensors
sudo sensors-detect
sudo apt install powertop
sudo apt-get install speedometer
sudo apt install glances
sudo snap install bashtop
-------------------------------------------------------------------------------------------------------------------------
SMB Mount Test:
sudo mount -t cifs -o username=Niklas //192.168.1.31/Plex_Media /media/unraid
sudo mount -t cifs -o username=Niklas //192.168.1.31/Plex_Media2 /media/unraid2
sudo mount -a
sudo mount -t cifs -o username=Niklas,uid=1000,gid=1000 //192.168.1.31/Plex_Media /media/unraid
sudo mount -t cifs -o username=Niklas,uid=1000,gid=1000 //192.168.1.31/Plex_Media2 /media/unraid2
-------------------------------------------------------------------------------------------------------------------------
sudo -i
su -l master
This command will immediately shut down the system:
sudo shutdown -h now
Reboot:
sudo shutdown -r now
CPU load:
htop
Graphical CPU load:
bashtop
GPU load:
sudo intel_gpu_top
CPU temp (1sec refresh):
watch -n 1 -d sensors
Verbrauch:
powertop
LAN Traffic:
speedometer -l -r eno1 -t eno1 -m $(( 1024 * 1024 * 3 / 2 ))
Hardware Übersicht Stats:
glances
glances -t 1 --enable-plugin sensors
etc/fstab mounted das SMB (nano fstab mit sudo -i):
*//192.168.1.31/Plex_Media /media/unraid cifs vers=1.0,user=Niklas,pass=xxx,iocharset=utf8,sec=ntlm 0 0
*//192.168.1.31/Plex_Media2 /media/unraid2 cifs vers=1.0,user=Niklas,pass=xxx,iocharset=utf8,sec=ntlm 0 0
*//192.168.1.33/chia /media/tower cifs vers=1.0,user=Niklas,pass=xxx,iocharset=utf8,sec=ntlm 0 0
->
//192.168.1.31/Plex_Media /media/unraid cifs vers=1.0,user=Niklas,pass=xxx,uid=1000,gid=1000,iocharset=utf8,sec=ntlm 0 0
//192.168.1.31/Plex_Media2 /media/unraid2 cifs vers=1.0,user=Niklas,pass=xxx,uid=1000,gid=1000,iocharset=utf8,sec=ntlm 0 0
//192.168.1.33/chia /media/tower cifs vers=1.0,user=Niklas,pass=xxx,uid=1000,gid=1000,iocharset=utf8,sec=ntlm 0 0
Bootverzögerungen:
https://www.thomas-krenn.com/de/wiki/A_start_job_is_running_for_Wait_for_Network_to_be_Configured