Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 342 Bytes

linux挂载windows共享文件夹.md

File metadata and controls

16 lines (16 loc) · 342 Bytes

创建文件夹

$ mkdir -p /mnt/share

安装依赖

$ yum install  cifs-utils

修改/etc/fstab文件,文件最后加入:

//192.168.16.32/serverapp /mnt/share cifs  defaults  0 0

执行命令

mount -t cifs -o username='administrator',password='**'  //192.168.16.32/serverapp /mnt/share