

You are comfortable enough using Terminal to perform this operation.Plex Media Server is installed and running on Ubuntu.You have a NAS or Server already sharing a network drive that requires a username and password to access, and it’s available on the local network at a static IP.Sudo apt install plexmediaserver -y Create the file below with all contents, replacing $USER with the name of the user you want to run Plex as # /etc/systemd/system/plexmediaserver.Setting up Plex on Ubuntu and want it to be able to use files from a local Server or NAS? A beginner’s guide to getting a network drive loading in a place that Plex (running on Ubuntu 16.04) can access it.įinally putting this guide up here since I’ve constantly have forgotten how to do this, and there hasn’t been a single place with all of this info together. public main | sudo tee /etc/apt//plexmediaserver.list Your plex server will need to think that all of your media data is local. # /etc/network/interfacesĭns-nameservers $PRIMARY_DNS $SECONDARY_DNS If you forget to do this the SERVER may be inaccessible. NOTE: If you change the CIDR block on your network you will need to update the static IP address of the SERVER here or switch the static method to dhcp and remove the address line. Since it will be accessed only via internal IP address you can set that here. You don't want the IP address of this SERVER (or any server) to change. NAS)Ĭonfigure static IP address, netmask, gateway and dns-nameservers

The SERVER is connected to the same LAN as all required data sources (if your storage is not on the same box, e.g.The SERVER is configured with SSH access, either via local credentials, ssh-keypair or some other federated identity.Through the rest of this tutorial, the server will be referred to as SERVER. This gist walks through how to configure Plex Media Server on an Ubuntu 16.04 Server headless install.
