挂接windows文件共享到linux

yum install samba   #挂接必须使用Samba包

mkdir -p /mnt/samba #新建空目录作为挂接点

mount -t cifs -o username=Administrator,password=sxh-=0911. //ip/c$ /mnt/samba/  #将共享windows挂接到/mnt/samba目录

 

posted @ 2020-06-08 10:30  The-End-Ronin  阅读(162)  评论(0编辑  收藏  举报