Linux network services 12--NFS Shared Services

Source: Internet
Author: User

Linux Network services -NFS Shared Services I. introduction to NFS

Port number: TCP,UDP 111 Ports

TheNFSNetwork File system, a Network File system protocol based on TCP/IP transmission, was originally Company Development. By using the NFS protocol, clients can access shared resources on a remote server as if they were accessing a local directory.

NFS does not have a user authentication mechanism, and the data is transmitted in clear text on the network, so the security is very poor, generally can only be used in the LAN. The implementation of the NFS service relies on the RPC(remoteprocess Call) remoting mechanism, To complete the remote-to-local mapping process.

in the The CentOS 6 system requires the installation of nfs-utils,rpcbind packages to provide NFS sharing Services, the former for NFS shared Publishing and access, which is used for RPC support.

ii. Publishing shared resources using NFS (server side)

Modify the Master profile /etc/exports(this file is an empty file)

RW: Read and write

RO: Read-only

Sync: Synchronous Write

No_root_squash: gives the local root permissionwhen the client is accessed as root (default is root_squash , will act as Nfsnobody user down Right treatment)

wildcard characters are allowed:? *

three , accessing in the client NFS shared resources

Modify the 192.168.1.108 machine /crushlinux/index.html file, refresh the browser to see if it is synchronized

Modify the/etc/fstab table to enable automatic mount on boot

Linux network services 12--NFS Shared Services

Related Article

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.