Linux samba installation and configuration

centos yum installation

# yum -y install samba  

Check if it is installed

#rpm -qa | grep samba 

 

configure

 

# vim /etc/samba/smb.conf

 

[global]

        security = share

[public]
        path = /home/samba
        writable = yes
        browseable = yes
        guest ok = yes

 

turn off firewall

# service iptables stop

 

start samba

#service smb start

 

Access under windows, enter directly in cms: \\192.168.10.11

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326776083&siteId=291194637