ºìÁªLinuxÃÅ»§
Linux°ïÖú

NIS µÄmasterÓëslaveÊý¾Ýͬ²½ÎÊÌâ

·¢²¼Ê±¼ä:2008-07-31 10:37:55À´Ô´:ºìÁª×÷Õß:wen114999
NISÅäÖãº
nisµÄÍø¶ÎÃûΪtest
NIS master ServerÃûΪmaster.test
NIS slave ServerÃûΪslave.test
NIS client ServerÃûΪclient.test

master,slave,clientÉèÖö¼OKÁË, masterµÄÓû§Êý¾Ý¿ÉÒÔ´«¸øslaveÁË£¬clientÒ²¿ÉÒÔµ÷ÓÃslaveµÄÓû§Êý¾ÝÁË¡£
ΪÁËÐÞ¸ÄÓû§²ÎÊýºómasterÓëslaveµÄÓû§Êý¾Ý¿ÉÒÔ×Ô¶¯Í¬²½£¬ÎÒ×öÁËÒÔÏÂÅäÖãº
masterµÄÅäÖãº
[root@linux~]#vi /var/yp/makefile
NOPUSH=true
# ½«ÉÏÃæ¸ÄΪ
NOPUSH=false
[root@linux~]#vi /var/yp/ypservers
master.test
slave.test
#Ìí¼ÓÉÏÃæÕâÒ»ÐÐ
[root@linux~]#/etc/init.d/ypxfrd start
È»ºóÎÒÿÐÞ¸ÄÓû§²ÎÊýºóÎÒ¶¼»áÔËÐÐÒÔÏÂÓï¾ä
[root@linux~]#cd /var/yp
[root@linux~]#make passed
µ«»¹ÊDz»¿ÉÒÔ×öµ½masterÓëslaveÊý¾Ýͬ²½£¬Ã¿´ÎÐÞ¸ÄÓû§Êý¾ÝºóÎÒ¶¼ÒªÔÚmasterÖØÐÂÉú³É¹ýÊý¾ÝÈ»ºóÔÚslaveÀïÖØмÓÔعýÊý¾Ý
Çë¸÷λ¸ßÊÖ¸ç¸ç¸æËßÎÒÄÇÀï×ö´íÁË£¬(6)m:b ÎÒÖ÷ҪĿµÄÊÇÏëʵÏÖmasterÓëslaveµÄÊý¾Ý¿ÉÒÔ×Ô¶¯Í¬²½¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. wen114999 ÓÚ 2008-08-01 08:48:07·¢±í:

    999999999999999999999999999ÎÒ°¡~£¡