赛派号

投影仪芯片哪款最好用 TrueNAS: Create Own "Home Media Streaming Server" Using Plex

TrueNAS: Create Own “Home Media Streaming Server” Using Plex – Part 3 Ri SaiveLast Updated: July 31, 2024 Read Time: 3 minsCategories TrueNAS 10 Comments

Everyone has a collection of movies, songs, music videos, pictures, and more. Many people wonder how they can stream this content to all their home devices.

The solution is to use Plex Media Server, which allows you to stream your videos over a LAN network in your home to devices such as smart TVs, iPads, mobiles, tablets, and laptops.

In our previous articles, we covered how to install TrueNAS Server and configure ZFS and NFS storage shares.

In this post, we will show you how to set up a home-based streaming server using the Plex Media Server plugin in TrueNAS.

Hardware Requirements

At a minimum, you’ll need one hard drive to store your media files, which can be either a traditional HDD or an SSD based on your performance needs and budget.

For a more robust setup, using at least two disks to enable a RAID configuration, such as RAID 1, which provides redundancy by keeping your data safe on the remaining disk if one fails.

The number of disks you need will also depend on the size of your media library. For instance, if you he a large collection of 4K movies, you’ll require more storage space compared to a collection of standard HD content.

Step 1: Creating a Storage Pool for Plex

To create a storage pool for your Plex media, you’ll need to connect additional drives for storing your media files (the capacity should be based on your needs). For my setup, I am using two 20GB drives to create a Plex pool using the RAID1 mirror method.

Open a web browser, nigate to your TrueNAS server’s IP address, and log in with your admin credentials. Then, go to the “Storage” > “Pools” and click on the “Add” button.

Create Storage Pool for PlexCreate a Storage Pool for Plex Choose Create New Pool for PlexChoose Create New Pool for Plex

Next, enter a name for your pool (e.g., “MediaPool”) and select your two 20GB disks from the list of ailable disks. Click “Add Vdev” to include these disks in your pool, then click “Create” to finalize the setup.

Choose Name for Plex PoolChoose a Name for Plex Pool Step 2: Creating a Datasets for Plex

Nigate to your newly created MediaPool, click on Add Dataset, enter a name for the dataset (e.g., PlexMedia), configure the settings as needed, and then click “Se” to create the dataset.

Choose Add Dataset for PlexChoose Add Dataset for Plex Choose Name for Plex DatasetChoose a Name for the Plex Dataset List of Storage PoolsList of Storage Pools Step 3: Creating a Jail for Plex

A jail is an isolated environment within TrueNAS that allows you to run applications like Plex without affecting the rest of the system.

To create a Jails, nigate to Jails and click on “Add” to create a new jail.

Create Jail for PlexCreate Jail for Plex

Next, enter a name for the jail (e.g., “PlexJail”) and configure the settings as needed.

Choose Name for JailChoose Name for Jail Creating Jail for PlexCreating Jail for Plex Step 4: Installing Plex Media Server on TrueNAS

Once the jail is created, nigate to Plugins, search for Plex Media Server among the ailable plugins, click Install, and follow the prompts to complete the configuration.

Install Plex in TrueNASInstall Plex in TrueNAS

Next, choose the option to install Plex within the jail you created (e.g., “PlexJail”).

Choose Jail for Plex PluginChoose Jail for Plex Plugin

After installation and configuration, open a web browser and nigate to the following URL, make sure to replace jail_ip with the IP address of your PlexJail.

http://http://192.168.122.37:32400/web) Access Plex Media ServerAccess Plex Media Server Step 5: Adding Media Files to Plex

In Plex, nigate to “Settings” and then “Libraries,” click “Add Library,” and choose the type of media you want to add, such as Movies or TV Shows.

Next, browse and select the dataset you created earlier, for example, “PlexMedia”, it will then scan this dataset for media files and add them to your library.

Add Media to PlexAdd Media to Plex

Now that Plex is set up and your media is organized, you can access it from any device connected to your network. First, install the Plex app on your phone, tablet, or smart TV. Then, open the app and sign in with your Plex account. You should now see your media libraries and can start streaming content.

Install Plex AppInstall Plex App Plex Media Server StreamingPlex Media Server Streaming Conclusion

You’ve successfully set up a home media streaming server using Plex with TrueNAS. You can now enjoy streaming your forite movies, TV shows, and more from any device connected to your network.

💡 Want to Level Up Your Linux Skills?

Check out Pro.Tecmint.com for ad-free reading, exclusive guides, downloadable resources, and certification prep (RHCSA, RHCE, LFCS) - all with lifetime access.

🔐 Get Lifetime Access

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了