=====Plex Media Server on NB2800===== This article describes how to install a Plex Media Server on a NB2800 router. [[https://www.plex.tv/|Plex]] is a freemium server/client-based media platform. It connects metadata to your files and lets you show your media on a huge variety of client devices. Also, you can activate the built-in DLNA server as a second way to stream your media files. ===Preparations=== All preparations made are described in this article: [[http://wiki.netmodule.com/virtualisation/file-server | How to set up a NB2800 File Server ]] If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: http://wiki.netmodule.com/app-notes/virtualisation. The first thing you need to do is to install two programs which are needed for the installation to work properly. Enter apt-get update apt-get install gnupg2 apt-transport-https ===Install Plex Media Server=== Before the installation of Plex can start, you need to add the repositorys, from where Plex Media Server is loaded, to the system. For this, enter wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add - echo "deb https://dev2day.de/pms/ jessie main" | tee /etc/apt/sources.list.d/pms.list Now that the system has the source from where it can load the Plex Media Server, you have to update the systems package lists: apt-get update Now you can install the Plex Media Server: apt-get install plexmediaserver ===Setup Plex Media Server=== To get access to the Plex Media Server, open your web browser and go to http://IP-address-of-your-container:32400/web . Now you can start to setup th Plex Media Server. On the first page, you can login to an existing Plex account or create a new one. If you want to continue without using an account, click on "What's this?" in the lower right corner. {{ :virtualisation:pms_setup_1.png?nolink&600 |}} On the next screen, click on "Skip and accept limited functionality" under the main window. {{ :virtualisation:pms_setup_2.png?nolink&600 |}} Click on "Got it!" {{ :virtualisation:pms_setup_3.png?nolink&600 |}} Here, you can give your Plex Media Server a name that is displayed to the clients. If not, the servers host name will be used. {{ :virtualisation:pms_setup_4.png?nolink&600 |}} In this screen you can add folders with different media types to be managed by Plex. You can also add folders later. {{ :virtualisation:pms_setup_5.png?nolink&600 |}} Click on "Done" and setup is completed. {{ :virtualisation:pms_setup_6.png?nolink&600 |}} Now you are directed to the Dashboard. From here on you can configure your Plex Media Server to your needs. {{ :virtualisation:pms_ohne_login.png?nolink&600 |}} Plex Media Server temporarily transcodes all media to a format that the client can play directly. This can cause to high CPU load on the NB2800, exspecially when there are more clients to be served at a time. If you want to lower the load of your server, you can adjust transcoding settings to your needs. For that, go to Settings -> Server -> click on "Show Advanced" -> Transcoder. {{ :virtualisation:pms_config_1.png?nolink&600 |}}