samba-Setting up file sharing

Source: Internet
Author: User

There are two computers at home, one for Windows and one for Ubuntu. have been trying to realize the sharing of two computer resources, and today finally achieved success.

Smaba specific introduction Don't say, anyway know, it can create a server, and then let other computers share the resources inside this server

The steps are as follows

1.ubuntu Installation of Smaba applications

sudo Install Samba

2. Create a shared directory, which is a shared directory that other computers can access and change permissions

For example

mkdir Share[email protected] sudo chmod 777 Share

3. Configuring the Smb.conf File

File path

/etc/samba/smb.conf

Add the following to the bottom of the file

Path =/home/zhangshuli/== = = = = 0700 = 0700= Nobody

If you need to set the access password, you can add the following statement

Security = User

4. Access

Under Other computers (window), the command line accesses the share,

// 192.168.8.255/share

192 of them. Is the IP of Ubuntu computer

samba-Setting up file sharing

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.