Network File System

Network File System

We designed a NFS server which helps us to transfer files and directories between a different systems in the same network.You can also designed your own NFS server by the help of our team Programmerix. We share some method with you so that you can make our own nfs server with the help of Redhat 7.3 operating system(Linux).

1)NFS:- Network File System is a server-client protocol used for sharing the files bwteeen computers on a common network. We can directly access to any files on the remote file system. NFS protocol can't be run on Windows operating system because Window is not NFS compatible. Rather than NFS we use SAMBA protocol on windows to transfer the files.
2)Steps:- 
On Server(redhat 7.3):-
1) install the software **NFS_UTILS**
-------yum install -y nfs-utils
2)Configure nfs server
------- create a directory like data(or any name) anywhere
------- now open the file /etc/exports
vim /etc/exports
-------- write the following --
/data                     192.168.43.23(rw,no_root_squash)
        (path of the directory)            ( ip address of the client )
***no_root_squash is used to allow the root user on the client server to acces or create files on the NFS  server as root.
3) Restart the services:-
-------- systemctl restart nfs
-------- exportfs -r 
-------- systemctl stop firewalld
-------- setenforce 0 (to stop firewalls)
-------- iptables -F
On Client :-
1) ping the server to check the host is reachable or not
2) showmount -e 192.168.43.63(server ip)
3) create a directory to mount the share folder
4) mount 192.168.43.63:/data  /mnt
5) To unmount the shared folder write unmount /mnt.


 

Comments

Popular posts from this blog

Fibonacci Series with Python