{"id":7242,"date":"2018-11-16T19:56:24","date_gmt":"2018-11-16T16:56:24","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/install-nfs-server-and-client-on-debian\/"},"modified":"2018-11-16T19:56:24","modified_gmt":"2018-11-16T16:56:24","slug":"setting-up-an-nfs-server-and-client-on-debian-9-stretch","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/setting-up-an-nfs-server-and-client-on-debian-9-stretch\/","title":{"rendered":"Setting up an NFS Server and Client on Debian 9 (Stretch)"},"content":{"rendered":"<div><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/11\/setting-up-an-nfs-server-and-client-on-debian-9-stretch.jpg\" class=\"ff-og-image-inserted\" alt=\"\" title=\"\"><\/div>\n<p>This guide explains how to set up an NFS server and an NFS client on Debian 9. NFS stands for <i>Network File System<\/i>; through NFS, a client can access (read, write) a remote share on an NFS server as if it was on the local hard disk. In this Tutorial, I will show you two different NFS exports, the export of a client directory that stores files as user nobody\/nogroup without preserving filesystem permissions and a export of the \/var\/www directory which preserves permissions and ownership of files, as required on a hosting server setup.<\/p>\n<h2 id=\"-preliminary-note\">1 Preliminary Note<\/h2>\n<p>I&#8217;m using two Debian Wheezy systems here:<\/p>\n<ul>\n<li>NFS Server: <span class=\"system\">server.example.com<\/span>, IP address: <span class=\"system\">192.168.1.100<\/span><\/li>\n<li>NFS Client: <span class=\"system\">client.example.com<\/span>, IP address: <span class=\"system\">192.168.1.101<\/span><\/li>\n<\/ul>\n<h2 id=\"-installing-nfs\">2 Installing NFS<\/h2>\n<p>Ensure that the server is up to date by updating the package lists and install pending updates on both servers<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">apt-get update<\/code><\/pre>\n<pre class=\"command\"><code spellcheck=\"false\">apt-get upgrade<\/code><\/pre>\n<p>Then continue with the NFS server and client installation.<\/p>\n<p class=\"highlight\">server:<\/p>\n<p>On the NFS server we run:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">apt-get install nfs-kernel-server nfs-common<\/code><\/pre>\n<p>Then we create the system startup links for the NFS server and start it:<\/p>\n<p class=\"highlight\">client:<\/p>\n<p>On the client we can install NFS as follows (this is actually the same as on the server):<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">apt-get install nfs-common<\/code><\/pre>\n<h2 id=\"-exporting-directories-on-the-server\">3 Exporting Directories on the Server<\/h2>\n<p class=\"highlight\">server:<\/p>\n<p>I&#8217;d like to make the directories <span class=\"system\">\/home\/client1<\/span> and <span class=\"system\">\/var\/www<\/span> accessible to the client to show the two different access modes of the NFS server. The directory <span class=\"system\">\/home\/client1<\/span> is shared in standard mode, so all files written to this directory are stored as user nobody and group nogroup. For the directory <span class=\"system\">\/var\/www<\/span> I use the no_root_squash option which instructs the NFS server to preserve permissions and ownership of the files. This is e.g. required when you like to export the <span class=\"system\">\/var\/www<\/span> directory of a web server managed with <a href=\"http:\/\/www.ispconfig.org\/\" mce_real_href=\"http:\/\/www.ispconfig.org\" target=\"_blank\" rel=\"noopener\">ISPConfig 3<\/a><\/p>\n<p>First, I&#8217;ll create the <span class=\"system\">\/home\/client1<\/span> directory<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mkdir \/home\/client1<br\/>chown nobody:nogroup \/home\/client1<br\/>chmod 755 \/home\/client1<\/code><\/pre>\n<p>The \/var\/www directory exists most likely on your server. If not, then create it:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mkdir \/var\/www<br\/>chown root:root \/var\/www<br\/>chmod 755 \/var\/www<\/code><\/pre>\n<p>Now we must modify <span class=\"system\">\/etc\/exports<\/span> where we &#8220;export&#8221; our NFS shares. We specify <span class=\"system\">\/home\/client1<\/span> and <span class=\"system\">\/var\/www<\/span> as NFS shares and tell NFS to make accesses to <span class=\"system\">\/home\/client1<\/span> as user nobody (to learn more about <span class=\"system\">\/etc\/exports<\/span>, its format and available options, take a look at<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">man 5 exports<\/code><\/pre>\n<p>)<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">nano \/etc\/exports<\/code><\/pre>\n<pre>\/home\/client1 192.168.1.101(rw,sync,no_subtree_check)&#13;\n\/var\/www 192.168.1.101(rw,sync,fsid=0,crossmnt,no_subtree_check,no_root_squash)<\/pre>\n<p>(The <span class=\"system\">no_root_squash<\/span> option makes that <span class=\"system\">\/var\/www<\/span> will be accessed as root.)<\/p>\n<p>To apply the changes in <span class=\"system\">\/etc\/exports<\/span>, we restart the kernel nfs server<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">service nfs-kernel-server restart<\/code><\/pre>\n<h2 id=\"-mounting-the-nfs-shares-on-the-client\">4 Mounting the NFS shares on the Client<\/h2>\n<p class=\"highlight\">client:<\/p>\n<p>First, we create the directories where we want to mount the NFS shares, e.g.:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mkdir -p \/mnt\/nfs\/home\/client1<br\/>mkdir -p \/var\/www<\/code><\/pre>\n<p>If the directory \/var\/www exists already on your server, then stop apache, rename the directory and create a new empty directory as mount point<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">service apache2 stop<br\/>mv \/var\/www \/var\/www_bak<br\/>mkdir -p \/var\/www<\/code><\/pre>\n<p>Afterward, we can mount them as follows:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mount 192.168.1.100:\/home\/client1 \/mnt\/nfs\/home\/client1<br\/>mount 192.168.1.100:\/var\/www \/var\/www<\/code><\/pre>\n<p>You should now see the two NFS shares in the outputs of<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">df -h<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"dba9b4b4af9ba8bea9adbea9ea\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp# df -h<br\/>Filesystem Size Used Avail Use% Mounted on<br\/>udev 990M 0 990M 0% \/dev<br\/>tmpfs 201M 6.0M 195M 3% \/run<br\/>\/dev\/sda1 28G 1.2G 25G 5% \/<br\/>tmpfs 1001M 0 1001M 0% \/dev\/shm<br\/>tmpfs 5.0M 0 5.0M 0% \/run\/lock<br\/>tmpfs 1001M 0 1001M 0% \/sys\/fs\/cgroup<br\/>tmpfs 200M 0 200M 0% \/run\/user\/1000<br\/>192.168.1.100:\/home\/client1 28G 1.2G 25G 5% \/mnt\/nfs\/home\/client1<br\/>192.168.1.100:\/var\/www 28G 1.2G 25G 5% \/var\/www<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"a3d1ccccd7e3d0c6d1d5c6d192\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp#<\/code><\/pre>\n<p>and<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mount<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"bcced3d3c8fccfd9cecad9ce8d\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp# mount<br\/>sysfs on \/sys type sysfs (rw,nosuid,nodev,noexec,relatime)<br\/>proc on \/proc type proc (rw,nosuid,nodev,noexec,relatime)<br\/>udev on \/dev type devtmpfs (rw,nosuid,relatime,size=1012912k,nr_inodes=253228,mode=755)<br\/>devpts on \/dev\/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)<br\/>tmpfs on \/run type tmpfs (rw,nosuid,noexec,relatime,size=204804k,mode=755)<br\/>\/dev\/sda1 on \/ type ext4 (rw,relatime,errors=remount-ro,data=ordered)<br\/>securityfs on \/sys\/kernel\/security type securityfs (rw,nosuid,nodev,noexec,relatime)<br\/>tmpfs on \/dev\/shm type tmpfs (rw,nosuid,nodev)<br\/>tmpfs on \/run\/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)<br\/>tmpfs on \/sys\/fs\/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)<br\/>cgroup on \/sys\/fs\/cgroup\/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=\/lib\/systemd\/systemd-cgroups-agent,name=systemd)<br\/>pstore on \/sys\/fs\/pstore type pstore (rw,nosuid,nodev,noexec,relatime)<br\/>cgroup on \/sys\/fs\/cgroup\/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)<br\/>cgroup on \/sys\/fs\/cgroup\/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)<br\/>cgroup on \/sys\/fs\/cgroup\/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)<br\/>cgroup on \/sys\/fs\/cgroup\/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)<br\/>cgroup on \/sys\/fs\/cgroup\/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)<br\/>cgroup on \/sys\/fs\/cgroup\/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)<br\/>cgroup on \/sys\/fs\/cgroup\/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)<br\/>cgroup on \/sys\/fs\/cgroup\/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)<br\/>cgroup on \/sys\/fs\/cgroup\/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)<br\/>systemd-1 on \/proc\/sys\/fs\/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9848)<br\/>mqueue on \/dev\/mqueue type mqueue (rw,relatime)<br\/>debugfs on \/sys\/kernel\/debug type debugfs (rw,relatime)<br\/>hugetlbfs on \/dev\/hugepages type hugetlbfs (rw,relatime)<br\/>tmpfs on \/run\/user\/1000 type tmpfs (rw,nosuid,nodev,relatime,size=204800k,mode=700,uid=1000,gid=1000)<br\/>fusectl on \/sys\/fs\/fuse\/connections type fusectl (rw,relatime)<br\/>192.168.1.100:\/home\/client1 on \/mnt\/nfs\/home\/client1 type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.100,mountvers=3,mountport=57821,mountproto=udp,local_lock=none,addr=192.168.1.100)<br\/>192.168.1.100:\/var\/www on \/var\/www type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.100,mountvers=3,mountport=57821,mountproto=udp,local_lock=none,addr=192.168.1.100)<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"57253838231724322521322566\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp#<\/code><\/pre>\n<h2 id=\"-testing\">5 Testing<\/h2>\n<p>On the client, you can now try to create test files on the NFS shares:<\/p>\n<p class=\"highlight\">client:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">touch \/mnt\/nfs\/home\/client1\/test.txt<br\/>touch \/var\/www\/test.txt<\/code><\/pre>\n<p>Now go to the server and check if you can see both test files:<\/p>\n<p class=\"highlight\">server:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">ls -l \/home\/client1\/<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"f2809d9d86b2819780849780c3\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp# ls -l \/home\/client1\/<br\/>total 0<br\/>-rw-r--r-- 1 nobody nogroup 0 Nov 16 10:52 test.txt<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"31435e5e457142544347544300\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp#<\/code><\/pre>\n<pre class=\"command\"><code spellcheck=\"false\">ls -l \/var\/www<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"5b2934342f1b283e292d3e296a\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp# ls -l \/var\/www<br\/>total 0<br\/>-rw-r--r-- 1 root root 0 Nov 16 10:52 test.txt<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"24564b4b506457415652415615\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/tmp#<\/code><\/pre>\n<p>(Please note the different ownerships of the test files: the <span class=\"system\">\/home\/client1<\/span> NFS share gets accessed as nobody \/ nogroup and<span class=\"system\"\/> is owned by nobody \/ nogroup; the <span class=\"system\">\/var\/www<\/span> share gets accessed as <span class=\"system\">root<\/span>, therefore <span class=\"system\">\/var\/www\/test.txt<\/span> is owned by <span class=\"system\">user and group root<\/span>.)<\/p>\n<h2 id=\"-mounting-nfs-shares-at-boot-time\">6 Mounting NFS Shares At Boot Time<\/h2>\n<p>Instead of mounting the NFS shares manually on the client, you could modify <span class=\"system\">\/etc\/fstab<\/span> so that the NFS shares get mounted automatically when the client boots.<\/p>\n<p class=\"highlight\">client:<\/p>\n<p>Open <span class=\"system\">\/etc\/fstab<\/span> and append the following lines:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">nano \/etc\/fstab<\/code><\/pre>\n<pre>[...]&#13;\n192.168.1.100:\/home\/client1 \/mnt\/nfs\/home\/client1 nfs rw,sync,hard,intr 0 0&#13;\n192.168.1.100:\/var\/www \/var\/www nfs rw,sync,hard,intr 0 0<\/pre>\n<p>Instead of <span class=\"system\">rw,sync,hard,intr<\/span> you can use different mount options. To learn more about available options, take a look at<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">man nfs<\/code><\/pre>\n<p>To test if your modified <span class=\"system\">\/etc\/fstab<\/span> is working, unmount the shares and run <span class=\"system\">mount -a<\/span>:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">umount \/mnt\/nfs\/home\/client1<br\/>umount \/var\/www<br\/>mount -a<\/code><\/pre>\n<p>You should now see the two NFS shares in the outputs of<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">df -h<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"f98b96968db98a9c8b8f9c8bc8\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/# df -h<br\/>Filesystem Size Used Avail Use% Mounted on<br\/>udev 990M 0 990M 0% \/dev<br\/>tmpfs 201M 6.0M 195M 3% \/run<br\/>\/dev\/sda1 28G 1.2G 25G 5% \/<br\/>tmpfs 1001M 0 1001M 0% \/dev\/shm<br\/>tmpfs 5.0M 0 5.0M 0% \/run\/lock<br\/>tmpfs 1001M 0 1001M 0% \/sys\/fs\/cgroup<br\/>tmpfs 200M 0 200M 0% \/run\/user\/1000<br\/>192.168.1.100:\/home\/client1 28G 1.2G 25G 5% \/mnt\/nfs\/home\/client1<br\/>192.168.1.100:\/var\/www 28G 1.2G 25G 5% \/var\/www<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"3a4855554e7a495f484c5f480b\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/#<\/code><\/pre>\n<p>and<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">mount<\/code><\/pre>\n<pre class=\"system\"><code spellcheck=\"false\"><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"cebca1a1ba8ebdabbcb8abbcff\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/# mount<br\/>sysfs on \/sys type sysfs (rw,nosuid,nodev,noexec,relatime)<br\/>proc on \/proc type proc (rw,nosuid,nodev,noexec,relatime)<br\/>udev on \/dev type devtmpfs (rw,nosuid,relatime,size=1012912k,nr_inodes=253228,mode=755)<br\/>devpts on \/dev\/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)<br\/>tmpfs on \/run type tmpfs (rw,nosuid,noexec,relatime,size=204804k,mode=755)<br\/>\/dev\/sda1 on \/ type ext4 (rw,relatime,errors=remount-ro,data=ordered)<br\/>securityfs on \/sys\/kernel\/security type securityfs (rw,nosuid,nodev,noexec,relatime)<br\/>tmpfs on \/dev\/shm type tmpfs (rw,nosuid,nodev)<br\/>tmpfs on \/run\/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)<br\/>tmpfs on \/sys\/fs\/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)<br\/>cgroup on \/sys\/fs\/cgroup\/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=\/lib\/systemd\/systemd-cgroups-agent,name=systemd)<br\/>pstore on \/sys\/fs\/pstore type pstore (rw,nosuid,nodev,noexec,relatime)<br\/>cgroup on \/sys\/fs\/cgroup\/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)<br\/>cgroup on \/sys\/fs\/cgroup\/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)<br\/>cgroup on \/sys\/fs\/cgroup\/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)<br\/>cgroup on \/sys\/fs\/cgroup\/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)<br\/>cgroup on \/sys\/fs\/cgroup\/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)<br\/>cgroup on \/sys\/fs\/cgroup\/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)<br\/>cgroup on \/sys\/fs\/cgroup\/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)<br\/>cgroup on \/sys\/fs\/cgroup\/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)<br\/>cgroup on \/sys\/fs\/cgroup\/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)<br\/>systemd-1 on \/proc\/sys\/fs\/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9848)<br\/>mqueue on \/dev\/mqueue type mqueue (rw,relatime)<br\/>debugfs on \/sys\/kernel\/debug type debugfs (rw,relatime)<br\/>hugetlbfs on \/dev\/hugepages type hugetlbfs (rw,relatime)<br\/>tmpfs on \/run\/user\/1000 type tmpfs (rw,nosuid,nodev,relatime,size=204800k,mode=700,uid=1000,gid=1000)<br\/>fusectl on \/sys\/fs\/fuse\/connections type fusectl (rw,relatime)<br\/>192.168.1.100:\/home\/client1 on \/mnt\/nfs\/home\/client1 type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.100,mountvers=3,mountport=57821,mountproto=udp,local_lock=none,addr=192.168.1.100)<br\/>192.168.1.100:\/var\/www on \/var\/www type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.100,mountvers=3,mountport=57821,mountproto=udp,local_lock=none,addr=192.168.1.100)<br\/><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"e1938e8e95a1928493978493d0\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/#<\/code><\/pre>\n<h2 id=\"-credits\">7 Credits<\/h2>\n<p>This Tutorial is based in the <a href=\"http:\/\/www.howtoforge.com\/setting-up-an-nfs-server-and-client-on-centos-6.3\" mce_real_href=\"http:\/\/www.howtoforge.com\/setting-up-an-nfs-server-and-client-on-centos-6.3\" mce_real_ target=\"_blank\" rel=\"noopener\">Centos NFS Server<\/a> Tutorial from Falko Timme.<\/p>\n<h2 id=\"-links\">8 Links<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to set up an NFS server and an NFS client on Debian 9. NFS stands for Network File System; through NFS, a client can access (read, write) a remote share on an NFS server as if it was on the local hard disk. In this Tutorial, I will show you two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7242","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7242"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7242\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}