Easy Samba installation on RHEL/CentOS 7


Linux System Administrator with over 8 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

21 Responses

  1. Travis says:

    Thanks! This was very helpful!

  2. Wiesel says:

    Very nice! Clear and straight forward!

  3. ye says:

    thanks, your guide is every nice

  4. Clemo says:

    Hey Rasho,

    You have made this tutorial soooo easy !!!! Wow !

  5. nunfather says:

    chmod -R 0755 /samba/anonymous/
    chown -R nobody:nobody /samba/anonymous/

  6. nunfather says:

    chmod -R 0755 /samba/anonymous/
    chown -R nobody:nobody /samba/anonymous/

  7. Yanni says:

    Very Nice. Thank you

  8. Kelum says:

    Good.. Thank you very much.

  9. Rydel Santiago says:

    Thanks you so much rasho. I’m a Microsoft ( infected= addicted) and a greenhorn in Linux-World. Nevertheless your tutorial helped me a lot, thank you for the explanation for dummies ( Screenshot) .

  10. BesOn says:

    Awesome. Thank you for detailed explanations.

  11. Saki says:

    Awesome. Thanks a lot!
    The only thing I had to configure afterwards was to make the secured share to be mounted persistently by using the /etc/fstab file.

  12. Tarun says:

    how to file permission muster folder 777 and same permission to subfolder and file please help me

  13. Rashesh Jani says:

    I have SME Server 9.0 and in these server total fix 6 HDD OS HDD is different other 5 HDD is on Raid 5 today morning i got the error
    The superblock could not be read or dose not describe a correct ext2 filesystem e4fsck -b 8193 ( Device )

    Please help what should i do

  14. Ted says:

    Hello! can i use the same user like (rasho) in more than 10 pc’s with the above settings?
    Thank you.

  15. lalith g says:

    Which is best Free software updates linux distribution which can install samba server,jdk,jre,tomcat,mysql,apache tomcat,glassfish to install. why because i am not able to install samba server in redhat 5/6 version linux- on trying installing i getting error ‘usr/bin/install – cannot execute binary file’

  16. binay says:

    Very good document to learn baisc

  17. Hero says:

    Thanks. that was very usefull, I confused with the samba client.

  18. Yasir Iqbal says:

    Dear All,
    My issue is , my samba share is working fine but Windows Xp and Windows server 2003 machines can not access the share. it gives the error bad username and password. Please help.

    • Samboy says:

      Try setting this up on your Windows XP and other Windows problematic machines:

      if that doesn’t work,

      # add these lines to smb.conf
      lm announce = no
      lanman auth = no
      ntlm auth = no
      client lanman auth = no
      client ntlmv2 auth = yes
      # ——————————————

  19. subhash says:

    Unable to share already existing directory , if i create the folder using the mkdir /home/secure , then it is working. please help

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.