'docs/rffmpeg/Slave-Install.md' toevoegen
This commit is contained in:
40
docs/rffmpeg/Slave-Install.md
Normal file
40
docs/rffmpeg/Slave-Install.md
Normal file
@@ -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 "<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
|
||||||
Reference in New Issue
Block a user