1、yum install samba(安装smb服务器)2、yum install samba-client(安装smb客户端)3、vi /etc/samba/smb.conf(编辑samba文件) 末尾添加: [smbroot] comment = Share Directories 《-共享描述 browseable = yes 《-显示在网上邻居 writable = yes path = /smbroot 《-共享目录 ; public = yes ; security = s