{"id":598,"date":"2018-07-30T21:01:48","date_gmt":"2018-07-30T15:31:48","guid":{"rendered":"https:\/\/serverbasket.com\/help\/?p=598"},"modified":"2023-03-20T17:31:24","modified_gmt":"2023-03-20T12:01:24","slug":"how-to-install-and-connect-nfs-server-to-client-end-in-linux-server","status":"publish","type":"post","link":"https:\/\/www.serverbasket.com\/help\/how-to-install-and-connect-nfs-server-to-client-end-in-linux-server\/","title":{"rendered":"How To Install And Connect NFS Server To Client End In Linux Server"},"content":{"rendered":"<p>In my side I had the client as RHEL6.4 desktop. Other Linux versions will also work for the same. Install the packages as follows:<\/p>\n<pre>#yum install nfs-utils<\/pre>\n<p>Now create the NFS directory mount point, follows below Steps:<\/p>\n<pre>#mkdir -p \/mnt\/nfs\/home\r\n#mkdir -p \/mnt\/nfs\/var\/nfsshare<\/pre>\n<p>Start the nfs services.<\/p>\n<pre>#service nfs restart<\/pre>\n<p>Next we will mount the NFS shared content in the client machine as shown below:<\/p>\n<pre>#mount -t nfs 192.168.0.100:\/home \/mnt\/nfs\/home\/<\/pre>\n<p>It will mount \/home of NFS server. Next we will \/var\/nfsshare mount as follows:<\/p>\n<pre>#mount -t nfs 192.168.0.100:\/var\/nfsshare \/mnt\/nfs\/var\/nfsshare\/<\/pre>\n<p>Now you want to check it mount or not then enter below command:<\/p>\n<pre>#df -h<\/pre>\n<p>So we are connected with NFS share.<\/p>\n<p>Now we will check the read\/write permissions in the shared path. At client enter the command:<\/p>\n<pre>#touch \/mnt\/nfs\/var\/nfsshare\/test_nfs<\/pre>\n<p>Congratulation it is Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my side I had the client as RHEL6.4 desktop. Other Linux versions will also work for the same. Install the packages as follows: #yum install nfs-utils Now create the NFS directory mount point, follows below Steps: #mkdir -p \/mnt\/nfs\/home #mkdir -p \/mnt\/nfs\/var\/nfsshare Start the nfs services. #service nfs restart Next we will mount the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1166,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,41,58,7],"tags":[114,117,116],"offerexpiration":[],"class_list":["post-598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-linux","category-solus-vm","category-whm-management","tag-linux-nfs","tag-nfs-client","tag-nfs-server"],"_links":{"self":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/comments?post=598"}],"version-history":[{"count":1,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":599,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/posts\/598\/revisions\/599"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/media\/1166"}],"wp:attachment":[{"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/media?parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/categories?post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/tags?post=598"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/www.serverbasket.com\/help\/wp-json\/wp\/v2\/offerexpiration?post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}