Linux enables Windows file sharing through the Samba server

Source: Internet
Author: User
Tags firewall

Environment

Red Hat Linux 9 + Windows 7 Ultimate

Problem

Linux enables Windows file sharing through the Samba server

Solve

1. In order to achieve file sharing, Linux and Windows Firewall must be closed;

Under Linux, use the following command to turn off the firewall:

Service Iptables Stop

2.Windows 7 to create a new shared file, about how to set up, refer to this article;

3.Linux--------> Boot Samba server

Service SMB Start

4.Linux-------> System settings--------> Server settings-------->samba server--------> Add--------> as follows:

5. Preferences--------> Server Settings--------> Security--------> Authentication Mode Select "Share"--------> Encryption Password Select "No"--------> Guest Account Select "Root"------ --> determined;

6. Preferences------->samba users-------> Add users;

7. Reboot the samba server;

Service SMB Restart

8.Windows access to the shared files that Linux just set--------> Open Explorer--------> input

\\192.168.223.100

9.Linux share file access to Windows Settings--------> execute the following command-------->

Mount//192.168.223.1/share/mnt/cdrom

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.