Open main menu

CDOT Wiki β

Changes

OPS335 NIS Lab

4 bytes added, 14:06, 13 November 2011
PART B: Setting up your NIS Server
yum install ypserv ypbind
*Add the following line to the bottom of the file /etc/sysconfig/network
NISDOMAIN="fooexample.barorg" YPSERV_ARGS="-p 783"
*Edit the file /etc/yp.conf and set up your domain:
domain foo.bar server 127.0.0.1
*Repeat step 12. If you don't see both joker's and clown's password records then cd to /var/yp and run the "make" command again.
*Now modify your firewall so that the guest VM (client vm01) will be able to access your NIS server. You'll have to open port 111 as well as port 783 (see step 2 above).
 
===PART C: Setting up your VM to be an NFS client===
*Login to your VM guest (vm01) and enable and start your ssh server with these commands
1
edit