Commit ed656a77 authored by pedrolab's avatar pedrolab

add nfs

parent 404b1ff4
exchange directory, in this example `/nfs`, between two hosts in a LAN
# server
install nfs server
apt install nfs-kernel-server
put in file `/etc/exports/`
/nfs 192.168.95.0/24(rw,sync,no_subtree_check,no_root_squash)
*supposing that 192.168.95.0/24 is the network shared among servers*
# client
install nfs client
apt install nfs-common
put in file `/etc/fstab`
192.168.95.2:/nfs /nfs nfs rw,async,hard,intr,noexec 0 0
*supposing that 192.168.95.1 is the server that hosts the nfs server*
note: you can have as many hosts accessing the files of nfs server as you want
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment