Making /mnt/softwares as a mount point in linux
Open linux terminal and type the following command
#vi /etc/exports
Click enter and enter the directory path which you want to mount as shown below
Save it and exit
Restart the nfs service by typing the above command
Now the directory was mounted
In order to accesses this mount directory go to another linux machine and type the following command
#mount –t nfs –o rw 10.0.0.17:/mnt/softwares /mnt/softwares
Note: 10.0.0.17 is the ip address of the linux machine which contains the mount directory
Open linux terminal and type the following command
#vi /etc/exports
Click enter and enter the directory path which you want to mount as shown below
Save it and exit
Restart the nfs service by typing the above command
Now the directory was mounted
In order to accesses this mount directory go to another linux machine and type the following command
#mount –t nfs –o rw 10.0.0.17:/mnt/softwares /mnt/softwares
Note: 10.0.0.17 is the ip address of the linux machine which contains the mount directory
No comments:
Post a Comment