Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set up samba sharing service

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Samba is one of the open source software projects that implements Microsoft's SMB/CIFS network protocol in Linux/UNIX operating systems, making it easier to share files across platforms.

1. Samba service program component

1) samba smbd service

Provide resource sharing services to users or hosts

smbd uses TCP protocol to communicate

SMB provides resource sharing services to Linux users using TCP/139 port

CISFS Universal Internet File System, Windows User Provides Resource Access Services Using TCP Port 445

2) samba nmbd service

Domain name resolution for users

The nmbd service uses UDP protocol using ports 137 and 138

3) samba master configuration file location

4) Samba master configuration file contains content

5) Meaning of configuration items in global configuration file

6) Shared Directory Settings Options

Install Samba

1. Filter samba related software

2. Configure yum installation

1) Configure local yum source

2) Mount the system disk to the/mnt directory

3) Install samba, install server and client

3. Create samba user database

1) Create a system account

2) View Samba accounts

3) Marry in a Samba account

4) Create a data-sharing root directory

4. Modify the smb.conf configuration file to set sharing

1) Modify samba master configuration file

2) Check whether the master configuration file is wrong

3) Start samba service setup service

4) Open a win7 virtual machine and set up network access on the same network segment.

5. Modify master profile settings to allow tom accounts to write data marry read shared data

1) Modify the master configuration file

If the client is unable to access, check whether the client firewall and selinux firewall are closed, and whether the permissions of the group are given to all permissions.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report