CentOS Install Samba

Source: Internet
Author: User

Yum-y Install Samba samba-client Samba-swat

/ETC/INIT.D/SMB start

Chkconfig--level SMB on

Cp-p/etc/samba/smb.conf/etc/samba/smb.conf.orig

Vim/etc/samba/smb.conf

        #logs split per machine        Log file= /var/Log/samba/%m.Log        #Max 50KB per log file, then rotate;Max LogSize = 50#-----------------------Standalone Server Options------------------------##Security can is set to user, share (deprecated) or server (deprecated)##backend to store user information in. New installations should#Use either Tdbsam or Ldapsam. SMBPASSWD are available for backwards#compatibility. Tdbsam requires no further configuration.Security=Share Passdb Backend=Tdbsam [ Public] Comment= PublicStuff Path= /Samba Public=Yes writable= yes

Service Sam Restart
Service SAB restart

Testpara

Window Client Access

In the network location, right-click to add a network location to add a network such as \\192.168.161.132\public

CentOS Install Samba

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.