Configure a Samba server for user-level resource sharing between Windows computers and Linux computers, and Nine River Network tom[2694339173] teaches you how to operate;
Basic configuration of Samba server
Configure a Samba server for user-level resource sharing between a Windows computer and a Linux computer
I. Installation of SAMBA services
# yum-y Install Samba samba-client
Ii. Creating a Samba directory
# Mkdir/home/samba
# Touch/home/samba/hello
Iii. creating a test user name and password
# Useradd Test
# passwd Test
Iv. set the test account as a Samba account
# SMBPASSWD-A Test
V. Modifying the SMB master configuration file
Workgroup = Workgroup
Description: Sets the workgroup or domain to be joined by Samba Server.
Server string = Samba Server Version%v
Description: Set a note for Samba Server, which can be any string or not. The macro%v indicates the version number of the samba that is displayed.
NetBIOS name = Smbserver
Description: Sets the NetBIOS name of the samba server. If you do not, the first part of the server's DNS name is used by default. NetBIOS name and workgroup names are not set to the same.
[Share]
Comment = Share ' s Service
Path =/home/samba
public = No
writable = yes
Valid users = Test
Vi. Start the SMB service
# service SMB Start
# service NMB Start
Seven, testing
Windows system Open Run = = = "Input \\samba server ip===" Enter samba user name and password
You can see the shared folder after you sign in
Open a shared file to read data
Creates a new file that can be written to
Originally from: http://www.usa-idc.com/
Resources between Windows systems and Linux systems Samba shares "go"