Build Server File Sharing CIFS, NFS, Samba

Source: Internet
Author: User

CIFS:

In Microsoft, a mechanism is used for network neighbor sharing. In Linux, you can also mount the shared file directory by running the Mount-t cifs... command.


NFS:

The file sharing mode between Linux systems is based on the RPC server mode. The Mount-t nfs command is detailed as follows:
The services used by the software rpcbind and nfs-utils to build an NFS server include service rpcbind NFS nfslock. The configuration file is/etc/exports. You can set the directory to be shared. Then, you can bind the rpc port to/etc/sysconfig/NFS to fix the port of the NFS service and then set the firewall traffic (including 111,2049 and bound ports ), smooth external service provision.


Samba:

Samba is developed based on the NetBIOS protocol. At first, Microsoft's network architecture adopted Netbios for communication, so in order to be able to join the Windows system, Linux developed the samba architecture on NETBIOS for implementation. The command is also mount-t cifs. The details are as follows:
To build a Samba server, you must use the software Samba and samba-client. The services used include SMB and nmb. The configuration file is in/etc/samba/smb. conf, you can set various permission file directories, and then port 137,138,139,445. By activating the firewall and so on, after starting the service, you can implement Linux and Windows file servers that can be shared at the same time.

The above three mechanisms are commonly used for file sharing within the lan. The functions are true and good, and everything works on the network. FTP servers are commonly used in the Internet.

Build Server File Sharing CIFS, NFS, Samba

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.