Linux Installation Configuration NFS Tutorial (CentOS 6.5)

Source: Internet
Author: User

First, the service side installs nfs1.1 installs
Yum Install -yuminstall -y nfs-utils
1.2 Configuring NFS Shared Directories

Here is an example of the/nfs catalogue

mkdir /NFS                          #创建共享目录 chown -R nfsnobody:nfsnobody/nfs   #nfsnobody是nfs的默认启动用户
Cat >>/etc/exports << EOF
/nfs 192.168.220.0/24 (Rw,sync)
Eof
1.3 Starting NFS
Service Rpcbind start     #先启动rpcbind, otherwise cannot start Nfsservice NFS start

Ii. Client Connection to NFS

Here take Kali as the client for example, Redhat system similar meaning operation can

2.1 Installing NFS
Install nfs-commonmkdir /mnt/192.168. 220.128 Mount -t  172.16.  1.31:/nfs/mnt/nfs

The last column can see a successful mount

Reference:

Https://www.linuxidc.com/Linux/2017-01/139886.htm

Https://www.linuxidc.com/Linux/2014-04/100496.htm

Linux Installation Configuration NFS Tutorial (CentOS 6.5)

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.