smba远程挂载

2016/01/26 linux

挂载远程smba共享目录

客户机需要安装cfis-utils

yum -y install cifs-utils

在本地执行远程挂载命令

mount -t cifs -o username=admin,password=admin888 //172.17.163.203/data/www/ /data/mount
其中username为smba用户名,否则将出错,/data/mount为本地挂载目录
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Search

    Table of Contents