NFS Server

From wiki
Revision as of 20:55, 23 March 2022 by Mike (talk | contribs) (Created page with "yum install nfs-utils mkdir /var/nfs/elastic chmod -R 755 /var/nfs/elastic 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 vim /etc/exports /var/nfs/elastic *(rw,sync,no_root_squash,no_all_squash)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

yum install nfs-utils

mkdir /var/nfs/elastic

chmod -R 755 /var/nfs/elastic

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

vim /etc/exports

/var/nfs/elastic *(rw,sync,no_root_squash,no_all_squash)