Linux挂载window共享
- 挂载命令
1
mount -t cifs //192.168.2.2/share /151.2_share -o username=samba,password=samba,iocharset=utf-8
- 开机启动挂载
1
2#vim /etc/fstab
//192.168.2.2/share /151.2_share cifs defaults,username=samba,password=samba
参考
How to mount Windows share on Red Hat Enterprise Linux system using CIFS?