From 2b4474221bfbf9067ffb209dca353bb063668514 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sun, 3 May 2020 00:31:03 +0000 Subject: [PATCH] 'docs/rffmpeg/Slave-Install.md' toevoegen --- docs/rffmpeg/Slave-Install.md | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/rffmpeg/Slave-Install.md diff --git a/docs/rffmpeg/Slave-Install.md b/docs/rffmpeg/Slave-Install.md new file mode 100644 index 0000000..6dc4535 --- /dev/null +++ b/docs/rffmpeg/Slave-Install.md @@ -0,0 +1,40 @@ +## Prerequisites: +* You set up the master following Master-Install.md and have the information reddy +* A Clean install of ubuntu linux +* The media folder accessible on the same location as the jellyfin server + +## Step 1: Setting up the user +``` +mkdir -p /var/lib/jellyfin/ +chmod 777 /var/lib/jellyfin/ +echo "" /etc/passwd +echo "" /etc/group +``` +Reboot the system just to make sure changes are piked up + +``` +echo 'ssh-rsa ' | sudo -u jellyfin tee /var/lib/jellyfin/.ssh/authorized_keys +``` + +## Step 2: setting up the Transcode temp folder +if you are not using NFS make sure the folder is mounted to "/var/lib/jellyfin/transcoding-temp" and skip the rest of step 2 + +### Setting up NFS Client +``` +apt install nfs-common -y +mkdir -p /var/lib/jellyfin/transcoding-temp +chmod 777 /var/lib/jellyfin/transcoding-temp +echo ':/var/lib/jellyfin/transcoding-temp /var/lib/jellyfin/transcoding-temp nfs defaults,vers=3,sync 0 0' >> /etc/fstab +sudo mount -a +``` + +## Step 3: Install the jellyfin version of ffmpeg +``` +apt install apt-transport-https -y +add-apt-repository universe -y +wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add - +echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" >> /etc/apt/sources.list.d/jellyfin.list +apt update +apt install jellyfin-ffmpeg -y +``` +## Done \ No newline at end of file