Linux中挂载Windows里共享目录
2021-02-15 12:21
标签:font size yum ado dir system df -h echo file # yum -y install cifs-utils #安装mount.cifs软件包 # mkdir /windows #创建挂载目录windows # mount.cifs //10.0.0.1/sadoc /windows/ -o user=administrator,pass=linux #pass=linux为Windows里administrator用户的登陆系统密码。 # df -h #查看是否成功挂载 Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root 18G 4.3G 13G 26% / tmpfs 490M 0 490M 0% /dev/shm /dev/sda1 477M 64M 388M 15% /boot //10.0.0.1/sadoc 501G 493G 7.5G 99% /windows 添加到开机自动挂载 echo “mount.cifs //10.0.0.1/sadoc /windows/ -o user=administrator,pass=linux” >>/etc/rc.loacl Linux中挂载Windows里共享目录 标签:font size yum ado dir system df -h echo file 原文地址:http://blog.51cto.com/wn2100/2070233
上一篇:C#常见问题总结(三)
文章标题:Linux中挂载Windows里共享目录
文章链接:http://soscw.com/index.php/essay/55654.html