Setting up a plex server on Ubuntu

June 04, 2024

After failing to configure a plex lxc container, I decided to go the old fashioned way and just start a fresh Ubuntu 22.04 VM and go from there. Now this post won't get into security and the various things you should do to a fresh install, but we will assume you have an install ready to go.

  1. The first command you run will be:

    sudo wget -c downloads.plex.tv/plex-media-server-new/1.40.2.8395-c67dce28e/debian/plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb

    This is the current version of plex, however this can and will change. so you can click here. Remove the HTTPS:// from the link and copy/paste into Ubuntu with sudo wget -c prefixed.

  2. Then you will run

    sudo wget -c downloads.plex.tv/plex-media-server-new/1.40.2.8395-c67dce28e/debian/plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb

    Again you may need to append to the most updated version. This will install plex.

Optional: You can delete the plex downloaded files after the install if you would like with this command.

sudo rm plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb

Now you're plex server is fully installed but we must start the service

sudo service plexmediaserver start

open your browser and go to:

http://<your-server-IP>:32400/web

Now you're in the portal and can setup your libraries. Next post will be on how we can setup a NFS server so you can have your plex media seperate from your server.

If you have any questions please feel free to reach out!


Profile picture

Written by Wade Chewning who lives and works in Arlington, VA and tries to not crash production. You should follow them on Linkedin!