# Scripted installation of Plex Media Server

**URL:** <https://forum.freenas-community.org/t/scripted-installation-of-plex-media-server/47>\
**Category:** How-to\
**Created:** [October 19, 2019, 3:35pm UTC](https://forum.freenas-community.org/t/scripted-installation-of-plex-media-server/47 "2019-10-19T15:35:43Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![danb35](https://forum.freenas-community.org/user_avatar/forum.freenas-community.org/danb35/32/14_2.png) [@danb35](https://forum.freenas-community.org/u/danb35)\
**Post date:** [May 23, 2020, 10:05pm UTC](https://forum.freenas-community.org/t/scripted-installation-of-plex-media-server/47/42 "2020-05-23T22:05:35Z")

</div>

> [@Hazimil](#):
>
> The command to create the Jail (line 166) has ${DEVFS\_RULESET} on it. I understand the rest but not sure what this is, can you expand my knowledge please by explaining it.

This is used with the hardware transcode setup.

> [@Hazimil](#):
>
> I think I understand that lines 195 & 198 set the Plex MetaData directory to /config, which is where you mount the dataset holding this data, is that right?

Correct, though whether it’s a dataset or a directory is up to the user.

> [@Hazimil](#):
>
> Not sure what the directory /configs is used for, can you explain?

It’s used temporarily for files that need to be copied into the jail–`pkg.conf` and the package update script.

> [@Hazimil](#):
>
> has this now merged into the plexmediaserver package with the plexmediaserver\_plexpass just being used as a BETA now?

Yes. The “normal” package provides the PlexPass features if you’re signed in to a PlexPass account, and doesn’t if you aren’t. The “Plexpass” package now acts as a beta. It gives early access to some new features (at least at times), but isn’t as stable.

---

_[View the full topic](https://forum.freenas-community.org/t/scripted-installation-of-plex-media-server/47)._
