Plex Media Server on BrainyPi
by aaditya04gupta in Circuits > Raspberry Pi
325 Views, 2 Favorites, 0 Comments
Plex Media Server on BrainyPi
In this blog, we are going to install the plex server on Brainy Pi.
You can simply use the plex server to access photos, library, videos, or any media.
Plex provides a way to easily access your entire digital library from any compatible computer, smartphone, or streaming device without the need to transfer files manually.
Plex is a client-server setup where the client directly streams data from the Plex media server. This setup means you can have all your movies, music, and photos located on one device, the server. In this case, we will be using BrainyPi.
You can set up your own plex server with only a few steps
Supplies
Brainy Pi
Ethernet/Wi-Fi
System Update
To install any new software, it's very important to update and upgrade the device
To update use the command
sudo apt update
To upgrade use the command
sudo apt upgrade
Preparing Brainy Pi for Plex Sever
1. Before Installing the Plex packages to the Brainy Pi we have to add the official Plex package repository.
sudo apt-get install apt-transport-https
2. Now let's add the Plex repositories to the “apt” keyrings' directory. This key is used to ensure the files you are downloading are from that repository and signed by that key. You can do that by the command.
curl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex-archive-keyring.gpg >/dev/null
3. As we have added the Plex GPG key, Now we can finally add the official plex repository to the sources list by running the command
echo deb [signed-by=/usr/share/keyrings/plex-archive-keyring.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
4. As we have just added a new repository to our sources, we will need to run the “update” command again to refresh the package list.
sudo apt-get update
5. Now finally we can install the plex server by using the command
sudo apt install plexmediaserver
Web Interface
1. To access the web interface you have to get IP address of your Brainy Pi. To get the IP address you can use the command
hostname -I
If you get multiple IP addresses no need to worry that is because you have not set a static IP address. You can use any one of the IP addresses.
2. Now go to your favorite browser and search for
IPADDRESS:32400/web/
3. You can add the files and libraries by going to option {Add library}
4. Once you add the library, it will now organize your clips in a nice easy to browse interface.
5. You can explore the web interface on your own now and you will get to know more features of the plex server
Plex server provides a good solution to access all your media libraries from multiple devices free of cost as it is open source.