From LORIX One - Wiki
You need a PC running a Linux. Document here is made focused on Ubuntu but others Linux distributions can be used.
The server and client must be in the same network.
Create a NFS server
NFS Server installation
On Ubuntu, you can install it using the following command:
$ sudo apt-get install nfs-kernel-server
You can edit the various exports options by editing the file /etc/exports:
# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # [your server directory to be exported] 192.168.1.0/24(rw,no_root_squash,sync,no_subtree_check)
Restarting the service
Once exports file is configured, the NFS server service must be restarted. The following command can be used:
$ sudo service nfs-kernel-server reload
The mounting status can be verified using the command
$ showmount -e Export list for :
[your server directory to be exported] 192.168.1.0/24
More information can be found on the following links:
Mount the NFS node (client side)
On the client side, your LORIX One, the command is really easy and the NFS client is already installed by default on it.
$ sudo mount -t nfs [server IP address]:[your exported server directory] [directory where NFS node shall be mounted]
A more concrete example:
$ sudo mount -t nfs 192.168.1.100:/home/test/nfs /mnt
Once mounted, the content of the directory /home/test/nfs on your server is binded to the /mnt directory on your LORIX One. It allows you to send/receive files in a very convenient way and can be used to easily debug system or backup configuration files.