Sharing of folders between Windows and Linux (the Samba implementation method)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.