User Tools

Site Tools


nfs_server_and_client_configuration

This is an old revision of the document!


NFS server and client configuration

NFS server

Install following packages:

yum install nfs-utils rpcbind

Make sure services start at boot:

chkconfig nfs on
chkconfig nfslock on 
chkconfig rpcbind on

Start services:

service nfs start
service nfslock start
service rpcbind start

Create proper /etc/exports

Example:

/kickstart *(ro)

Export NFS shares

exportfs

Check NFS procs.

rpcinfo -p

NFS client

Install following packages:

yum install nfs-utils rpcbind

Make sure services start at boot:

chkconfig nfslock on 
chkconfig rpcbind on

Start services:

service nfslock start
service rpcbind start

Check share:

Add mount to /etc/fstab

mount -a

Manual mount:

mount <nfsserver>:/<sharename> /<localmountpoint>

NFS client behind a firewall

nfs_server_and_client_configuration.1317046013.txt.gz · Last modified: 2011/09/26 14:06 by root