Build a Samba server in centos 6.5

Source: Internet
Author: User

Objective: To access the centos 6.5 root user desktop/zs folder in Windows 7

1. Install samba

 
Yum install-y samba *

2. Configure samba

 
# First back up the default configuration file
CP/etc/samba/smb. conf/etc/samba/smb. conf. Backup
# Changing the configuration file
VI/etc/samba/smb. conf

For simplicity, use the following content to overwrite the original content.

# Configuration section[Global]
Workgroup = workgroup
# Working Group (you can set it yourself)
Server String = samba
# Set the Samba server name [You can change it yourself]
NetBIOS name = zsss
# Set the server access alias [You can change it by yourself]
Security = user
# Set the Samba server security level to user, that is
Access with account and password
[Ntopng]
# Shared directory seen in Windows Network neighbors
Name
Path =/root/desktop/zs
# Shared file address
Public = No
# Do not disclose Directories
Writeable = Yes
# The shared directory can be read and written.
Valid user = root
# Only root users are allowed to access
Browseable = Yes

 

Build a Samba server in centos 6.5

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.