Network information Service.
This service
use for share a home directory.
At the server end.
Package
Required..
# portmap
# ypserv
#vi
/etc/export
/home *(rw,sync)
#rpm –qa
portmap
#rpm –qa ypserv
(To find out
kernel what to be export)
#exportfs –av
To know how many folder in sharing
# exports
# vi
/etc/sysconfig/network
(Add following line)
NISDOMAIN = LINUX.LOCAL
# vi /etc/yp.conf
(Add following line)
domain
NISDOMAIN server hostname
domain
LINUX.LOCAL server stn1
# service ypserv restart
# service yppasswd restart
# service portmap restart
# service nfs restart
# service nfslock restart
# cd /var/yp
# make
(to create nis domain)
Client end…..
# service portmap restart
# showmount –e server ip
# service ypbind restart
# authconfig –tui
[*] NIS [*]
use MD5 passwd
[*]
use shadow passwd
# mount 192.168.1.9: /home /home
|
|
# rpm -e package
name
(Its shows which packages to install for particular
services.
|
|