The Raspberry Pi 3B is just a bit too weak to provide quick transcoding of HD files. But it has been working great for photos, podcasts, and music. I have long wanted to get the Atomic Pi back in the mix. For too long now, it has been sitting on a table, taking up space and collecting dust. Sounds like I have a job for it.
I installed Ubuntu Server on it from a USB stick. I’d rather go with Debian, but most of the tutorials center on Ubuntu. As it is, I installed Plex via a Snap, which is a first for me. It was kind of painless.
With Plex installed, I saw Pi2 listed in the web GUI, which is also kind of cool, as I don’t recall having multiple Plex servers running in the past. But, the main focus was to get the NFS shares mounted. To do this, I used the Linux ‘history’ command. I do not log into Pi2 all that often, so all of my previous steps were still there. I copied these out, pasted them in a text doc, reordered them, and updated them for the Atomic Pi (which does not have now has a Pi user).
sudo mkdir -p /mnt/Music
sudo mkdir -p /mnt/TV_Shows
sudo mkdir -p /mnt/Videos
sudo mkdir -p /mnt/Photos
sudo mkdir -p /mnt/Home_Movies
!
sudo chown -R pi:pi /mnt/Music
sudo chown -R pi:pi /mnt/TV_Shows
sudo chown -R pi:pi /mnt/Videos
sudo chown -R pi:pi /mnt/Photos
sudo chown -R pi:pi /mnt/Home_Movies
!
! Needed after adding Synology NAS and not getting the
! mounts to populate under Ubuntu 20.04 for use in Plex
sudo chmod -R 755 /mnt/Music
sudo chmod -R 755 /mnt/TV_Shows
sudo chmod -R 755 /mnt/Videos
sudo chmod -R 755 /mnt/Photos
sudo chmod -R 755 /mnt/Home_Movies
!
sudo nano /etc/fstab
!
! Add:
# NFS
10.25.68.51:/mnt/usbdrive/onedrive/Music/ /mnt/Music nfs rw 0 0
10.25.68.51:/mnt/usbdrive/onedrive/TV_Shows/ /mnt/TV_Shows nfs rw 0 0
10.25.68.51:/mnt/usbdrive/onedrive/Videos/ /mnt/Videos nfs rw 0 0
10.25.68.51:/mnt/usbdrive/onedrive/Photos/ /mnt/Photos nfs rw 0 0
10.25.68.51:/mnt/usbdrive/onedrive/Home_Movies/ /mnt/Home_Movies nfs rw 0 0
!
! Install NFS client
sudo apt-get install nfs-common -y
!
! Mount up!
sudo mount -a
This got it done in short order.
Pingback: Running Plex on an Atomic Pi: a follow-up | Matt's Blarg