centos install samba

1 Installation

yum install samba samba-client samba-common -y 

2 Configuration

Vim / etc / Samba / the smb.conf 
at the bottom increasing 
[wolbo] 
        path = / Home / wolbo 
        browseable, = Yes 
        Writable = Yes 
        Valid Users = the root

3 users increase

# Add the root user to smb users 
the smbpasswd -a root 
# modify a shared directory permissions 
chmod -R 0755 / Home / wolbo       
# modify the directory owner 
chown -R root: root / Home / wolbo

4 launch configuration

Start Service 
systemctl Start smb.service # boot from Kai systemctl enable smb.servic

Reference:  https://www.cnblogs.com/x2x3/p/7451366.html

Guess you like

Origin www.cnblogs.com/wolbo/p/11900876.html