ON SERVER SIDE J
(1)
Make Changes in the /etc/exports file
[root@www /]# vi /etc/exports
(2)
Create a directory /share
[root@www /]# mkdir /share
(3)
Create some file in /share directory
[root@www /]# cd /share/
[root@www share]# touch a b c d e f g h
[root@www share]# ll
(4)
Restart the nfs service
[root@www /]# /etc/init.d/nfs restart
ON CLIENT SIDE J
(1) Telnet
to the nfs server from Port NO 2049
[root@Client /]# telnet
192.168.1.2 2049
(2) Make /nfs directory to mount nfs mount point
of server /share
[root@Client /]# mkdir /nfs
(3) Mount
the /share directory of nfs server
[root@Client /]# mount -t nfs
192.168.1.2:/share /nfs
[root@Client /]# cd /nfs
[root@Client nfs]# ll
Make
changes in /etc/fstab file
[root@Client nfs]# vim /etc/fstab
No comments:
Post a Comment