![]() If you’re running a ufw firewall on your server, then also we need to add a firewall rule in order that from the client machine we can access the shared folder. This means that the shared folder is not owned by any account or local group and has read and write permissions. In that case, you should change the directory permissions and ownership of the server’s shared folder like this: sudo chown -R nobody:nogroup /home/sharedfolder/ The file needs to look something like this:Īlso, for the folder you shared… if the folder was created by a root user, or with a user with the sudo privileges and from the client machine, you’re using an account which is not root – there could be read and write issues when accessing the folder from the client. Then run the command: sudo exportfs -raĪnd restart the NFS server: sudo systemctl restart rviceĪnd that’s the NFS server configuration part. I will explain the syntax more in detail bellow: /home/sharedfolder 192.168.100.0/24(rw,sync,no_subtree_check) The configuration syntax needs to look something like this(the configuration line will explained in detail). Run this command to access the NFS server config: sudo nano /etc/exports On you server machine, run this command to install NFS: sudo apt install nfs-kernel-server ![]() The client application you install on all other machines from which you use to access the network shared folder/drive on the server.įor this to work, your server machine needs to have a static IP address. The server application, of course you install on the machine of which folder or drive you want to share over the network. ![]() ![]() ![]() NFS tools consists of the server application and client application. The principle behind this process is basically the same – mount a network shared folder or drive from another machine and access it via local network. Earlier on this site, we covered the other method as well where we showed the process mounting the network shared drive on Linux, but with this method we used cifs-utils tools( LINK). In this post, we’ll walk you through a process how to setup NFS server on Debian 10 and the process is same for Debian 11. Sorry – but we no longer include images for Berryboot for the latest versions.How to setup NFS server on Debian 10 Overview ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |