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

    Samba Server Configuration in Centos 6.2

    IT Discussion
    centos
    7
    133
    46.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
      last edited by

      Bottom line, Samba is an SMB server. SMB can't be viewed in a browser. The tool that you are using (Samba) does not match your goal (viewing shares in a browser.)

      thanksajdotcomT 1 Reply Last reply Reply Quote 0
      • thanksajdotcomT
        thanksajdotcom @scottalanmiller
        last edited by

        @scottalanmiller said:

        Bottom line, Samba is an SMB server. SMB can't be viewed in a browser. The tool that you are using (Samba) does not match your goal (viewing shares in a browser.)

        That's why I asked if he meant an FTP server and what the context behind his post was.

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

          @thanksajdotcom said:

          That's why I asked if he meant an FTP server and what the context behind his post was.

          WebDAV or FTP, yeah.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            Ugh FTP. Not really a fan of it for the most part.

            1 Reply Last reply Reply Quote 0
            • LakshmanaL
              Lakshmana
              last edited by

              My aim is to check whether the shared access for the RAID configured device works in another new motherboard.So,I need to use SAMBA(FTP) to view the files in the windows explorer.I have tried to create the SAMBA server in Centos machine but it was not able to access in Windows 7 Machine.

              ? scottalanmillerS 2 Replies Last reply Reply Quote 0
              • ?
                A Former User @Lakshmana
                last edited by

                @Lakshmana said:

                My aim is to check whether the shared access for the RAID configured device works in another new motherboard.So,I need to use SAMBA(FTP) to view the files in the windows explorer.I have tried to create the SAMBA server in Centos machine but it was not able to access in Windows 7 Machine.

                Ah so you are wanting SMB shares. What steps have you taken so far to configure it? What did you do to try to access it?

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

                  @Lakshmana said:

                  So,I need to use SAMBA(FTP) to view the files in the windows explorer.

                  Okay this is very confusing. Samba and FTP are completely two different things. Completely.

                  Windows Explorer shows SMB (Samba) shares, and is not a browser.

                  Internet Explorer is a browser and will show FTP.

                  1 Reply Last reply Reply Quote 1
                  • thanksajdotcomT
                    thanksajdotcom
                    last edited by

                    I think he's thinking he has to view the shares in the browser.

                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                    • thanksajdotcomT
                      thanksajdotcom @thanksajdotcom
                      last edited by

                      @thanksajdotcom said:

                      I think he's thinking he has to view the shares in the browser.

                      and he may be equating Explorer to INTERNET Explorer. Two totally different things.

                      1 Reply Last reply Reply Quote 0
                      • thanksajdotcomT
                        thanksajdotcom
                        last edited by

                        @Lakshmana, it sounds like you want a SAMBA server for SMB shares. You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done. The key things are setting up the shares themselves, and the permissions. However, why do you need to setup a SAMBA server to test if a motherboard is working? Isn't the fact something booted and the OS is loading evidence enough?

                        scottalanmillerS LakshmanaL 2 Replies Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @thanksajdotcom
                          last edited by

                          @thanksajdotcom said:

                          You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done.

                          It's the same anywhere, once you've installed which is just "yum install samba"

                          thanksajdotcomT ? 2 Replies Last reply Reply Quote 1
                          • thanksajdotcomT
                            thanksajdotcom @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @thanksajdotcom said:

                            You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done.

                            It's the same anywhere, once you've installed which is just "yum install samba"

                            Ok. I've set it up but I had tutorials I was following. I don't remember all the steps off the top of my head. I know you have to setup shares in the smb.conf file and point to the directories, set permissions, etc. Also, creating groups and/or users is important too.

                            1 Reply Last reply Reply Quote 0
                            • thanksajdotcomT
                              thanksajdotcom
                              last edited by

                              This is an example of one of my shares in my /etc/samba/smb.conf file.

                              [goflex_landcare]
                              comment = GoFlex Landcare
                              path = /media/goflex_landcare
                              available = yes
                              public = yes
                              writable = yes
                              browsable = yes
                              guest ok = yes
                              read only = no
                              create mask = 0755
                              
                              1 Reply Last reply Reply Quote 0
                              • thanksajdotcomT
                                thanksajdotcom
                                last edited by

                                Now, I use the /media/goflex_landcare folder to mount my NAS into, but the principal is the same.

                                1 Reply Last reply Reply Quote 0
                                • LakshmanaL
                                  Lakshmana @thanksajdotcom
                                  last edited by

                                  @thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard

                                  scottalanmillerS thanksajdotcomT ? 4 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    @thanksajdotcom said:

                                    You do not want FTP in this case. SAMBA isn't too bad but setting it up on CentOS isn't something I've done.

                                    It's the same anywhere, once you've installed which is just "yum install samba"

                                    You probably want to install samba-common too and possibly the client.

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

                                      @Lakshmana said:

                                      @thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.

                                      If the box is up, RAID is fixed. It's already tested. RAID cannot impact services. Either the system works or it doesn't, it is black and white.

                                      LakshmanaL 2 Replies Last reply Reply Quote 0
                                      • thanksajdotcomT
                                        thanksajdotcom @Lakshmana
                                        last edited by

                                        @Lakshmana said:

                                        @thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard

                                        Ok, if you're testing if data can be accessed...I'm confused. Is the RAID rebuilt? Can't you just test access locally and verify all the files are there? You could even use something like SCP to copy the files to another Linux box and then see if you can read them from there. That would be easier, IMO.

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

                                          @Lakshmana said:

                                          @thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard

                                          It sounds like you just need to access things the way that they were accessed before. Why do something new?

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @Lakshmana
                                            last edited by

                                            @Lakshmana said:

                                            @thanksajdotcom My client company projects are Centos with RAID1.Last week there was an issue found at RAID 1.So my senior needs to check the basic things are working properly.The motherboard of my client is not working so they are trying to buy the motherboard othr Asus.So we are under going at testing whether the data can be accessed after changing the hard disk in other motherboard

                                            This isn't really the best way to do this. Why does he not just look from the terminal or use SCP to browse the files.

                                            thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 1 / 7
                                            • First post
                                              Last post