My linux world » srv-nfs

srv-nfs


Prerequiste

I assume that you have a Centos installation.

Installation

You can copy/paste this script and use it to configure automatically your server.

  1. 404: Not Found

Client side

echo "install nfs tools"
yum -y install nfs-utils nfs-utils-lib
 
echo "start nfs on startup"
chkconfig rpcbind on
chkconfig nfs on
 
echo "start service"
service rpcbind start
service nfs start
 
# Add this line to you /etc/fstab:
# myserver:/opt/nfs  /mnt/nfs   nfs      rw,sync,hard,intr  0     0

That’s all 🙂


Copyright © 2026 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.