Setting Up Samba for Use with Plex (CentOS 7.2 Minimal)
-
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum. That and opening firewall ports should be entire guide. Samba is really irrelevant here. Besides, why would anyone want to add anything to Plex manually? That's the job for Couchpotato, Sonarr + Jackett, Headphones and similar apps.
-
@wirestyle22 said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I did run into an issue. I allocated 2 TB to the CentOS server but when I attempt to put media into the shared folder it only holds like 50 GB or something. How do I increase the folder size to account for all of that?
When giving a CentOS 7 install more than 50GB of drive space it partitions everything over the initial 50GB into its own partition and points /home at it.
-
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
-
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
-
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
But that's the wrong way of working with Plex. Here's a guide of doing it the right way:
https://www.cuttingcords.com/home/ultimate-server/getting-started
It's a guide for Windows, but installation on Linux is very similar. Just ignore the author's statement that Plex is optimized to run on Windows, it's not. Plex server will run on anything, Plex client was build for Mac first, Windows came later.
-
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
Yes, retitling would do the trick.
-
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
Yes, retitling would do the trick.
I don't get it... He covers configuring the firewall and the Plex services in the OP.
Edit: Granted, there could be more info on configuring your Movie libraries and such after the reboot, etc.
-
@dafyre said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
Yes, retitling would do the trick.
I don't get it... He covers configuring the firewall and the Plex services in the OP.
80% of the guide is about setting up samba share.
-
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
But that's the wrong way of working with Plex. Here's a guide of doing it the right way:
https://www.cuttingcords.com/home/ultimate-server/getting-started
It's a guide for Windows, but installation on Linux is very similar. Just ignore the author's statement that Plex is optimized to run on Windows, it's not. Plex server will run on anything, Plex client was build for Mac first, Windows came later.
This guide is no different it has little to do with setting up Plex.
how is this the wrong way of working with Plex? There is nothing here about working with Plex beyond installing it.
-
LOL, what's with the next page pointing to the left instead of the typical right?
-
@Dashrender weird
-
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@JaredBusch said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@scottalanmiller said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
@marcinozga said in Plex Media Server Install Guide (CentOS 7.2 Minimal):
I find this guide really confusing. Plex installation should boil down to downloading package with wget and installing it with yum.
You probably don't need wget, you might be able to install it directly. Often that is the case.
I agree, this is really a guide to installing nano and Samba, not Plex.
They bit about transferring the Plex install just comes down to his admitted inexperience with Linux.
The document as it stands is decent. @wirestyle22 missed a little formatting and needs to retitle it setting up samba for use with Plex.
But that's the wrong way of working with Plex. Here's a guide of doing it the right way:
https://www.cuttingcords.com/home/ultimate-server/getting-started
It's a guide for Windows, but installation on Linux is very similar. Just ignore the author's statement that Plex is optimized to run on Windows, it's not. Plex server will run on anything, Plex client was build for Mac first, Windows came later.
This guide is no different it has little to do with setting up Plex.
how is this the wrong way of working with Plex? There is nothing here about working with Plex beyond installing it.
You said it, title should be setting up samba for use with Plex. Beyond initial media upload to Plex server, which is much more efficient with ftp anyway, there is no need to use samba at all. Adding media to Plex should be automated, and this is where Couchpotato and the likes comes into play.
-
Now that this has derailed, as the issue been looking into any further? What is the next step there?
-
@JaredBusch That is helpful. So if I'm understanding this correctly, making the directory in root is the issue. I should delete it and then
mkdir /home/samba
, correct? I basically chose the wrong partition. Is there any way to expand root or is that not a great solution? -
@wirestyle22 said in Setting Up Samba for Use with Plex (CentOS 7.2 Minimal):
@JaredBusch That is helpful. So if I'm understanding this correctly, making the directory in root is the issue. I should delete it and then
mkdir /home/samba
, correct? I basically chose the wrong partition right? Is there any way to expand root or is that not a great solution?You could do that but a better option would be to resize the /home volume and create another volume for the media.
-
Another thing to mention,
chcon -t samba_share_t /samba
This does not permanently change the context type. You will want this:
semanage fcontext -a -t samba_share_t "/samba(/.*)?"
Then do
restorecon -R /samba
This will survive a filesystem relabel.
-
@stacksofplates Very helpful. How would I go about performing the actual resize? I have never done that before.
-
@wirestyle22 said in Setting Up Samba for Use with Plex (CentOS 7.2 Minimal):
@stacksofplates Very helpful. How would I go about performing the actual resize? I have never done that before.
Is it actually mounted anywhere yet? Could you show us?
df -h
Might just need to change the mount point from /home.
-
-
@wirestyle22 said in Setting Up Samba for Use with Plex (CentOS 7.2 Minimal):
Yep, you just need to change the line in /etc/fstab that starts
/dev/mapper/centos-home /home
to
/dev/mapper/centos-home /home/samba
Sure, you could resize the partition, but if the box isn't used for anything else it won't cause a problem. /home is normally put on it's own partition to keep users from bringing the OS down due to running out of drive space. If users aren't going to be using anything but the samba share, then that's not going to become an issue.