Linux servers are known as the primary operating system platform for enterprise deployment applications, but the main operational platform for the enterprise is windows, so that the sharing of folders between Linux and Windows is particularly important, and this article implements Linux and Windows in VM virtual machines. The sharing of folders between the articles will be updated regularly to achieve refinement and comprehensiveness.
VM VMs are deployed in Ubuntu15.10, which intends to migrate the computer platform to Linux later in the virtual machine to master the basic commands in Linux. A workaround for sharing issues between Linux and folders in Windows:
Basic Operations for folder sharing (Ubuntu):
First: Update the package library first, sudo apt-get update
Second: Install the package, sudo apt-get install samba samba-commom
Third: Check to see if the installation is complete. Dpkg-l Samba Display Installation complete
IV: Create a shared folder path. Built here in/home/share. sudo mkdir/home/share
Five: Change the permissions of the newly created folder to 777 permissions. sudo chmod 777/home/share
Sixth: Configure the smb.conf file, this file is the Samba profile. The following are the functions of the statements in this file:
Includes four sets of sections:
1. [Global] Set the environment options
2. [Homes] Set User host directory Share
3. [Printers] set up printer Sharing
4. [Sharefiles] Set up file sharing
The main function of the fourth segment is to set the contents of the shared folder:
A,path = You can set where to share the directory;
B,writeable whether can write, here I set as writable;
C,whether the browseable can be browsed, can be browsed means that we can see the shared folder under the workgroup. If you don't want to show it, set it to Browseable=no
D,guest OK anonymous user as guest identity is logged in;
It is common to add folder sharing settings at the end of the configuration file, and once successfully added, you can share files from Linux in Windows. (Note that the above configuration is a configuration method that allows anonymous users to access Linux.) )
This article is from the "9651854" blog, please be sure to keep this source http://9661854.blog.51cto.com/9651854/1748955
Sharing of folders between Windows and Linux (the Samba implementation method)