-
Get in touch
- Servers99
611 Gateway Blvd ,
South San Francisco ,
CA 94080 United States - [email protected]
What You Need
Before we start, make sure your dedicated server meets these requirements (based on official Plex guidelines)
- Operating System: Linux (Ubuntu 20.04/22.04 or Debian 10/11 is recommended).
- CPU: Intel Core i3 or higher (For transcoding 1080p/4K content).
- RAM: Minimum 2GB (8GB recommended for smooth performance).
- Storage: Enough space for your Movies and TV Shows.
- Root Access: You need
rootlogin details for your server.
Connect to Your Server via SSH
First, you need to log in to your dedicated server.
- Windows Users: Download and open PuTTY.
- Mac/Linux: Open your Terminal.
Run the following command (replace with your server IP):
You must log in to your server via SSH as the root user.
ssh root@your-server-ip
Enter your root password when prompted.
Update Your System
Before installing Plex, it is crucial to update your server packages to avoid conflicts. Run these commands:
This ensures your OS is fresh and secure
apt update && apt upgrade -y
Install Plex Media Server (The Professional Way)
Instead of downloading a single file, we will add the official Plex repository. This ensures your Plex server updates automatically whenever you update your system
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
sudo apt update
sudo apt install plexmediaserver -y
Configure Firewall & Enable Service
Since this is a dedicated server, we need to ensure the firewall allows Plex traffic.
sudo ufw allow 32400/tcp
sudo systemctl enable plexmediaserver
sudo systemctl start plexmediaserver
sudo systemctl status plexmediaserver
🟢 You should see Active: active (running).
The Tunneling Trick (Crucial Step for Remote Servers)
- Open PuTTY.
- Go to Connection > SSH > Tunnels.
- Source Port
8888 - Destination:
localhost:32400
Open a new terminal window on your computer (not the server) and run
ssh root@your_server_ip -L 8888:localhost:32400
Now, open your web browser on your computer and type:
http://localhost:8888/web
This makes Plex think you are sitting right next to the server!
Setup Your Plex Media Server
Now you should see the Plex Setup Wizard in your browser.
- Log in: Sign in with your generic Google/Facebook or Plex account (Free).
- Name Your Server: Give it a cool name (e.g., "Servers99-Media-Beast").
- Remote Access: Make sure to check the box Allow access to my media from outside my home network. This allows you to stream on your phone or TV without the tunnel later.
- Add Libraries: Click Add Library, select Movies, and point it to the folder where you will upload your files.
How to Upload Movies & Fix Permissions
Use FileZilla to upload your movies to a folder (e.g.,
/var/lib/plexmediaserver/Movies ).
root,
(which runs as a restricted user) might not be able to read them. You must fix the
permissions.
After uploading your files, run this command via SSH:
sudo chown -R plex:plex /var/lib/plexmediaserver/Movies
(Run this command every time you upload a new batch of movies to ensure they appear in your library).
Finalize and Stream
Close the SSH tunnel. Now you can access your Plex server from
anywhere in the world by going to: http://your_server_ip:32400/web
Or simply download the Plex App on your Smart TV, Android, or iPhone, sign in, and your servers99 dedicated server will appear automatically!
The Smart Way to Stream Plex
Running Plex on a home PC or a cheap VPS brings headaches—constant buffering, low upload
speeds, and CPU bottlenecks when transcoding 4K.
Why let poor hardware ruin your movie night? At Servers99, we provide High-Performance Dedicated Servers
optimized for media streaming.