Applies to: LumaDock Cloud VPS • Ubuntu 22.04 LTS

Plex Media Server allows you to organize, stream, and share your movies, TV shows, music, and photos from anywhere. This guide shows how to install Plex on your LumaDock VPS running Ubuntu 22.04 LTS.

Requirements

  • LumaDock VPS with Ubuntu 22.04 LTS
  • Root SSH access
  • A Plex account (sign up here)

Step 1 — Update Your VPS

ssh root@your-vps-ip
apt update && apt upgrade -y

Step 2 — Add the Plex Repository

apt install curl wget apt-transport-https -y
curl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | tee /usr/share/keyrings/plex.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/plex.gpg] https://downloads.plex.tv/repo/deb public main" \
  | tee /etc/apt/sources.list.d/plexmediaserver.list
apt update

Step 3 — Install Plex Media Server

apt install plexmediaserver -y

Plex will install as a systemd service and start automatically.

Step 4 — Adjust Firewall (Optional)

If you are using the LumaDock firewall, allow Plex ports (default 32400/tcp):

ufw allow 32400/tcp

Step 5 — Access the Plex Web Interface

Open your browser and visit:

http://your-vps-ip:32400/web

Log in with your Plex account and follow the setup wizard to add libraries and start streaming.

Troubleshooting

  • Plex not reachable? Check your firewall rules and ensure port 32400 is open.
  • Service not running? Restart it with: systemctl restart plexmediaserver
  • Persistent issues? Review logs with: journalctl -u plexmediaserver -f
Was this answer helpful? 0 Users Found This Useful (0 Votes)