For this tutorial you’ll need the following:
In case you don’t have a running instance on Fuga Cloud yet, please follow and complete our Getting Started series.
Open the terminal and make an ssh connection with the Ubuntu instance.
Copy the Ubuntu installation link from the Plex download page. Use the wget command to download the .deb file:
wget <link to the .deb here>
Install the .deb file you just downloaded with the following command (please make sure you choose the .deb file with the correct version number):
sudo dpkg -i plexmediaserver_18.104.22.16829-6de959918_amd64.deb
If the system asks
File also in package provided by package maintainer. What would you like to do about it?
type Y and press enter.
Create the directories that will store your media. In this example we’ll create the directories “series” and “movies”:
mkdir media && cd media && mkdir movies && mkdir series
In order to perform administration of your Plex server, access to the web interface is required. To get access to the web interface, open a new terminal and run the following command:
If you’re using an imported key pair:
ssh -i .ssh/id_rsa ubuntu@FLOATING_IP -L 8888:localhost:32400
If you’re using a generated key pair:
ssh -i KEYPAIR.pem ubuntu@FLOATING_IP -L 8888:localhost:32400
Use the following information for setting up the Putty/SSH connection:
Enter the following link into your web browser to view the interface:
Now, follow the steps below:
Sign in with your username and password.
Give your Plex Media Server a name and leave the ‘Allow me to access my media outside my home’ box checked. Afterward, click Next.
Add the libraries by selecting the directories that you just made in a previous step.
(Optional) Continue adding additional libraries by clicking the + symbol next to the Libraries list located on the Plex sidebar.
To access the Plex Media server from outside your home, you need to open a specified port. Open the Horizon dashboard and go to Access & Security.
Click the Manage Rules button that belongs to the default security group.
Click the Add Rule button.
Add the port 32400 in the port input field without changing the default values inside the other fields, then click Add.
Return to the Plex dashboard and go to Settings → Server → Remote Access.
Activate Enable Remote Access if this option isn’t already activated and use the custom port 32400. If you have trouble enabling remote access, try restarting your instance and wait a few minutes.
Download the Plex application to your device. Click here for a list of supported devices.
Sign in to the application using your Plex account.
Select your Plex server from the dropdown menu in the upper left corner of the screen.
Congratulations! You’re Plex Media Server is ready for use. You’re now free to add your own media to the specified directories.
In this tutorial, you’ve installed a Plex Media Server on an Ubuntu-based OpenStack instance. You configured your Plex Media Server and enabled remote access. In the last step, you connected to the Plex Media Server which is now ready for usage.