About Me

Monday, April 18, 2011

Linux NFS (Net File System)


Service                       : nfs

Install                          : # yum install nfs (if there is NO nfs in fedora packages)
                                      # rpm –ivh <nfs file> (if there is nfs in fedora packages)
                                      #ls grep | nfs ==install semua y ada dlm list)

Check Status             : # service nfs status

Up service                  : # /sbin/service nfs status – check status
  # /sbin/service nfs start – start service
                                      # /sbin/service nfs restart – restart service
                                      # /sbin/service nfs stop - stop service

Configuration File     : vim /etc/exports

Parameter                  : refer to topology

Additional info          :

·         SELinux turn off          # modify /etc/selinux/config
o        set selinux = disabled
·         Iptables turn off           # service iptables stop
·                                 Uninstall nfs    : # yum uninstall nfs
  # rpm –e nfs

·                                 If PC 2 is turn off, mount file should be setting up manually
            but mount can be setting automatically by modify vim /etc/fstab
            in fstab just add this line:
           
10.1.1.56:/demo/         /otherpc           nfs       default             00


 

No comments:

Post a Comment