How to install Plex media server on Ubuntu 19.04

Are you looking for the easiest and easiest method to install Plex media server on Ubuntu 19.04? This is the snap command that will set up your Plex server.

Are you looking for the easiest and easiest method to install Plex media server on Ubuntu 19.04? This is the snap command that will set up your Plex server.

Plex server is a free and multi-platform software. This means it is available for Windows, Linux, FreeBSD, NAS and MacOS along with a variety of client applications to stream videos from the Plex media server. Not only video, but users can also stream music files locally and remotely, along with TV shows and photos on PC, Chromecast, Android or iOS smartphones, tablets, ROKU, etc. .

The article will use the Snap package manager for Plex server installed here. The benefit of using Snap is to make things simple. No need to download and install each file separately.

Install Plex media server on Ubuntu 19.04 via Snap

Although this article has done on Ubuntu 19.04 Disco Dingo, but the operation will be the same as on other older versions like Ubuntu 18.10 / 18.04 / 17.04 / 16.04 / 14.04, or Elementary OS or Linux Mint. You can use the commands provided here to install Plex media server on Elemenarty OS.

Install Snap on Ubuntu

If you are using Ubuntu 19.04, snap will appear as a pre-installed application. However, for older Ubuntu systems, to install SNAP, users can use the command:

 sudo apt-get install snapd 

Snapd is a daemon needed to run snaps. It also includes the snap command that we need here to install Plex media server.

Install the Plex media server using Snap

You do not need to take long manual steps and lots of settings to set up Plex media server if using SNAP. Plex server has been installed in a limited environment without any kind of interaction with any other web server like apache running on the same system. Snap application software packages are self-contained, not relying on traditional package managers like APT or YUM.

 sudo snap install plexmediaserver 

Trivia : In case you want to restart / start / stop Plex server in the future, use Snap service commands:

 sudo snap restart plexmediaserver 
 sudo snap stop plexmediaserver 
 sudo snap restart plexmediaserver 

To find out which services run under snap, enter the following command:

 sudo snap services 

Access the Plex media server for the first time

When you run the above installation command for Plex media server with a snap on Ubuntu 19.04, you will automatically receive all packages on their respective locations. The only thing you have to do is open the browser and enter the machine's IP address along with port number 32400.

 server-ip-address:32400 

Replace server-ip-address with your local IP address or IP computer.

If your Plex is on the local computer, use localhost with:

 http://localhost:32400/web 

Set up Plex media server on Ubuntu 19.04

Step 1 : The first screen will appear asking you to log into your Plex account using Google, Facebook or Email ID. If you do not have a Plex server account, you can use this link to register:

 https://www.plex.tv/sign-up/ 

Picture 1 of How to install Plex media server on Ubuntu 19.04

Step 2 : After logging in, Plex will return to your local server IP address. In this step, just click the Got it button.

Picture 2 of How to install Plex media server on Ubuntu 19.04

Step 3 : Plex server on Ubuntu 19.04 will determine your locally installed server and ask if you want to assign a custom name to it. Put a friendly name and click the NEXT button .

Picture 3 of How to install Plex media server on Ubuntu 19.04

Step 4 : It's time to add some media files to Plex. Click the Add library button .

Note : You can also add media files to Plex later from Dashboard.

Picture 4 of How to install Plex media server on Ubuntu 19.04

Step 5 : Select the type of media file you want to add to your media server. For example will add some music files.

Picture 5 of How to install Plex media server on Ubuntu 19.04

Step 6 : Click the Browse For Media Folder button.

Picture 6 of How to install Plex media server on Ubuntu 19.04

Step 7 : Select the folder containing your media files. For example. Music files are in the / media folder, so we will select this folder.

You can repeat the same step to add another media file folder, then click Finish.

Picture 7 of How to install Plex media server on Ubuntu 19.04

Step 8 : After adding the library and completing the setup, you will find the new Dashboard of the Plex server with all media files there.

Picture 8 of How to install Plex media server on Ubuntu 19.04

Note : If during playback of any music, you encounter some errors such as ' Error code: s9009 (Manifest) '. It is a codec problem and after installing vlc, the error will be fixed.

 sudo apt install vlc 

In the future, if you want to update the Plex media server installed with the SNAP package manager, use the following command:

 sudo snap refresh plexmediaserver 

In this way, just by using a SNAP command, you install the above media server not only Ubuntu 19.04 but other Linux operating systems such as Centos, Debian, openSUSE, etc. This method is easy to use but the way of transmitting The system allows more control on each file, from Apache server to other supported services. But for newbies, snap installation is recommended.

Hope you are succesful.

Update 24 June 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile