3 Minute Guide To Configuring NFS & NIS Clients
By Angsuman Chakraborty, Gaea News NetworkTuesday, May 15, 2007
Let us assume that you have already setup your NFS and NIS server. Now you need to configure your clients. Here are the steps you can follow to configure them in 5 minutes or less:
Configuring NFS Client
Run:
chkconfig portmap on
chkconfig ypbind on
chkconfig nfslock on
chkconfig netfs on
service portmap start
service netfs start
service nfslock start
Open /etc/auto.master and add the line:
/home /etc/auto.home –timeout 600
Open /etc/auto.home and add the line:
* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid,tcp 192.168.0.1:/home:&
Run:
chkconfig autofs on
service autofs restart
Note: Replace 192.168.0.1 with the IP address of your NFS server.
Configuring NIS Client
Run:
authconfig-tui
Select Cache Information, Use NIS, Use MD5 Passwords, Use shadow Passwords.
Domain: Taragana
Server: 192.168.0.1
Run:
service portmap start
service ypbind start
chkconfig portmap on
chkconfig ypbind on
Note: Replace Taragana with the name of your NIS server domain name.
Replace 192.168.0.1 with the IP address of your NIS server
Tags: NFS, NIS
September 3, 2009: 10:29 am
Very nice tutorial. You can also check some more details in the link given. In this link, it is explained with one server and one client |
Linuxmasterminds