Install Samba (anonymous) Sharing server in CentOS 6.4

Source: Internet
Author: User

I. Samba Introduction
Samba is a software that allows Linux systems to Apply Microsoft network communication protocols. SMB is short for Server Message Block, that is, Server Message Block. SMB is mainly used as Microsoft network communication protocol, later, Samba applied the SMB communication protocol to the Linux system, forming the current Samba software. Later, Microsoft renamed smb cifs (Common Internet File System), a public Internet File System, and added many new functions, this makes Samba more powerful.

Samba can be used for file sharing and print sharing between Linux and windows systems. Samba can be used for file sharing between windows and Linux, it can also be used for resource sharing between Linux and Linux. Because NFS (Network File System) can well achieve data sharing between Linux and Linux, samba is widely used for data sharing between Linux and windows.

SMB is a client/server-based protocol. Therefore, a Samba server can act as both a file sharing server and a Samba client. For example, A Samba server has been set up in Linux, and the windows client can share the resource files on the Samba server through the SMB protocol. At the same time, the Samba server can also access files shared by other windows or Linux systems on the network.
Samba uses the NetBIOS protocol in windows. If you want to use files shared in Linux, check whether the NetBIOS protocol is installed in your windows system.

One of the two services that make up Samba to run is SMB and the other is NMB. SMB is the core startup service of Samba and is mainly responsible for establishing conversations between the Linux Samba server and the Samba client, verify the identity of the user and provide access to the file and print system. Only when the SMB service is started can file sharing be realized. Listen to the 139 TCP End.


[Root @ bind ~] # Rpm-qa | grep samba
Samba-common-3.6.9-151.el6.x86_64
Samba-swat-3.6.9-151.el6.x86_64
Samba-winbind-clients-3.6.9-151.el6.x86_64
Samba-winbind-3.6.9-151.el6.x86_64
Samba-client-3.6.9-151.el6.x86_64
Samba-3.6.9-151.el6.x86_64 port; and NMB Service is responsible for the resolution, similar to the functions of DNS, NMB can be the Linux system shared workgroup name corresponds to its IP, if the NMB service does not start, you can only access shared files through IP addresses and listen to UDP ports 137 and 138.
Ii. Installation
My installation environment is configured in the VMware virtual machine, and the online server is in the same network segment as the real machine; CentOS6.4 x86; Selinux is disabled
1. Install samba software packages
# Yum install samba-y # ensure that the file can be connected to the Internet. If the file cannot be connected to the Internet, you can attach a CD to install the corresponding software.
2. Check the installed software package
[Root @ bind ~] # Rpm-qa | grep samba
Samba-common-3.6.9-151.el6.x86_64 // mainly provides the setup file and Setup File Syntax validation program testparm for the samba server

Samba-swat-3.6.9-151.el6.x86_64
Samba-winbind-clients-3.6.9-151.el6.x86_64
Samba-winbind-3.6.9-151.el6.x86_64
Samba-client-3.6.9-151.el6.x86_64 // client software, mainly provides linux host as the client, the required tool instruction set

Samba-3.6.9-151.el6.x86_64 // server software, mainly providing samba server daemon, sharing documents, log rotation, boot default options

Samba details: click here
Samba: click here

Samba file sharing-heterogeneous Communication

The speed of accessing samba from Ubuntu dual Nic of VMWare Virtual Machine doubles

Add the Samba File Sharing Server to the Windows Server 2003 Domain

Samba installation Configuration

Samba service configuration in CentOS 6.2

How to Build the Win7 + VMware + Fedora18 Samba Server

  • 1
  • 2
  • 3
  • Next Page

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.