Slide

  • LINUX

    LINUX:In 1969 AT&T made a decision to withdraw Multics and go with GECOS (General Electric Comprehensive Operating Supervisor / System), with AT & T in Bells Lab when Multics was withdrawn some of the programmers named Ken Thompson and Dennis Ritchie decided to rewrite operating system in order to support low cost computer..To Know More

    CLICK HERE

  • MICROSOFT

    MICROSOFT:Microsoft was established to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the home computer operating system market with MS-DOS in the mid-1980s,followed by the Microsoft Windows line of operating systems. To Know More

    CLICK HERE

  • CISCO

    CISCO:During the early 1980s, there was a married couple namely Len and Sandy Bosack who used to work in two different departments of computer located in Stanford University. This couple was facing problem in making their computers communicate with each other To Know More

    CLICK HERE

showinfo=1

NFS (Network File System)


NFS (Network File System)


A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. The Network File System (NFS) is the standard for sharing files on a directory with Linux and Unix computers. It was originally developed by Sun Microsystems in the mid-1980s.
You can create shared NFS directories directly by editing the /etc/exports configuration file, or you can create them with Red Hat's NFS Configuration tool.

Configurations Files


1. /etc/exports - Main Configuration File

1. Configurations NFS Server.

[root@server1 ~]# yum install nfs*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.i686 1:1.2.2-7.el6 set to be updated
---> Package nfs-utils-lib.i686 0:1.1.5-1.el6 set to be updated
---> Package nfs4-acl-tools.i686 0:0.3.3-5.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================== Package Arch Version Repository Size
===========================================================================
Installing:
nfs-utils i686 1:1.2.2-7.el6 Server 296 k
nfs-utils-lib i686 1.1.5-1.el6 Server 65 k
nfs4-acl-tools i686 0.3.3-5.el6 Server 43 k

Transaction Summary
===========================================================================
Install 3 Package(s)
Upgrade 0 Package(s)

Total download size: 404 k
Installed size: 989 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): nfs-utils-1.2.2-7.el6.i686.rpm | 296 kB 00:00
(2/3): nfs-utils-lib-1.1.5-1.el6.i686.rpm | 65 kB 00:00
(3/3): nfs4-acl-tools-0.3.3-5.el6.i686.rpm | 43 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------
Total 2.5 MB/s | 404 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:nfs-utils-1.2.2-7.el6.i686 1/3
Installing : nfs-utils-lib-1.1.5-1.el6.i686 2/3
Installing : nfs4-acl-tools-0.3.3-5.el6.i686 3/3

Installed:
nfs-utils.i686 1:1.2.2-7.el6 nfs-utils-lib.i686 0:1.1.5-1.el6 nfs4-acl-tools.i686 0:0.3.3-5.el6
Complete!

[root@server1 ~]# mkdir  /data
[root@server1 ~]# cd  /data
[root@server1 data]# ll
total 0
[root@server1 data]# touch file1 file2
[root@server1 data]# cat >> file1
Welcome
CTRL+D  


[root@server1 data]# ll
total 0
-rw-r--r-- 1 root root 8 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@server1 data]# chmod o+rw file1
[root@server1 data]# ll
total 4
-rw-r--rw- 1 root root 8 Aug 8 13:29 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@server1 ~]# vi /etc/exports

i and add following line in it to access data directory by everyone in the network

/data *(rw,sync)


:wq!  


[root@server1 ~]# service nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Starting RPC idmapd: [ OK ]
[root@server1 ~]# chkconfig --level 35 nfs on
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data *

1. Configurations NFS Client.
[root@client ~]# showmount –e 200.0.0.1
Export list for 200.0.0.1:
/data *
[root@client ~]# mount 200.0.0.1:/data /mnt
[root@client ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@client mnt]# cat >> file1
bash: file1: Permission denied
[root@client mnt]# ll
total 4
-rw-r--rw- 1 root root 8 Aug 8 13:29 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@client mnt]# cat >> file1
welcome
to  ITTables
CTRL+D
[root@clientmnt]# cat file1
welcome
to ITTables
[root@clientmnt]# vi file1
i
welocme to ITTables


:wq!
[root@client mnt]# cat file1
welcome to ITTables




2. Configurations NFS Server to share directory for specific client .





[root@server1 ~]# vi /etc/exports

i and add following line in it to access data directory only by specific ip address in the network i.e. 200.0.0.40

/data 200.0.0.40(rw,sync)


:wq! …….
[root@server1 ~]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.40

2. Configurations NFS Client.


[root@client2 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.40
[root@client2 ~]# mount 200.0.0.1:/data /mnt
[root@client2 ~]# cd /mnt
[root@client2 mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

[root@client1 ~]# mount 200.0.0.1:/data /mnt
cannot open directory .: Permission denied



3. Configurations NFS Server to share directory for clients in a specific network.



[root@server1 ~]# vi /etc/exports


/data 200.0.0.0/24(rw,sync)


:wq!
[root@server1 ~]# service nfsrestart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24





3. Configurations NFS Client.





[root@client1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24
[root@client1 ~]# mount 200.0.0.1:/data /mnt
[root@client1 ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

[root@client2 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24
[root@client2 ~]# mount 200.0.0.1:/data /mnt
[root@client2 ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

37 comments:

  1. It was originally developed by Sun Microsystems in the mid-1980s. You can create shared NFS directories directly by editing the /etc/exports configuration file, or you can create them with Red Hat's NFS Configuration tool.cloud hosting

    ReplyDelete
  2. I am really glad to be here.I hope to see more great articles here in the future too so keep it up and good luck to all of you!
    http://www.stpetehealthpro.com |

    ReplyDelete
  3. It was a positive conversation and each day since then he has made an effort to come and speak to her about his success of the day. 
    www.newbusinessmodels.org |

    ReplyDelete
  4. Good post but I was wondering if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Appreciate it!
    penthousewilliamsburg.com |

    ReplyDelete
  5. This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion 
    http://www.thirsk-business.com |

    ReplyDelete
  6. Your blog is really nice and unique.I like it so much. Looking forward to going over your web page again. Thanks for sharing.
    digitalpctech |

    ReplyDelete
  7. Thanks for any other informative site. The place else could I get that kind of info written in such a perfect manner? I have a mission that I am simply now running on, and I've been at the look out for such info.
    www.noworriesluxuryauto.com |

    ReplyDelete
  8. They are now so popular. I am now bookmarked to this site. I am happy to be one of their community.
    www.emrsoftwaresite.com |

    ReplyDelete
  9. I just wanted to let you know that what you do really affects peoples lives and that people - like me - truly appreciate it.
    cleantechcalendar |

    ReplyDelete
  10. I am happy when reading your blog with updated information! thanks alot and hope that you will post more site that are related to this site.
    http://www.samdannessa.com |

    ReplyDelete
  11. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.find it here: 
    hdslrcoalition.com |

    ReplyDelete
  12. Pretty portion of content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your weblog posts. Any way I will be subscribing on your augment or even I achievement you get admission to constantly quickly.
    Business of Guam |

    ReplyDelete
  13. I really think that one of the best articles is this one. It has everything. I needed this information to prove wrong my teacher. I knew this was happening. But my teacher did not agree with me. Now, he'll know I was right! Thank you!
    http://www.oncarecrm.com |

    ReplyDelete
  14. I am really glad to be here.I hope to see more great abaselinehealthgroup.com |

    rticles here in the future too so keep it up and good luck to all of you!

    ReplyDelete
  15. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
    www.chaos-tech.com |

    ReplyDelete
  16. It is the best time to make a few plans for the longer term and it is time to be happy. I have learn this submit and if I may just I desire to recommend you few attention-grabbing things or tips. Perhaps you can write next articles referring to this article. I desire to learn more things approximately itwww.vsp-auto.com |

    ReplyDelete
  17. I want to make Cheap wow goldcolumn field editable, here I am setting the editable properties for specific field under this.layout by Buy rs goldusing editable: "true" .
    Prescott Sea Food |

    ReplyDelete
  18. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It�s always nice when you can not only be informed, but also entertained!
    www.pemaauto.com |

    ReplyDelete
  19. Today I said goodbye to my first Hospice patient. She would have been 100 in December. They work hard to match up volunteers with patients, and they did a fantastic job with us. We bonded quickly and talked about everything, from how short Tom Cruise is to how worried her five-year-old self was that her
    http://www.oncarecrm.com |

    ReplyDelete
  20. Hey there! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a extraordinary job!
    hpp-hardware |

    ReplyDelete
  21. Fantastic post however I was wanting to know if you could write a litte more on this subject? I'd be very thankful if you could elaborate a little bit more. Cheers!
    stvincentshouse |

    ReplyDelete
  22. I am an avid reader who likes engaging content. That's why I am here. Your original views on this topic are refreshing and interesting. You've done a great job of expressing your views. Thank you.
    happy wheels| tu 95| call of duty| clicker heroes| strike force heroes 2| kitten cannon
    shooting games| dora games| boy games| fighting games| tom and jerry| kissing games| christmas games| transformers games| scooby doo games| brain games

    ReplyDelete
  23. I just want to say : why do I not find this article sooner ! thankyou so much!
    happy wheels , super mario , pacman, solitaire , plants vs zombies, car games, agario!

    ReplyDelete
  24. Age of War

    In this game, you start at the cavern men's age, then evolve! There is a total of 5 ages, each with its units and turrets. Take control of 16 different units and 15 different turrets to defend your base and destroy your enemy.
    Age of War

    Age of War 2

    ReplyDelete

  25. Strike Force Heroes
    Strike Force Heroes is a new game action-packed shooter from the creators of Raze; with 3 game modes, 15 campaign missions and over 65 weapons.
    Strike Force Heroes 3
    It is always going to be a challenge if you are a member of the Strike Force. You will be sent out on challenging missions and that is exactly the situation here. You must eliminate all the enemies using the weapons available to you.

    ReplyDelete
  26. Earn to Die Description
    Earn to Die sees you not only driving your way through hordes of zombies, but allows you to earn cash to upgrade, unlock and customise new vehicles. Is your vehicle not strong enough? Why not add a gun, or boosters, or even a spiked frame?
    earn to die801

    Earn to Die 3 is one of those titles that you need to look at with complete …
    earn to die473

    you get to truly showcase your skill against a wide range of human and AI as you see fit.
    With Tank Trouble 3, you don’t have to worry about deadlines nor anything like that, instead this is a fun, relaxing game that you can play whenever you want without any restrictions. It’s really nice and fun to enjoy your time when all you have to do is to destroy the other tanks in the game world. And since the game world is continually changing, offering you more insane challenges, it’s a lot more fun and exciting to explore all of these possibilities in an outstanding way.

    earn to die9561

    Play Earn to Die 2: Unlock and upgrade vehicles and more vehicular zombie slaughter than ever
    .
    earn to die961
    Earn to Die has been one of those games that has been remarkably popular, having hung around the top charts for a long, long time now. Here you can play the first game – Earn to Die 1.

    earn to die592


    ReplyDelete
  27. Great! Thanks for sharing the information. That is very helpful for increasing my knowledge in this fiel
    A good blog. Thanks for sharing the information. It is very useful for my future. keep sharing
    Signature:
    Red Ball | red ball 2 | Red Ball 3 | Red Ball 4 | duck life
    Flash Games| Tank trouble | happy wheels |
    Slitherio | Slither io

    ReplyDelete
  28. This is one of the cult game now, a lot of people enjoy playing them . Also you can refer to the game :
    gold mine strike | pokemon go 2
    The game controls are shown just under . Movement mechanisms primarily include acceleration and tilting controls.
    stickman games | stick war 2 | animal jam 2

    ReplyDelete
  29. With a Hotmail account, you can send and receive emails quickly and easily as well as login and use all Microsoft services.
    hotmail login | create new hotmail account
    Creating a Gmail account is quick and easy. You can follow the tutorial to sign up Gmail here.
    gmail login | gmail sign in | install google drive

    ReplyDelete

  30. شركة نقل عفش بالدمام الشرق الاوسط متحصصه فى نقل عفش واثاث بالدمام ونقل العفش بالخبر كما انها توفر شركة نقل عفش بالجبيل والخبر وشركة نقل عفش بالقطيف والاحساء وجميع خدمات نقل العفش والاثاث بالمنطقة الشرقية بارخص اسعار نقل عفش بالدمام وتقدم ايضا شركة تخزين عفش بالدمام والخبر
    نقل عفش بالدمام
    شركة نقل اثاث بالدمام
    شركة نقل اثاث بالخبر
    شركة نقل اثاث بالجبيل
    شركة نقل عفش بالخبر
    شركة نقل عفش بالقطيف
    شركة نقل اثاث بالاحساء

    ReplyDelete

  31. شركة تنظيف خزانات بالمدينة المنورة وشقق بالمدينة المنورة شركة غسيل خزانات ومكافحة حشرات بالمدينة المنورة ونقل عفش بالمدينة المنورة مؤسسة صفوة المدينة
    شركة تنظيف خزانات بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة مؤسسة صفوة المدينة انها الاولى فى مكافحة ورش الحشرات بالمدينة المنورة رش البق رش الصراصير مكافحة النمل الابيض بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة

    ReplyDelete

Note:- Comment as: Option available to post without login select "Anonymous" from the drop down...........

For Latest Updates: Subscribe Now | | Test Your Knowledge, Take a Quiz now Click Here | | Site Best Viewed In Firefox

X