Wednesday, May 22, 2013

How to build a NFS Server on ClearOS 6.4

NFS Server is another file sharing protocols other than CIFS (Samba). There are many advantages by using NFS. Many other applications or system that needs an NFS shares to work on. For example Proxmox Backup storage supports the NFS shared directory as well. OK here I want show you how to install and configure NFS Server on ClearOS 6.4

Install NFS Server on ClearOS

yum install nfs-utils rpcbind

Start the nfs server daemon

service nfs start

You should see something like this

[root@gateway yum.repos.d]# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]

Now we need to edit the file /etc/exports

nano /etc/exports

Add the following line and change the ip address top match with your current network and share directoru

/var/flexshare/shares/nfs-data     192.168.1.1/24(rw,sync)

Now restart the nfs server

service nfs restart

OK now your nfs server should be up and running. Users can connect to the NFS server easily.

0 comments:

Based on original Visionary template by Justin Tadlock
Visionary Reloaded theme by Blogger Templates
This template is brought to you by Blogger templates

Visionary WordPress Theme by Justin Tadlock Powered by Blogger, state-of-the-art semantic personal publishing platform