In the following write-up, we will try to get ourselves acknowledged how to get the Plex media server installed on Ubuntu 18.4 and create a Media library.
What is Plex?
Plex is considered the server used for streaming different kinds of media like video, music, and photo slideshow. The part about Plex that makes it the most unique is that you can stream through it from anywhere and everywhere you want to.
Point to remember
One thing that should be noted is to be able to install different servers on Ubuntu. You should be logged in as a user.
- How To Install and Enable SSH Server on Ubuntu 20.04
- How To Install and Configure Ubuntu 20.04 with GNOME
- How To Install Grafana on Ubuntu 20.04
Let’s get started with the installing procedure of the Plex Media Server.
One can easily manage the Plex media server on Ubuntu by using the official repository by Plex. This procedure does not need you to be technically efficient and help you limit 20 minutes by installing and configuring the Plex media server.
The steps mentioned below will help you with the process of installing Plex media server in Ubuntu,
- the first step will be to import the repository’s GPG key and use the below-mentioned command,
$ curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
- Secondly, you will have to add your system software repository list with Plex APT repository:
$ Echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
- when you are done with enabling the blacks repository, you are now ready to install the Plex media server in the latest version,
$ sudo apt install apt-transport-HTTPS $ sudo apt update $ sudo apt install plexmediaserver
- Verification of the proper functioning of flex service can be done by the command below,
$ sudo systemctl status plexmediaserver
You will receive a output mirroring exactly the below mentioned,
- plexmediaserver.service – Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-06-25 10:42:28 PDT; 35min ago Process: 2544 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS) Main PID: 2556 (sh) Tasks: 56 (limit: 2321) CGroup: /system.slice/plexmediaserver.service
Plex Media Server Configuration
Follow the steps below to configure the Plex media server,
- the first step in configuring the Plex media server is creating directories, which will further help store media files.
sudo mkdir -p /opt/plexmedia/{movies,series}
The location of the media files does not matter but remember to provide the proper ownership.
sudo chown -R plex: /opt/plexmedia
- Finally, we reached the server configuration step where, on typing the browser search bar with, http://YOUR_SERVER_IP:32400/web, aired, and aired in a screen popup with a Plex media sign up.
Methods describing how to sign in on Plex Media Server
Keep the steps below in mind to sign-in on the Plex media server,
The first step to bring in use the Plex media server is to get yourself an account created.
Account creation is no big deal. You will have to fill in the information on Google, Facebook, or email about yourself and if you are a fan of premium, then get yourself a Plex Pass.
Plan.
When undergone, the procedure of signing up an informative page will pop-up regarding the working of Plex.
From here, to move ahead, you will have to press the button flashing “Got it.”
- Secondly, you will be given an option to decide the media’s access to your server when outside the home (server’s home box). After putting a check on it, you will go for the “Next” button. In this procedure, you will also find yourself naming your Plex server.
The check procedure follows with you to the creation of a Media library. You will have to press down on, “Add Library” button, and voila!
You can have your selected movies and library type mentioned. This step is again followed by pressing on the “Next” button.
- Another step involved making a media folder path directed, which will lead you to the media files easily. We had the path directed as,
/opt/plex media/granule/movies.
- To increase the number of libraries, you have to click the “Add” button simultaneously and then the “Add Library” one.
- Following a click on the “Next” button, and after a click on the button displayed as “Done,” and you will reach the Plex Web dashboard.
- Once you are done setting up everything, you can now feel free to explore Plex media and the different options.
Conclusion
This write-up provided above helped you understand the Plex media server’s installing procedure when it comes to Ubuntu 18.4 machine. Also, you got yourself some tricks and tips on serving your own Media Library.