ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Setting Up Samba for Use with Plex (CentOS 7.2 Minimal)

    IT Discussion
    plex centos 7.2 how to samba
    10
    37
    9.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @marcinozga
      last edited by

      @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.

      JaredBuschJ 1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch @scottalanmiller
        last edited by

        @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.

        M scottalanmillerS 2 Replies Last reply Reply Quote 1
        • M
          marcinozga @JaredBusch
          last edited by

          @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.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @JaredBusch
            last edited by

            @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.

            dafyreD 1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @scottalanmiller
              last edited by dafyre

              @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.

              M 1 Reply Last reply Reply Quote 0
              • M
                marcinozga @dafyre
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @marcinozga
                  last edited by JaredBusch

                  @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.

                  M 1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender
                    last edited by Dashrender

                    LOL, what's with the next page pointing to the left instead of the typical right?

                    https://i.imgur.com/1pIaT6Z.png

                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @Dashrender
                      last edited by

                      @Dashrender weird

                      1 Reply Last reply Reply Quote 0
                      • M
                        marcinozga @JaredBusch
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • StrongBadS
                          StrongBad
                          last edited by

                          Now that this has derailed, as the issue been looking into any further? What is the next step there?

                          1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @JaredBusch
                            last edited by wirestyle22

                            @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?

                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates @wirestyle22
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates
                                last edited by

                                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.

                                wirestyle22W 1 Reply Last reply Reply Quote 2
                                • wirestyle22W
                                  wirestyle22 @stacksofplates
                                  last edited by wirestyle22

                                  @stacksofplates Very helpful. How would I go about performing the actual resize? I have never done that before.

                                  travisdh1T 1 Reply Last reply Reply Quote 0
                                  • travisdh1T
                                    travisdh1 @wirestyle22
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 1
                                    • wirestyle22W
                                      wirestyle22
                                      last edited by

                                      0_1474935740350_plex.jpg

                                      travisdh1T 1 Reply Last reply Reply Quote 0
                                      • travisdh1T
                                        travisdh1 @wirestyle22
                                        last edited by

                                        @wirestyle22 said in Setting Up Samba for Use with Plex (CentOS 7.2 Minimal):

                                        0_1474935740350_plex.jpg

                                        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.

                                        wirestyle22W travisdh1T 3 Replies Last reply Reply Quote 2
                                        • wirestyle22W
                                          wirestyle22 @travisdh1
                                          last edited by

                                          @travisdh1 Thanks! Testing in a minute.

                                          1 Reply Last reply Reply Quote 1
                                          • travisdh1T
                                            travisdh1 @travisdh1
                                            last edited by

                                            @travisdh1 I might rename the logical volume as well, make sure to unmount /home first.

                                            umount /home
                                            lvrename /dev/centos/home /dev/centos/samba
                                            mount -a
                                            
                                            travisdh1T 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post