linux samba安装配置

centos yum安装

# yum -y install samba  

查看是否安装

# rpm -qa | grep samba 

 

配置

 

# vim /etc/samba/smb.conf

 

[global]

        security = share

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

 

关闭防火墙

# service iptables stop

 

启动samba

#service smb start

 

windows下访问,直接在cms输入:\\192.168.10.11

你可能感兴趣的:(linux samba安装配置)