6
Mar
Linux NFS
Server side
yum install nfs-utils systemctl enable rpcbind systemctl enable nfs-server systemctl enable nfs-lock systemctl enable nfs-idmap systemctl start rpcbind systemctl start nfs-server systemctl start nfs-lock systemctl start nfs-idmap
vi /etc/exports
/_ISOs *(rw,sync,no_subtree_check,insecure)
mkdir -p /_ISOs
chmod -R 777 /_ISOs
exportfs -rav
exportfs -v
showmount -e
systemctl stop nfs-server
systemctl start nfs-server
systemctl status nfs-server
Client side
yum install nfs-utils
mkdir /_ISOs
mount -t nfs <serverIP>:/_ISOs /_ISOs/
This entry was posted
on Sunday, March 6th, 2022 at 7:24 am and is filed under Mẹo vặt của hiếu râu.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.