Sunday, December 22, 2024

How to Create a Media Streaming Server Using Plex or Emby on Ubuntu Server

Share

In this step-by-step tutorial, we will walk you through the process of creating a powerful media streaming server using Ubuntu Server and Plex Media Server. We’ll guide you through installation, configuration, and usage. You can utilize this server to stream movies, TV shows, music, and other forms of media to various devices in your network.

What are Plex and Ubuntu Server?

Before we begin, it’s important to understand what Plex and Ubuntu Server are.

Plex is a media server platform that categorizes your media libraries and streams your content to various devices. With Plex, you can create your personalized Netflix-like service.

Ubuntu Server, on the other hand, is a free and open-source operating system used to manage networked systems. It is lightweight, secure, and customizable, making it a popular choice for running servers.

Step 1: Setting up Ubuntu Server

Before we start, make sure you have a dedicated machine to set up the server. It could be an old computer, a new build, or a virtual machine.

  • First, download the latest version of Ubuntu Server from the official Ubuntu website.
  • After downloading, create a bootable USB using software like Rufus.
  • Boot your server machine from the USB and follow the on-screen prompts to install Ubuntu Server.

Step 2: Installing Plex on Ubuntu Server

Once Ubuntu Server is up and running, you can install Plex. Plex can be downloaded directly from the official Plex website.

  • Access your server using SSH and navigate to the directory where you want to download the Plex package.
  • Download the Plex Media Server .deb package using the wget command:
wget https://downloads.plex.tv/plex-media-server-new/1.22.3.4392-d7c624def/debian/plexmediaserver_1.22.3.4392-d7c624def_amd64.deb

(Replace the URL with the latest one from the Plex website)

  • Install Plex using the dpkg command:
sudo dpkg -i plexmediaserver_1.22.3.4392-d7c624def_amd64.deb

Step 3: Configuring Plex Media Server

Now that Plex is installed, you need to configure it.

  • Open a web browser and navigate to http://[your-server-ip]:32400/web
  • Follow the Plex on-screen setup instructions. Here, you will create a Plex account (or sign in), name your server, and configure your media libraries.

Step 4: Adding Media to Plex

Now you can start adding media to your Plex server. This could be movies, TV shows, music, or photos.

  • On the Plex web interface, select “Add Library” on the left sidebar.
  • Choose the type of media (Movies, TV Shows, Music, Photos, or Other Videos).
  • Add folders that contain the media files. Plex will automatically categorize and retrieve metadata for your content.

Step 5: Streaming Media with Plex

You’re now ready to stream content from your Plex media server.

  • Install the Plex client app on your desired device (TV, smartphone, tablet, etc.). You can download the app from the official Plex website.
  • Log in to your Plex account on the client app.
  • Select your server and start streaming your media.

With this setup, you have a fully functional media server. Enjoy your personal media streaming service!

Conclusion on Installing Plex Server

Creating a media streaming server using Ubuntu Server and Plex isn’t too complicated. With a bit of time and patience, you can turn your old computer into a powerful streaming device, allowing you to enjoy your media content on any device, anytime, anywhere.

Related Articles

Read more

Local News