0% found this document useful (0 votes)
21 views

#Setup Select System Service From List ( ) Portmap ( ) Xinetd ( ) Nfs

The document provides steps to configure an NFS server on a Linux system with IP 192.168.0.254 and share a folder to allow a client with IP 192.168.0.1 to mount and access it. Key steps include installing NFS and related RPMs, configuring the NFS, portmap and xinetd services, exporting the /data folder, restarting services, and adding an entry to the client's /etc/fstab file to mount the share automatically on reboot. Tests are recommended to validate the shared folder is accessible from the client.

Uploaded by

vijukm2000
Copyright
© Attribution Non-Commercial (BY-NC)
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)
21 views

#Setup Select System Service From List ( ) Portmap ( ) Xinetd ( ) Nfs

The document provides steps to configure an NFS server on a Linux system with IP 192.168.0.254 and share a folder to allow a client with IP 192.168.0.1 to mount and access it. Key steps include installing NFS and related RPMs, configuring the NFS, portmap and xinetd services, exporting the /data folder, restarting services, and adding an entry to the client's /etc/fstab file to mount the share automatically on reboot. Tests are recommended to validate the shared folder is accessible from the client.

Uploaded by

vijukm2000
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 3

A linux server with ip address 192.168.0.254 and hostname Server A linux client with ip address 192.168.0.

1 and hostname Client1 Updated /etc/hosts file on both linux system Running portmap and xinetd services Firewall should be off on server

We suggest you to review that article before start configuration of nfs server. Once you have completed the necessary steps follow this guide. Three rpm are required to configure nfs server. nfs, portmap, xinetd check them if not found then install

Now check nfs, portmap, xinetd service in system service it should be on


#setup Select System service from list [*]portmap [*]xinetd [*]nfs

Now restart xinetd and portmap service

To keep on these services after reboot on then via chkconfig command

After reboot verify their status. It must be in running condition

now create a /data directory and grant full permission to it

now open /etc/exports file share data folder for the network of 192.168.0.254/24 with read and write access save file with :wq and exit now restart the nfs service and also on it with chkconfig

also restart nfs daemons with expotfs

verify with showmount command that you have successfully shared data folder

configure client system


ping form nfs server and check the share folder

now mount this share folder on mnt mount point. To test this share folder change directory to mnt and create a test file

After use you should always unmount from mnt mount point

In this way you can use shared folder. But this share folder will be available till system is up. It will not be available after reboot. To keep it available after reboot make its entry in fstab create a mount point, by making a directory

now open /etc/fstab file make entry for nfs shared directory and define /temp to mount point

save the with :wq and exit reboot the system with reboot -f command
#reboot -f

after reboot check /temp directory it should show all the shared data

You might also like