如何把window 7共享盘挂载到centos6.5

xiaoxiao2021-02-28  116

首先,设置好Window防火墙,保障linux可以PING通WINDOW。172.26.5.136

然后,Centos6.5 ,yum安装ntfs-3g

yum install fuse-ntfs-3g

可以使CentOS系统识别NTFS分区

接下来,在window上设置一个共享文件夹。保证可读可写。我这儿起名news365

mount -t cifs -o username=***,password=*** //ip/sharedir /usr/crawler 用mount可以直接查看挂载结果。 解除挂载用umount /usr/crawler 如果出现busy提示。 执行fuser -m -v /usr/crawler 找到进程号,直接kill掉,然后执行umount即可。

然后在centos6.5执行挂载:

参考URL:

http://www.linuxidc.com/Linux/2014-06/103202.htm

http://www.cnblogs.com/xia520pi/p/3540411.html

http://www.cnblogs.com/wander1129/archive/2013/04/09/3009949.html

https://zhidao.baidu.com/question/401964193.html

转载请注明原文地址: https://www.6miu.com/read-68333.html

最新回复(0)