手动挂载smb

1
2
3
sudo yum install -y cifs-utils

sudo mount -t cifs //192.168.0.10/nfs_mount /home/dev_user/mount -o username=guest,password=guest,vers=3.0,gid=1000,uid=1000,file_mode=0777,dir_mode=0777

自动挂载

1
2
3
vim /etc/fstab

//192.168.0.10/nfs_mount /home/dev_user/mount cifs username=guest,password=guest,vers=3.0,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0