Mount Windows shared directory on Linux 1. Sharing Windows folders
Before mounting, create a user with a password (which the current user can), share the folder you want to mount, and give read and write permissions
,
2. Mount the Windows shared directory
Command: mount-t cifs-o username=zhz,password=123456//10.0.10.1/trunk/data/developer/test
3. Use Mount-l to see if the mount is successful
4. Uninstall the shared directory that is already mounted umount/data/developer/test
Linux folder 1 is mounted on Windows. Install SAMBA2. Create an AccountUseradd-m-G-yourName
Smbpasswd-a YourName
3. Modify the configuration file vim/etc/samba/smb.conf[YourName]
Comment = Web root
Path =/data/developer/yourname/shared
Read Only = no
Public = yes
writable = yes
Create mask = 0777
Directory mask = 0777
Valid users = YourName
4. Restart Samba,service SMB restart5. Test if you can connectAccess in Windows Explorer: \ \ Test Machine Ip\yourname
Objective:
1. File transfer between the machine and the test machine
2. Native debug code, Linux environment running