Archived
1
0
This repository has been archived on 2023-11-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
linux/docs/rffmpeg/Slave-Install.md

1.4 KiB

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 "<JelUser>" /etc/passwd
echo "<JelGroup>" /etc/group 

Reboot the system just to make sure changes are piked up

echo 'ssh-rsa <MasterPubKey>' | 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 '<MasterIP>:/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