Fedora 9: Quick NFS Server HowTo

Linux Add comments
1,511 views

Here’s a quick post on how to build and setup NFS server.

Fedora 9: Quick NFS Server HowTo

NFS Server Configuration

1. Download and install NFS rpm package using yum

# yum -y install nfs-utils rpcbind

If  you have an earlier Fedora versions

# yum -y intall nfs-utils portmap

2. Prepare and modify /etc/exports for sharing files, that would similar to as shown below

/home/NFS-files             192.168.100.0/24(ro,sync)

/home/NFS-share            */26(rw,sync)

/ISO                                 192.168.100.0/24(ro,sync)

Save and exit.

Legend:

rw = for read/write access

ro = for read only access

*   = allow any source request

/24 , /26 = IP network subnet

Create NFS folder and populate your NFS files you wish to share

# mkdir /home/NFS-files /home/NFS-share /ISO

# cp your-files /home/NFS-files

3. Start your NFS service

# service nfs start

# service rpcbind start

For earlier Fedora versions

# service portmap start

# service nfs start

If you wish to modify any other non-default NFS diretives, modify /etc/sysconfig/nfs .

To restart NFS service

# service nfs restart

# service rpcbind restart

For earlier Fedora versions, instead of rpcbind,

# service portmap restart

To monitor NFS stats

The nfsstat command displays statistical information about RPC calls.

# nfsstats

# nfsstats -o net

Further NFSman page

# man exports

Bookmark This

Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email

Not Getting



Leave a Reply



This Howtos posted under" Linux

Fedora 9: Quick NFS Server HowTo


Find Free Howtos and tutorials on apache, Linux, windows, php, Networking, MySQL, Cisco, open source, Nas, Virtualization, voip, vpn, email,send mail, lamp, security, SEO, squid, Anti virus, Backup, Database and many more