yum install cifs-utils #安装cifs协议包
#列出远程目录
smbclient -L 192.100.9.165 -Uadministrator
vim /etc/fstab
//192.100.9.165/zhihuiwuxi /storage/samba cifs defaults,username=administrator,password=16001007,uid=500,gid=500
#安装192.100.9.165 zhihuiwuxi目录到本地/storage/samba 指定uid,gid(否则只有root对目录有读写权限)
mount -a