{"id":545,"date":"2017-01-20T14:07:24","date_gmt":"2017-01-20T14:07:24","guid":{"rendered":"https:\/\/visworlditsolution.wordpress.com\/?p=545"},"modified":"2017-01-20T14:07:24","modified_gmt":"2017-01-20T14:07:24","slug":"how-to-configure-nfs-network-file-system-server-in-linux-redhat","status":"publish","type":"post","link":"https:\/\/linux.thingsomething.com\/index.php\/2017\/01\/20\/how-to-configure-nfs-network-file-system-server-in-linux-redhat\/","title":{"rendered":"How to configure NFS (Network File System )server in linux redhat"},"content":{"rendered":"<p>hello guys today we will configure NFS server in Linux redhat.if we configure \u00a0NFS Server in our Linux machine we can share easily \u00a0data each other easily. actually NFS server in share folder take real \u00a0space on server but all connected system in show visually. Linux server in NFS server is a very batter source of data sharing. so if you want to configure NFS server in your system so before configure YUM server in your system. yum Server is a very important in Linux we can install any package easily through YUM server. if you want to know<a href=\"https:\/\/visworlditsolution.wordpress.com\/2016\/12\/26\/what-is-yum-and-how-to-create-in-redhat-linux-server\/\"> how to configure yum server in our linux machine<\/a> so click link and look<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-546\" src=\"https:\/\/visworlditsolution.files.wordpress.com\/2017\/01\/nfs-server.png?w=300\" alt=\"NFS server\" width=\"792\" height=\"388\" \/>\u00a0 \u00a0here i agree you install yum server in your linux machine .then we start next<!--more--><\/p>\n<h3><span style=\"color:#ff0000;\">Step 1 we will install NFS and PORTMAP package below commands<\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# yum install nfs*<\/strong><\/span><\/pre>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# yum install portmap*<\/strong><\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 2 then we will make share directory \u00a0in (\/)slash \u00a0<\/span><\/h3>\n<pre><strong><span style=\"color:#008000;\">[root@localhost ~]# mkdir \/share<\/span><\/strong><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 3 then we will go exports configuration file and write client ip address\u00a0<\/span><\/h3>\n<pre><strong><span style=\"color:#008000;\">[root@localhost ~]# vim \/etc\/exports\n\/share 192.168.56.101(rw,sync)<\/span><\/strong>\n~\n~\n~\n~\n~\n~\n~\n<span style=\"color:#008000;\">:wq<\/span><span style=\"color:#0000ff;\">(note-here we write which client ip address we want share with data with NFS Server)<\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 4 then we will restart related services below commands<\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# service portmap restart<\/strong><\/span>\n<span style=\"color:#3366ff;\">Stopping portmap:                                          [  OK  ]\nStarting portmap:                                          [  OK  ]<\/span>\n<strong><span style=\"color:#008000;\">[root@localhost ~]# service portmap restart<\/span><\/strong>\n<span style=\"color:#3366ff;\">Stopping portmap:                                          [  OK  ]\nStarting portmap:<\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 5 now we will off our machine firewall selinux and on export service\u00a0<\/span><\/h3>\n<pre><strong><span style=\"color:#008000;\">[root@localhost ~]# iptables -F\n[root@localhost ~]# setenforce 0\n[root@localhost ~]# exportfs -a<\/span><\/strong><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 6 now server work is finish.then we will go client side and and mount \/share folder in our client machine .we will make new directory for mounting \/share folder we mount below commands <\/span><\/h3>\n<pre><strong><span style=\"color:#008000;\">[root@localhost ~]# mount -t nfs 192.168.56.102:\/share  \/root\/Desktop\/vishnu<\/span><\/strong><\/pre>\n<h3><span style=\"color:#ff0000;\">Step 6 after mounting we will check mounting below commands\u00a0<\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# df -h<\/strong><\/span><\/pre>\n<h3><strong><span style=\"color:#008000;\">\u00a0<\/span><\/strong><span style=\"color:#ff0000;\">Step 7 if any body put data in \/share folder we do refresh and look below commands<\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost vishnu]# exportfs -r<\/strong><\/span><\/pre>\n<p><span style=\"color:#003300;\">\u00a0if you have any problems in this tutorial .so comment here i will solve your problems<\/span><\/p>\n<p>Thank you<\/p>\n<p>Writer Vishnu sharma<\/p>\n","protected":false},"excerpt":{"rendered":"<p>hello guys today we will configure NFS server in Linux redhat.if we configure \u00a0NFS Server in our Linux machine we can share easily \u00a0data each &hellip; <span class=\"ml-btn\"><a href=\"https:\/\/linux.thingsomething.com\/index.php\/2017\/01\/20\/how-to-configure-nfs-network-file-system-server-in-linux-redhat\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[8,14],"tags":[85,86,111,178,179,180],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-linux-rhel5","category-server-configuration","tag-how-to-configure-nfs-server-few-steps","tag-how-to-configure-nfs-server-in-linux-redhat","tag-how-to-create-nfs-server","tag-nfs","tag-nfs-server","tag-nfs-server-with-commands"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/545"}],"collection":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/comments?post=545"}],"version-history":[{"count":0,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/545\/revisions"}],"wp:attachment":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/media?parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/categories?post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/tags?post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}