linux 挂载windows 共享盘

安装

ubuntu

apt-get install nfs-common

centos
yum install cifs-utils
yum install nfs-utils

挂载

mount -t cifs -o [email protected],password='xxxxxx',dir_mode=0777,file_mode=0777 //192.168.xxx.xxx/remotedir /opt/localdir

猜你喜欢

转载自blog.csdn.net/ganices/article/details/112799346
今日推荐