debian 宝塔挂在windows 共享文件夹--CIFS协议

发布于 / 随记 / 0条评论 / Tags: linux / 10 次浏览

1.安装cifs-utils

su root
apt update
apt install cifs-utils
  1. 创建文件夹并挂载,注意替换为你的密码

    mkdir -p /www/wwwroot/win
    
    mount -t cifs -o user=shenfeng,pass=<password>,dir_mode=0777,file_mode=0777 //DESKTOP-FFPK9P7/all /www/wwwroot/win
    

    评论区(暂无评论)