![]() Once confirmed that the SSD partition auto mounts after reboot it is time to compile the docker-compose file to deploy plex inside a docker container. Run the following command once the reboot completes: mount | grep sda2 Install Plex Media Server with Docker Once completed and saved the next step is to reboot the plex pi(Raspberry PI4 Plex Media Server) to see if it automounts the SSD at startup. Once you get the UUID output you have to copy the device UUID and add it to the fstab config file: sudo nano /etc/fstabĪdd the following line of code to the fstab config file and save it: UUID= /media/plex ntfs-3g auto,users,uid=1001,gid=1001 0 0 Let's run the following command to get the UUID: ls -l /dev/disk/by-uuid In the next step, we are going to look for the UUID of the device as it never changes whereas your partition id can always change as you unmount or mount new USB devices. ![]() If you ever want to unmount the SSD you can use the unmount command but for this specific use case, we want to permanently mount the SSD on startup. The output should be similar: /dev/sda2 on /media/plex type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) The next step is to check if the SSD partition is mounted correctly: mount | grep sda2 Mount the SSD partition to the plex directory: mount /dev/sda2 /media/plex Once you can see and confirm that the SSD is connected, you have to create a directory and mount the SSD to it with the following commands: Sector size (logical/physical): 512 bytes / 512 bytes The output should be similar to the output below: Device Boot Start End Sectors Size Id Type Once the SSD is plugged in you should check if the Operating System is detecting it: sudo fdisk -l My SSD is connected via USB mount, I am using a type of rackmount kit for the raspberry pi, you can check it out on Amazon if you want to get one for yourself. ![]() Next, we are going to look for our connected SSD. Setup Docker and Docker-Composeįollow these steps to install docker and docker-compose on either a Raspberry PI4 or Intel System. If you have a collection of tv shows and movies and you are looking to stream them over your local network then you can utilize Plex. Plex is a free and Opensource Media Streaming Server that you can host in your home or local network to stream your media to your smart tv or through your browser. I am attaching an SSD to the Raspberry PI4 and mounting it to use it as storage for my media files. ![]() In this tutorial, we are going to look at how to install Plex Media Server inside a Docker container on a Raspberry PI4(Or an Intel-Based 64-bit System) running Ubuntu Linux. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |