Quickly build SAMBA, and shared access and Windows
System environment:
CentOS Linux release 7.6.1810 (Core)
SAMBA installed
yum install samba
SAMBA version
samba-4.8.3-4.el7.x86_64
Create a SAMBA user
useradd sambauser
SAMBA user to create a password
smbpasswd -a sambauser
SAMBA edit the configuration file, comment out the [homes] and [printers] fields, create custom fields share
vim /etc/samba/smb.conf
Description: Shared name displayed on Windows: linux_share; shared directory on linux / app
Start SMB service
systemctl start smb
Verify SMB service started successfully active (running)
systemctl status smb
Windows end address, enter the SMB server running RUN
For example: \\ 192.168.1.100
Enter your username and password
Username: \\ 192.168.1.100 \ sambauser
Password: **