| ²é¿´: 379 | »Ø¸´: 1 | ||
±±¾©ÉñÂí½ð³æ (СÓÐÃûÆø)
|
[ÇóÖú]
NIS ÅäÖ÷½ÃæÎÊÌâ
|
|
[root@linux ~]# /usr/lib/yp/ypinit -m At this point, we have to construct a list of the hosts which will run NIS servers. master.smile is in the list of NIS server hosts. Please continue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: master.smile <==Õâ¸öµØ·½ÏµÍ³»áÖ÷¶¯×½µ½ next host to add: <==°´Ï [ctrl]-d The current list of NIS servers looks like this: master.smile Is this correct? [y/n: y] y We need a few minutes to build the databases... Building /var/yp/smile/ypservers... Running /var/yp/Makefile... gmake[1]: Entering directory `/var/yp/smile' Updating passwd.byname... ....ÖмäÊ¡ÂÔ.... gmake[1]: Leaving directory `/var/yp/smile' master.smile has been set up as a NIS master server. Now you can run ypinit -s master.smile on all slave server. ҪעÒâ³öÏÖµÄ×ÊѶµ±ÖУ¬ÔÚ¸æÖªÄã¿ÉÒÔÖ±½ÓÊäÈë [ctrl]-d ÒÔ½áÊøµÄÄǸöµØ·½£¬ ÄãµÄÖ÷»úÃû³Æ»áÖ÷¶¯µÄ±»×½³öÀ´£¬×¢Ò⣡Õâ¸öÖ÷»úÃû³ÆÎñ±ØÐèÒªÔÚ /etc/hosts ¿ÉÒÔ±»ÕÒµ½ IP µÄ¶ÔÓ¦£¬ ·ñÔò»á³öÏÖÎÊÌâ¡£ÁíÍ⣬ÍòÒ»ÔÚÖ´ÐÐ ypinit -m ʱ£¬³öÏÖÈçϵĴíÎó£¬Äǿ϶¨¾ÍÊÇÓÐЩ×ÊÁÏûÓб»½¨Á¢ÁË£¡ "gmake[1]: *** No rule to make target `/etc/aliases\', needed by `mail.aliases\'. Stop. gmake[1]: Leaving directory `/var/yp/abcnis\ make: *** [target] Error 2 Error running Makefile. Please try it by hand. [root@www ~]# touch /etc/aliases # ½â¾ö·½·¨ºÜ¼òµ¥…È£¡È±ÉÙʲôµµ°¸£¬¾Í touch Ëû¾ÍÊÇÁË£¡ [root@www ~]# /usr/lib/yp/ypinit -m # È»ºóÔÙÖØÐÂÖ´ÐÐÒ»´Î¼´¿É£¡" ÎÒµÄÎÊÌâÊÇ£ºµ«ÎÒtouch /etc/aliases ºóÎÊÌâÈÔȻûÓнâ¾ö£¬±¨´íÈçûtouch֮ǰ¡£¡£¡£ÇóÖú¸÷λ¸ßÊÖ¸ÃÔõô½â¾ö¡£¡£¡£ |
» ²ÂÄãϲ»¶
²ÄÁÏÓ뻯¹¤304ÇóBÇøµ÷¼Á
ÒѾÓÐ7È˻ظ´
0703»¯Ñ§336·ÖÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
[¸´ÊÔµ÷¼Á]Î÷ÄϿƼ¼´óѧ¹ú·À/²ÄÁϵ¼Ê¦ÍƼö
ÒѾÓÐ6È˻ظ´
»¯Ñ§¹¤³Ì321·ÖÇóµ÷¼Á
ÒѾÓÐ12È˻ظ´
211±¾£¬11408Ò»Ö¾Ô¸ÖпÆÔº277·Ö£¬ÔøÔÚÖпÆÔº×Ô¶¯»¯Ëùʵϰ
ÒѾÓÐ4È˻ظ´
²ÄÁÏר˶326Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
¶«ÄÏ´óѧ364Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
¹ú×Ô¿ÆÃæÉÏ»ù½ð×ÖÌå
ÒѾÓÐ7È˻ظ´
ҩѧ383 Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
286Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
¼¯ÈºÅäÖÃssh£¬ÐèÒªÒª¸øÃ¿¸öÓû§¶¼µ¥¶ÀÅäÖÃÂð£¿
ÒѾÓÐ26È˻ظ´
±±¾©ÉñÂí
½ð³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 947.9
- Ìû×Ó: 55
- ÔÚÏß: 29.9Сʱ
- ³æºÅ: 1651495
- ×¢²á: 2012-02-28
- רҵ: ×ÊÔ´»¯¹¤
2Â¥2014-04-11 23:24:50













»Ø¸´´ËÂ¥
~~~~