Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ** = Important
- **Always put media in MP4 and subtitles in SRT because it is well understood everywhere
- **Avoid AV1 Codec (not very well understood by many devices, will cause strain)
- Set Static IP Address (with Network Tools)
- ip route | grep default
- default via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.149 metric 100
- In this case 192.168.1.1 is our routers IP Address and 192.168.1.149 is our IP Address.
- sudo nano /etc/resolv.conf
- # Generated by NetworkManager
- search lan
- nameserver 192.168.1.1 #This is our routers IP Address
- nameserver 2603:6081:ba00:7c::1
- Ctrl+X To exit
- nmtui then press, "Edit a connection," then press desired network connection.
- Use arrow keys to navigate to IPv4 Configuration then select Manual, navigate to <Show> and press Enter.
- Navigate to Addresses and put in your desired vacant IP Address.
- Navigate to Gateway and put the IP Address of your router.
- Select DNS servers and put in your desired DNS server's IP or your router's IP.
- Navigate down to <OK> and press Enter.
- Select <Back> then select Quit.
- sudo systemctl restart NetworkManager
- To check type hostname -I
- It should be the one you have set in the network manager tool.
- Install Plex
- 1. Install Dependencies
- sudo apt update
- sudo apt upgrade
- sudo apt install apt-transport-https
- 2. Add Plex GPG keys
- curl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex-archive-keyring.gpg >/dev/null
- 3. Add Plex Repository to our sources list
- 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. Update our repos
- sudo apt update
- If you get the error "/usr/lib/apt/methods/https" could not be found. Then the https transport package hasn’t been installed. Double check that it has been installed correctly.
- 5. Install Plex Media Server
- sudo apt install plexmediaserver
- All of the above content was made by Pi My Life Up and I have put them together in a simple guide for all.
- I have spent a bunch of time on this guide and I plan on using this myself to host a Plex Media Server on my own Raspberry Pi 4.
- Please do not repost this because neither I or Pi My Life Up would really appreciate that.
- Thank you,
- KpasteG13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement