- #INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 INSTALL#
- #INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 UPDATE#
- #INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 FREE#
curl | sudo apt-key add -Įcho 'deb public main' | sudo tee /etc/apt//plexmediaserver.list The package manager (apt) will read the Plex repo location from this file. Next we add a file to the /etc/apt// directory. The first curl command downloads the PGP signing key from Plex. Now we can add the Plex Media Server repo to the list of repos that apt uses. This package will allow us to connect to the Plex apt repo using an HTTPS endpoint.
#INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 INSTALL#
The second command will install the apt-transport-https package.
#INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 UPDATE#
This first command will update the list of packages available to your Raspberry Pi. Installing Plex Media Server On Raspberry Pi 4 Update Raspbian You should now be able to browse /mnt/Media on your Raspberry Pi and see your media library.Īwesome! Let’s move on and get Plex installed. Tmpfs 391M 0 391M 0% $ sudo mount $ df -h $ df -hįilesystem Size Used Avail Use% Mounted on Here is an example of the filesystems connected to my Raspberry Pi before and after I mounted the Samba Share. We can tell it to mount everything in /etc/fstab manually by running the following command. Now that we’ve added that line, the operating system will attempt to mount your Samba share whenever it boots. # a swapfile is not a swap partition, no line here PARTUUID=8e7de79a-02 / ext4 defaults,noatime 0 1 PARTUUID=8e7de79a-01 /boot vfat defaults 0 2 Here is an example of how my /etc/fstab file looks now. / /mnt/Media/ cifs credentials=/home/pi/.smbcredentials 0 0 Also replace with whatever the directory name is that you are sharing from the NAS. Be sure to replace with whatever your NAS IP is. sudo vim /etc/fstabĪppend the file with the following line of text. Open the file by running the following command. Let’s open the /etc/fstab file and add a line. With our credentials in place, we now need to tell the operating system to mount the Samba share and to mount it again every time we restart the Raspberry Pi. Replace with the user that has access to your NAS share. vim /home/pi/.smbcredentialsĪdd the following lines to the file. smbcredentials in the /home/pi/ directory. Run the following command to open a file named. We will need to authenticate with the Samba server before it allows us to connect.įirst we need to create a file to store our NAS user credentials. A NAS isn’t as much fun as a Raspberry Pi though. This is because the QNAP has an Intel X86 based processor. To be honest, Plex Media Server would probably perform better running on my NAS than the Raspberry Pi 4. Now that our directory has been made, we need to mount the NAS share. Run the following command to make a new directory. The first thing we need to do is create a directory to mount the NAS share to. Mount Shared Drive From NAS To Your Raspberry Pi I made this tutorial using the latest version of Rasbian Buster Lite which was released on. I will also assume you are running these commands as the pi user rather than root. You can use whichever brand NAS you’d like for this tutorial as long as it functions as a Samba server and you’ve set up a share.Īs with all of my Raspberry Pi tutorials, I am assuming that you’ve already installed the most recent version of Raspbian onto your SD card and are able to SSH into your Pi. I am using a QNAP TS-251+ 2-Bay to store my media. USB Type C 5V 3A Power Supply With On/Off Switch If you are purchasing the CanaKit from above, it comes with a power supply and you do not need this. So make sure you have the right power supply. All Raspberry Pis before the Raspberry Pi 4 have used Micro USB. The power supply I’ve linked puts out 3A, which is the max that the Raspberry Pi 4 can accept. The Raspberry Pi 4 I am using for my Plex Server is powered by a Raspberry Pi PoE HAT but that isn’t a requirement. Samsung 64GB MicroSD EVO Select MicroSD Card with Adapter I personally use Samsung MicroSDHC EVO Select cards in all of my Raspberry Pis. Raspberry Pi 4 2GB CanaKit With Power Supply
#INSTALL PLEX MEDIA SERVER RASPBERRY PI 4 FREE#
It’s not a bad deal if shipping is free for you. I personally haven’t seen my Raspberry Pi 4 break 1.5GB running only Plex. I use the 4GB model but Plex Media Server Requirements say that that 2GB is sufficient. This tutorial/article covers the Raspberry Pi 4 specifically. Here it goes! Parts Used For Project Part I know people are wondering if the new Pi is capable enough to transcode while running Plex. The reason I made this tutorial is because I am currently transitioning all my VMs on 2 Dell R710s in my “humble homelab” to a fleet of 10 Raspberry Pi 4 Model B (4GB). How To Setup Plex Media Server On Raspberry Pi 4 This never affects the price that you pay but helps with costs to keep the site up and running. This post contains affiliate links, which means I earn money from purchases.