linux rhel 5 DNS Ïê½â 4
RHEL5´î½¨DNS·þÎñÆ÷ʵÏÖÃû³Æ½âÎö ËÄ
(1)ÉèÖÃÕýÏò½âÎöÇøÓò
ÕýÏò½âÎöÇøÓòÓÃÓÚʵÏÖÓòÃûµ½IPµØÖ·Ö®¼äµÄת»»¡£ÏÂÃæÊÇÒ»¸öÕýÏò½âÎöÇøÓòµÄÅäÖÃÄÚÈݾÙÀý£º
zone “my.internal.com” {
type master;
file “my.internal.com.db”;
allow-transfer {192.168.255.128;};
};
ÆäÖГmy.internal.com”±íʾËù¶¨ÒåµÄÕýÏò½âÎöÇøÓòµÄÃû³Æ£¬±íʾ¸ÃDNS·þÎñÆ÷Éϱ£´æ×Åmy.internal.comÇøÓòµÄÏà¹ØÊý¾Ý¡£ÍøÂçÉϵÄËùÓÐÆäËûDNS¿Í»§¶Ë»ò·þÎñÆ÷¶¼¿ÉÒÔͨ¹ýÕą̂DNS·þÎñÆ÷²éѯµ½¸ÃÇøÓòµÄÐÅÏ¢¡£
Ñ¡Ïî“type”¶¨ÒåÁËÇøÓòµÄÀàÐÍ£¬¶ÔÓÚÖ÷ÇøÓòÓ¦¸ÃÉèÖÃΪ“master”£¬Èç¹ûÊÇ´ÓÇøÓòÔòÓ¦¸ÃÉèΪ“slave”.
Ñ¡Ïî“file”¶¨ÒåÁËÕýÏò½âÎöÇøÓòÎļþµÄÃû³Æ¡£Ò»¸öÇøÓòÄÚµÄËùÓÐÏà¹ØÊý¾Ý£¨ÈçÖ÷»úÃû£¬IPµØÖ·£¬Ë¢ÐÂʱ¼äºÍ¹ýÆÚʱ¼äµÈ£©¶¼´æ´¢ÔÚÇøÓòÎļþÖС£¸ÃÎļþÃûÓû§¿ÉÒÔ×ÔÐж¨Ò壬µ«ÎªÁË·½±ã¹ÜÀí£¬Ò»°ãÒÔÇøÓòÃûÃüÃû¡£
Ñ¡Ïî“allow-transfer”¶¨ÒåÁËÔÊÐí½øÐÐÇøÓò¸´ÖƵĴÓDNS·þÎñÆ÷µØÖ·ÁÐ±í¡£ÓÉÓÚDNS·þÎñÆ÷¾³£ÊǺڿ͹¥»÷µÄ¶ÔÏó£¬ÎªÁË°²È«Æð¼û£¬±ØÐëÑϸñÏÞÖÆÇøÓò¸´ÖƲÙ×÷£¬±£Ö¤ÆäÖ»ÄÜÏòÐÅÈεĴÓDNS·þÎñÆ÷¿ª·ÅÇøÓò¸´Öƹ¦ÄÜ¡£Èç¹ûûÓÐÉèÖôÓDNS·þÎñÆ÷£¬¿ÉÒÔʹÓÓnone”Ñ¡Ï½ûÓÃÇøÓò¸´Öƹ¦ÄÜ£¬Èçallow-transfer { none; };
(2)ÉèÖ÷´Ïò½âÎöÇøÓò
Ôڴ󲿷ֵÄDNS²éѯÖУ¬DNS¿Í»§¶ËÒ»°ãÖ´ÐÐÕýÏò½âÎö£¬¼´¸ù¾ÝÓòÃûÐÅÏ¢²éѯ¶ÔÓ¦µÄIPµØÖ·¡£µ«ÔÚijЩÌØÊâµÄÓ¦Óó¡ºÏÖУ¬Ò²»áʹÓ÷´Ïò½âÎö²Ù×÷£¬¼´Í¨¹ýIPµØÖ·²éѯ¶ÔÓ¦µÄÓòÃû¡£ÏÂÃæÊÇÕë¶ÔÉÏÀýËù¶¨ÒåµÄÕýÏò½âÎöÇøÓò¶ø¶¨ÒåµÄ·´Ïò½âÎöÇøÓò£º
zone “255.168.192.in-addr.arpa” IN {
type master;
file “my.internal.com.db.arpa”;
};
ÆäÖГ255.168.192.in-addr.arpa”¶¨ÒåÁË·´Ïò½âÎöÇøÓòµÄÃû³Æ£¬“.in-addr.arpa”Êǹ̶¨ºó׺¸ñʽ£¬“.in-addr.arpa”µÄ×ÓÓòÃû³ÆÒ»°ãÊÇIPµØÖ·µÄ·´Ðò£¬¼´ÓÉÓëµã·ÖÊ®½øÖÆ·½·¨±íʾµÄIPµØַ˳ÐòÏà·´µÄ×Ö·û´®×é³É¡£ÀýÈç×ÓÍø“192.168.32.0/24”µÄ·´Ïò½âÎöÓòÃûΪ“32.168.1
Ïà¹ØÎĵµ£º
linuxÄÚºËÉè¼ÆÓëʵÏÖ£¨9£©¶¨Ê±Æ÷ºÍʱ¼ä¹ÜÀí
ʱ¼ä¹ÜÀíÔÚÄÚºËÖÐÕ¼Óзdz£ÖØÒªµÄµØλ¡£Ïà¶ÔÓÚʼþÇý¶¯£¬ÄÚºËÖÐÓдóÁ¿µÄº¯Êý¶¼ÊÇ»ùÓÚʱ¼äÇý¶¯µÄ¡£Äں˱ØÐë¹ÜÀíϵͳµÄÔËÐÐʱ¼äÒÔ¼°µ±Ç°µÄÈÕÆÚºÍʱ¼ä¡£
ÖÜÆÚ²úÉúµÄʼþ¶¼ÊÇÓÉϵͳ¶¨Ê±Æ÷Çý¶¯µÄ¡£ÏµÍ³¶¨Ê±Æ÷ÊÇÒ»Öֿɱà³ÌÓ²¼þоƬ£¬ËüÒѹ̶¨ÆµÂʲúÉúÖ ......
Ò»²½Ò»Ñ§LinuxÓëWindows ¹²ÏíÎļþSamba £¨v0.2b£©
¿´ÁËÕâƪÎÄÕ£¬¸Ð¾õͦºÃ£¬ËµµÄÒ²±È½ÏÏêϸ£¬×Ô¼º¶¯ÊÖʵÏÖ£¬Ò»µãÎÊÌâҲûÓУ¬¸ø´ó¼Ò·ÖÏí
×÷Õߣº
±±ÄÏÄϱ±£¬ÕýÔÚÔö¼ÓÖÐ... ... ÐèÒªÄúµÄ²ÎÓ룻
À´×Ô£º
LinuxSir.Org
¼ò½é£º
±¾ÎÄÖ»Êǽ²Ò»½²ÎÒÃÇ×î³£ÓõÄLinuxÓëWindows¹²ÏíÎļþ£¬Ö÷ÒªÊÇΪÐÂÊÖָһָ·¡£ÈçºÎ½¨Á¢×î¼òµ¥µÄ ......
LinuxϵĽø³ÌͨÐÅÊֶλù±¾ÉÏÊÇ´ÓUnixƽ̨ÉϵĽø³ÌͨÐÅÊֶμ̳жøÀ´µÄ¡£¶ø¶ÔUnix·¢Õ¹×ö³öÖØ´ó¹±Ï×µÄÁ½´óÖ÷Á¦AT&TµÄ±´¶ûʵÑéÊÒ¼°BSD£¨¼ÓÖÝ´óѧ²®¿ËÀû·ÖУµÄ²®¿ËÀûÈí¼þ·¢²¼ÖÐÐÄ£©ÔÚ½ø³Ì¼äͨÐÅ·½ÃæµÄ²àÖصãÓÐËù²»Í¬¡£Ç°Õ߶ÔUnixÔçÆڵĽø³Ì¼äͨÐÅÊֶνøÐÐÁËϵͳµÄ¸Ä½øºÍÀ©³ä£¬ÐγÉÁË“ ......
linux ³£ÓÃÃüÁî×ܽá:
Ò»¡£ ͨÓÃÃüÁî:
1. date £ºprint or set the system date and time
2. stty -a: ¿ÉÒԲ鿴»òÕß´òÓ¡¿ØÖÆ×Ö·û(Ctrl-C, Ctrl-D, Ctrl-ZµÈ)
3. passwd: print or set the system date and time (ÓÃpasswd -h²é¿´)
4. logout, login: µÇ¼shellµÄµÇ¼ºÍ×¢ÏúÃüÁî
5. pwd: print or set the system ......
LinuxϵͳµÄSNMP·þÎñÉèÖÃ
1) °²×°SNMP
ÂÔ£¬Çë²ÎÔÄLINUXϵͳSNMP°²×°ËµÃ÷£¬Ò»°ãÇé¿öÏÂLinuxÖеľùÒѾ×Ô¶¯°²×°ÁËSNMP·þÎñ¡£ÒÔÏÂÃüÁî¿ÉÒÔ¼ì²âSNMP·þÎñÊÇ·ñ°²×°ÒÔ¼°°²×°µÄÎļþ°ü¡£
[root@idc ~]# rpm -qa |grep snmp
net-snmp-libs-5.1.2-11.EL4.7
net-snmp-5.1.2-11.EL4.7
2) ÅäÖÃSNMP
°´ÕÕÈçÏ·½Ê½ÐÞ¸Ä/etc ......