Installing the Network File System (NFS) under the CentOS6 series

Source: Internet
Author: User

NFS Introduction: (Encyclopedia)

The NFS ( Network File system) , which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can transparently read and write to files located on the remote NFS server, just as you would access a local file.


IP planning

Server: 192.168.0.135 client: 192.168.0.134

Access control:

Service Iptales Stop chkconfig iptables stop sed-i "s/selinux=enforeing/selinux=disabled/g"/etc/sysconf Ig/selinux

One: Install. Under CentOS6 version

Yum Install nfs-utils rpcbind-y

Two: Start

Service NFS Start Service Rpcbind start

Three: Create a shared directory

192.168.0.135 Mkdir/web Touch/web/1.txt

Four: Configure the exports file

Vi/etc/exports/web 192.168.0.0/24 (Rw,no_root_squash)

V: View the server-side shared folders

SHOWMOUNT-E 192.168.0.135

VI: Client Mount

Mount-t NFS 192.168.0.135:/web/web-o RW

Seven: Boot mount

Vi/etc/fstab 192.168.0.135:/web/web NFS Defaults 0 0



This article from the "Do not ask for the best, only better" blog, please be sure to keep this source http://yujianglei.blog.51cto.com/7215578/1731264

Installing the Network File System (NFS) under the CentOS6 series

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.