Search Engine

Loading

Sallar

Sallar
RedhatEnterpriseLinux Blog

Installing and configring nfs-server step by step part 2


Now export the file to network
If you already started the services before creating an /etc/exports file, you can also use the exportfs command to manually export any new resources added to the /etc/exports file.
Syntax: exportfs [options]
Options:

Installing and Configring NFS Server step by step Part 1


Installing and Configring NFS Server step by step
Follow these steps to install an NFS server.
Step 1. To begin the NFS server setup, install the required packages:
# yum install -y nfs-utils nfs4-acl-tools
Step 2. Verify the package installation:
# rpm -qa | grep nfs
nfs4-acl-tools-0.3.3-5.el6.x86_64
nfs-utils-1.2.2-7.el6.x86_64
nfs-utils-lib-1.1.5-1.el6.x86_64

Samba Server Configuration


Samba File Sharing
Samba is the file-sharing protocol used by the Microsoft Windows operating system. Because some network environments include more than one operating system, Red Hat Enterprise Linux provides a way to use alternative file-sharing methods. If only sharing between Linux and other UNIX variants, it is recommended that NFS be used instead. For additional information on Samba, refer to the /usr/share/doc/samba-<version>/ directory.

Connecting & Mounting to the NFS Share Folders


Connecting to the NFS Share Folders
There are three ways to mount an NFS export on a client system, assuming the server has given the client permission to do so:
1.     Use the mount command along with the server name, exported directory, and local mount point.
2.     Add the export to /etc/fstab so it is automatically mounted at boot time or is Available to be mounted.
3.     Use the autofs service to mount the share when a user attempts to access it from a client.

Redhat Enterprise linux 5 NFS-Part3


Redhat Enterprise linux 5 NFS-Part2


Redhat Enterprise linux 5 NFS-Part1


Powered by Blogger.

Ads

 
Copyright © Redhat Enterprise linux. Original Concept and Design by My Blogger Themes
My name is Abdul Razaq but people call me Raziq. Here is my home page: www.redhatenterpriselinux.blogspot.com I live in Quetta, Pakistan and work as an IT-Engineer.