[go: up one dir, main page]

0% found this document useful (0 votes)
3 views4 pages

Steps To Configure NFS

This document outlines the steps to configure a Network File System (NFS) on a Linux server, including installation of the necessary packages, creating directories, and setting up exports. It also describes how to mount the NFS on a Windows system for cross-platform access. Key commands and configurations are provided for both environments to facilitate the setup process.

Uploaded by

logme2nausheen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Steps To Configure NFS

This document outlines the steps to configure a Network File System (NFS) on a Linux server, including installation of the necessary packages, creating directories, and setting up exports. It also describes how to mount the NFS on a Windows system for cross-platform access. Key commands and configurations are provided for both environments to facilitate the setup process.

Uploaded by

logme2nausheen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

Steps to configure NFS (Network File System)

1. Mount CD1.
2. Install nfs package:
#Rpm-ivh /mnt/cdrom/RedHat/RPMS/nfs*
3. #Service nfs start
#service portmap start
Service nfslock start

4. Change directory
# cd /
5. #mkdir /nfsserver
#ls
#touch /nfsserver/demo1
#touch /nfsserver/demo2
#ls /nfsserver
6. #gedit /etc/exports
Write directory name to this file as follows:
/nfsserver *(rw,sync)

Save the file and close it.

7. #service nfs restart


#service portmap restart
#Service nfslock restart
8. #showmount –e 192.168.192.129 //(write ip address of nfs server)
#exportfs –r

9. Open a new terminal, change directory, create a nfsclientt directory in / and check the list of
files in it. This directory is empty at this time.
# cd /
#mkdir /nfsclient
#ls /nfsclient

nfsclient directory is empty


10. Mount –t nfs IP address :/nfsserver /nfsclient
11. Now type
# ls /nfsclient
It will show two files demo1 and demo2 which were created in directory nfsserver.

For linux to windows(Cross platform)


1. In programs and featrures strat NFS services
2. Open cmd write
a. Mount –o ipaddroflinus:/nfsserver W:

(W: is a drive letter for windows file system)

W: is a directory letter for linux mounting(share data)

Output: It will map with all shared dir of server

You might also like