Changes

Jump to navigation Jump to search
Line 23: Line 23:  
/etc/exports
 
/etc/exports
 
  # Save all files with user:group = nobody:nogroup
 
  # Save all files with user:group = nobody:nogroup
  /home/client1          192.168.0.101(rw,sync,no_subtree_check)
+
  /home/client1          192.168.0.0/24 (rw,sync,no_subtree_check)
 
  # Preserve files ownership and permissions (no_root_squash allows root to access folder)
 
  # Preserve files ownership and permissions (no_root_squash allows root to access folder)
  /var/www        192.168.0.101(rw,sync,fsid=0,crossmnt,no_subtree_check,no_root_squash)
+
  /var/www        192.168.0.101/32 (rw,sync,fsid=0,crossmnt,no_subtree_check,no_root_squash)
    
Restart the nfs server
 
Restart the nfs server

Navigation menu