With a huge portion of the world’s population told to stay home, many people are looking for ways to fill the time. Setting up a home media server might be a great idea and help keep you and your loved ones entertained. When it comes to software for home media systems, Plex is by far the best option.
Plex is a brilliant software that lets you access your media library on all your devices. It makes the process of setting up a media server a breeze. Plex will also automatically organize your media files, such as movies and songs, for a fantastic experience. It is available on almost every platform you can think of. This includes Windows, macOS, Android, iOS, and Linux. Plex is also available to install on Smart TV’s, such as Roku-enabled or Amazon Fire Stick platforms.
Today, we are going to guide you through the process of setting up a Plex Media Server on your remote Linux server, specifically on a server running Ubuntu 18.04 (this tutorial will also work with Ubuntu 16.04 servers).
We will divide the process into two parts: installation on your remote server (VPS) and configuration (local).
Let’s start with the installation process.
Step 1.Update your system
Before you download and start installing the Plex media server, you need to make sure that your system is updated. For this, enter this command in the terminal:
Step 2. Download Plex Media Server
Now you are ready to download and install Plex. For that, head over to the download page on Plex’s website. Now choose “Plex Media Server,” select Linux as your OS, and then select Ubuntu as your distribution. Now at this stage, there are two ways to download the deb package. Copy the direct URL so we can download it on the server using wget. For that, copy the download link and run this command, make sure that you download the latest version though:
Step 3. Install the downloaded file
Now we will install the deb file using dkpg. So, once you are done downloading the file, go to that directory and run the following command:
sudo dpkg -i plexmediaserver*.deb
Step 4. Run the Plex server
Now, you are done with the installation process! To start the Plex Server, run these two commands:
sudo systemctl enable plexmediaserver.service
sudo systemctl start plexmediaserver.service
Let’s now move on to the configuration of your Plex Media Server.
IMPORTANT NOTE: These steps will be performed on your computer (assuming you are running on MacOS or Linux) — not on your VPS.
Step 1. Open Plex web interface
To start configuring Plex, you first need to connect to your remote server via SSH. To do this, perform the command:
ssh root@VPSIP -L 8888:localhost:32400
NOTE: Replace “VPSIP” with the IP of your server.
Now that you are connected, open your web browser and go to http://localhost:8888/web
Step 2. Sign in/Sign up on Plex
When you open the web interface, you would be asked to sign in or register a Plex account.
Step 3. Add directories to the server
Perform this step on the remote server.
Create directories for your media files, such as movies, TV shows, and music.
Step 4. Add libraries
Now on your computer, choose the “Add Library” option. This will prompt you to choose the type of library. You can select the relevant option (Movies, TV shows, Music, and Photos).
After that, you would be asked to choose a directory for the library. Choose the one that you made in step 3 (/home/plex/movies, for example.)
Step 5. Add media
Now you are all set up to add the media to your libraries. When doing that, make sure that you are following Plex’s naming conventions.
Congratulations! You are all done with the setup and installation of your Plex Media Server. All that is left now is to download the Plex client for your devices (this is supported on every platform, including Smart TV’s as mentioned earlier). Once you log in, you would be able to access all your media that is hosted upon your remote server/VPS with ease!
Editors note: This article was contributed to the LowEndBox community by RackNerd – a provider of VPS and other hosting solutions. If you are looking for a VPS server to run a Plex Media Server on without breaking the bank, be sure to take a look at their exclusive LEB offers by clicking here!
I’m Jon Biloh and I own LowEndBox and LowEndTalk. I’ve spent my nearly 20 year career in IT building companies and now I’m excited to focus on building and enhancing the community at LowEndBox and LowEndTalk.
My site uses the core Media module, Entity Embed, and LinkIt to reference media and other entities in various ways.
I want to keep track of which media is embedded on which nodes.
I tried adding an entity reference field to media on my content types, but this means that I have to add the media twice: to the field where I actually embed the media and to the entity reference field to track it.
Fiducia Solutions is an ISO Certified Online Digital Marketing training institutes in Noida and offers online Digital Marketing Training classes with live projects and a 100% placement guarantee in the best IT Companies. Fiducia Solutions Noida provides best digital marketing training in noida based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. FIDUCIA SOLUTIONS Provides Best Digital Marketing Training in Noida. Fiducia Solutions is one of the most credible Digital Marketing training institutes in Noida offering hands-on practical knowledge and full job guarantee with basic as well as advanced level Digital Marketing training courses. At Fiducia Solutions Digital Marketing training in noida is conducted by subject specialist corporate professionals with 8+ years of experience in managing real-time Digital Marketing projects. FIDUCIA SOLUTIONS implements a blend of academic learning and practical sessions to give the student optimum exposure that aids in the transformation of naïve students into thorough professionals that are easily recruited within the industry.
Fiducia Solution is one of the top professional HR training institutes in Noida & Ghaziabad that helps all the learners to gain a deep knowledge of Human Resource Management and also leads them to a way to build a strong career in HR.Fiducia Solutions Noida gives Best HR Training in Noida based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. Fiducia Solutions Provides Best HR Training institute in Noida. Fiducia Solutions is one of the most reliable HR training institute in Noida offering hands-on working knowledge and full job guarantee with basic as well as HR training courses. Fiducia Solutions is an ISO Certified Online HR training institutes in Noida and offers online HR Training classes with live project and 100% placement guarantee in best IT Companies.
I’m looking for a snippet that will overwrite media files. Example: There a audio file called Dogpark.mp3 uploaded to wordpress. The next week I have a few file called Dogpark.mp3 which I want to upload and replace last weeks file. Is there a snippet library I can find snippet that does that? The client doesn’t want to use media replacement plugin. Thank you for your time.