Plex media server is an open-source streaming software through which you can easily store and manage media content on your system from any device. If Plex is installed on your system, then all media files can store in a single place. This streaming media server organizes the media from online services from your favorite collection. You can access these media files on the server from any Smart TV, smartphone, and a streaming box. For this purpose, you need to have a Plex media client application installed on all devices. However, you can install this streaming server on different OS such as Windows, Linux, and Mac OS, etc.
We will describe the installation process of the Plex media server on Ubuntu 20.04 in this article. We will also show you how you can configure a Plex media server on your system.
All commands must run under the Sudo privileges.
Open the terminal application using the keyboard shortcut ‘Ctrl+Alt+t’ or go into the applications menu and select the terminal from there. Now, implement the following steps to install the Plex server on Ubuntu 20.04.
Step 1: Download the .deb Plex Media Server Package
Plex media server can be downloaded from its official page Downloads. Alternatively, by running the following ‘wget’ command download the Plex media server on your Ubuntu system:
$ wget https://downloads.plex.tv/plex-media-server-new/220.127.116.1117-ab5e1197c/debian/plexmediaserver_18.104.22.16817-ab5e1197c_amd64.deb
Step 2: Install .deb Plex Media Server package
Now, navigate the download file by using the cd command and then, execute the following command to install the Plex media server downloaded package.
$ sudo apt install ./plexmediaserver_22.214.171.12417-ab5e1197c_amd64.deb
Step 3: Configure Plex media server
Once the installation of Plex is completed, it automatically enables on your system. You can check the running status of the Plex media server on your system by using the following command:
$ sudo systemctl status plexmediaserver.service
However, in some cases if it is not running or show ‘Active’ status then, you can enable it on boot it by executing the following command:
$ sudo systemctl enable plexmediaserver.service
Plex media server starts by using the below command:
$ sudo systemctl start plexmediaserver.service
Step 4: Set up the web interface of Plex media server
To configure and access the Plex, open the web interface of the Plex media server using the 32400 port. The Plex server is installed on your Ubuntu 20.04 system. Now, open the web browser on this system and type the following URL in the address bar:
The Plex media server sign-in interface will display in the browser. Give the required details to sign in to the plex media server. Once logged in to the Plex media server, the following page will display that contains the information about how the Plex works. Here, click on the ‘Got it’ option which is highlighted in the below screenshot:
Now, in the next interface enter a name for your Plex server and mark the checkbox ‘Allow me to access my media outside my home’. To further proceed, click on ‘Next’.
In the next interface, you can add libraries by using the ‘Add library’ button.
Choose the desired library from the pop-up window and click on ‘Next’.
In the next interface, click on the button ‘BROWSE FOR MEDIA FOLDER’ and add folders. Once you have included the desire folders, click on the ‘ADD Library’ button.
Click on the Next.
In the next interface, click on the ‘Done’ button.
Now, the added libraries will show you in the Plex media server web dashboard.
Update and upgrade Plex media server
If a new Plex media server release is launched then, by executing the following commands you can update and upgrade this application.
$ sudo apt update
$ sudo apt-get --only-upgrade install plexmediaserver
That is all about the installation of the Plex media server. Using the Plex, you can save all your favorite Tv shows, movies, videos, and photos in a single place. You can approach them from anywhere to any device. We have demonstrated the installation of a Plex media server on Ubuntu 20.04 in today’s article. We have also seen how you can set up your system easily through its web interface.
Samreena Aslam holds a master’s degree in Software Engineering. She’s a technical writer and has written various articles on different Linux flavours including Ubuntu, Debian, CentOS and Mint.