last time I made a the linux samba file share, which allows Windows to access the linux shared files directory, Do a shared file in Windows today or use software to make Linux hosts accessible to Windows Shared files and directories. The actual operation is the focus.
experimental Purpose: Using Linux accesses windows shared files.
Experimental steps: Mainly in two ways, the first is the use of Xshell,xftp software directly dragged, and then in the Linux You can use the files found in the system.
The second is to share the file directory in Windows, then use commands in Linux to access it , and finally mount and use it.
First , the first direct point of the method of "Using Software", the name of the software called Xshell and xftp, where Xshell is the command tool,xftp is a graphical interface tool. Open the Linux virtual machine to view the connected network card. Connect as vmnet1 as shown.
650) this.width=650; "style=" Float:none; "title=" Picture 1.png "src=" http://s3.51cto.com/wyfs02/M01/6E/86/wKioL1V_ Aihrgeqaaaj6uy4pi-i501.jpg "alt=" Wkiol1v_aihrgeqaaaj6uy4pi-i501.jpg "/>
Host-only mode is actually VMnet 1 network card mode, to view the host's vmnet1 network card configuration, and the Linux virtual machine in the same network segment, The IP address of my Linux virtual machine is 192.168.100.50.
650) this.width=650; "style=" Float:none; "title=" Picture 2.png "src=" http://s3.51cto.com/wyfs02/M01/6E/8B/wKiom1V_ Ztsxvnpnaaslzvmmthw752.jpg "alt=" Wkiom1v_ztsxvnpnaaslzvmmthw752.jpg "/>
in the in windows Download and install the two packages, first loaded Xshell re-installed xftp ( the installation steps in Windows are no longer verbose. ).
650) this.width=650; "style=" Float:none; "title=" Picture 3.png "src=" http://s3.51cto.com/wyfs02/M02/6E/86/wKioL1V_ Aihh151raakixnbqelm834.jpg "alt=" Wkiol1v_aihh151raakixnbqelm834.jpg "/>
after installation is complete xshell program. Click new Create a new connection, and then host input linux host's ip Span style= "font-family: ' The song Body '; > address, ssh way Span style= "font-family: ' Times New Roman ';" >22 port login, if you need to change the language settings, click terminal set.
650) this.width=650; "style=" Float:none; "title=" Picture 4.png "src=" http://s3.51cto.com/wyfs02/M02/6E/8B/wKiom1V_ Ztth2zygaaprd8tfalq513.jpg "alt=" Wkiom1v_ztth2zygaaprd8tfalq513.jpg "/>
above Click after OK, go to the following interface, select the host IP address that you want to link to connect by clicking Connect .
650) this.width=650; "style=" Float:none; "title=" Picture 5.png "src=" http://s3.51cto.com/wyfs02/M00/6E/86/wKioL1V_ Aila0qjsaagfzi09eqi587.jpg "alt=" Wkiol1v_aila0qjsaagfzi09eqi587.jpg "/>
Then it automatically jumps out of the box and selects the middle to accept the save.
650) this.width=650; "style=" Float:none; "title=" Picture 6.png "src=" http://s3.51cto.com/wyfs02/M00/6E/8B/wKiom1V_ Zttwt6rvaaemftsk-ym148.jpg "alt=" Wkiom1v_zttwt6rvaaemftsk-ym148.jpg "/>
Prompt to enter the user name information, the following if the next connection will be connected directly.
650) this.width=650; "style=" Float:none; "title=" Picture 7.png "src=" http://s3.51cto.com/wyfs02/M01/6E/86/wKioL1V_ Ailrejexaadi3-jijdg634.jpg "alt=" Wkiol1v_ailrejexaadi3-jijdg634.jpg "/>
Prompt to enter the user password.
650) this.width=650; "style=" Float:none; "title=" Picture 8.png "src=" http://s3.51cto.com/wyfs02/M01/6E/8B/wKiom1V_ Ztsxcxsyaagz6gcudye014.jpg "alt=" Wkiom1v_ztsxcxsyaagz6gcudye014.jpg "/>
that's it. Xshell landed on the official completion. To operate xftp, click the xftp icon in the upper right corner to automatically open the xftp software.
650) this.width=650; "style=" Float:none; "title=" Picture 9.png "src=" http://s3.51cto.com/wyfs02/M02/6E/86/wKioL1V_ Aikiqxozaag_q_9qtm4006.jpg "alt=" Wkiol1v_aikiqxozaag_q_9qtm4006.jpg "/>
in the Open interface, the left side is All the files of Windows host, the right is the Linux virtual machine All the files, need to use what software or source code package can be directly dragged to Linux can be used.
650) this.width=650; "style=" Float:none; "title=" Picture 10.png "src=" http://s3.51cto.com/wyfs02/M02/6E/8B/wKiom1V_ Ztxsthu0aav9kre9a2w250.jpg "alt=" Wkiom1v_ztxsthu0aav9kre9a2w250.jpg "/>
Here's another way, and it's also a very important way (because not all places are so simple that you can connect using other software). First Open the guest Guest user for the Windows computer , right-click computer → manage, right-click to select The properties of guest, Then the account has been disabled to remove the check is OK .
650) this.width=650; "style=" Float:none; "title=" Picture 11.png "src=" http://s3.51cto.com/wyfs02/M00/6E/86/wKioL1V_ Aiobnc1laaimdabs59y883.jpg "alt=" Wkiol1v_aiobnc1laaimdabs59y883.jpg "/>
then you create a shared directory file that you want to share with The files accessed by the Linux host are placed in a directory and then set to shared . In this case, you need to be aware of the permissions information,NTFS and users need to have access to the line.
650) this.width=650; "style=" Float:none; "title=" Picture 12.png "src=" http://s3.51cto.com/wyfs02/M00/6E/8B/wKiom1V_ Ztwinmnfaapbla5niwk521.jpg "alt=" Wkiom1v_ztwinmnfaapbla5niwk521.jpg "/>
Continue with the policy setting on Windows , enter the command secpol.msc Open the Local Security policy, click the security option in the local policy, and modify it to "guest only" as shown.
650) this.width=650; "style=" Float:none; "title=" Picture 13.png "src=" http://s3.51cto.com/wyfs02/M01/6E/86/wKioL1V_ Aipszaj4aau8brq7lqu613.jpg "alt=" Wkiol1v_aipszaj4aau8brq7lqu613.jpg "/>
then set the user rights assignment by default where the "Deny access to this computer from the network" is available Guest , double-click inside to delete the guest user.
650) this.width=650; "style=" Float:none; "title=" Picture 14.png "src=" http://s3.51cto.com/wyfs02/M01/6E/8B/wKiom1V_ Ztayqncpaartlzctwss324.jpg "alt=" Wkiom1v_ztayqncpaartlzctwss324.jpg "/>
and then in Use "smbclient-l// IP Address" in Linux View the shared directory, and then use the Mount.cifs mount share, if not mounted, the files in the directory need to be downloaded to Linux Systems before it can be used normally.
650) this.width=650; "style=" Float:none; "title=" Picture 15.png "src=" http://s3.51cto.com/wyfs02/M02/6E/86/wKioL1V_ Aisxtbogaavx8ilfkii934.jpg "alt=" Wkiol1v_aisxtbogaavx8ilfkii934.jpg "/>
Use When the CD is switched to the Mount directory,ls can view the files under the directory, and it can be used normally.
650) this.width=650; "style=" Float:none; "title=" Picture 16.png "src=" http://s3.51cto.com/wyfs02/M02/6E/8B/wKiom1V_ Ztfjdfw6aamdrfeiovs508.jpg "alt=" Wkiom1v_ztfjdfw6aamdrfeiovs508.jpg "/>
Experience Summary: It is important to note that any directory or folder after it is mounted can no longer create anything, because the directory after the mount is used as a CD-ROM container. Experiment Done! Thank you! Please support!
Xshell and xftp If you need anything, please download it in my reply.
This article from "Bluebird Rogue Regiment @ Granville" blog, please be sure to keep this source http://zhang2015.blog.51cto.com/9735109/1662211
Two ways to access Windows shared files using Linux