Installing Plex Media Server

This guide will show you to install Plex Media Server on a VPS. One of the challenges that’s faced is the fact that when you first install it the setup needs to be done through the browser by going to localhost in the browser. This is an issue on a VPS because you can’t access that locally.

Here’s how to do it.

Download Plex

The first thing you need is the most recent version of Plex, which can be found here.

At the time of writing this guide, the most recent version is https://downloads.plex.tv/plex-media-se … _amd64.deb

On your VPS we can now download the Plex installer. I am using Ubuntu for this example.

root@Plex:~# cd ~ ; wget https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb
Install Plex

Now we’ve downloaded the installer, it’s time to install it. If you use CentOS, you can replace dpkg with yum.

root@Plex:~# dpkg -i plexmediaserver*.deb

When that’s done, we’re ready for the next step.

Configure Plex

As you may be aware, Plex must be configured by going to http://localhost:32400/web but that won’t work on a VPS. We will create an SSH tunnel so that it forwards it temporarily to your computer, so it will actually work.

If you’re using Windows, follow Part 1 of this guide and replace 1080 with 32400, and use 32400 for Destination.

If you’re using Linux or Mac:

david@lappy:~$ ssh user@IP-OF-YOUR-VPS -L 32400:localhost:32400

Once you’ve done that, open http://localhost:32400/web and you should see the Plex interface.

Follow the steps on the interface and you’re ready to go!

When you have done that, you can close the SSH tunnel and then from this point forward you can access your Plex by going to http://YOUR-VPS-IP:32400/web

Conclusion

As you can see, setting up Plex isn’t all that difficult, but the fact that it requires that extra step on a VPS can be daunting to many people. I hope this guide has simplified that for you. As always, if you have any issues or suggestions for this guide, please let me know!

This is GOLD mate.

Thanks. Will look into it shortly.

cybertech wrote:

This is GOLD mate.

Thanks. Will look into it shortly.

No worries, let me know how you go with it

it works!

with one extra step for windows, using firefox as an example:


also had to remove “No Proxy for localhost etc”