NFS sharing settings

First, install the required software environment
[root @ fengling ~] # yum -y install rpcbind nfs-utils
Second, create a shared directory
mkdir / web
Third, start the service
[root @ Fengling ~] # systemctl Start the rpcbind
[root @ Fengling ~ ] # systemctl start nfs
Fourth, the share directory information to the configuration file
[root @ Fengling ~] # CAT / etc / Exports
/ Web 49.232.149.234 (rw) # ip shared directory location which can be used to read and write privileges have shared
Fifth, make sure to take effect, restart the service
[root @ Fengling ~] # systemctl Start rpcbind
[root @ Fengling ~] # systemctl Start nfs
Note: first start the service and then start the rpcbind nfs

Guess you like

Origin www.cnblogs.com/ZCQ123456/p/11576641.html