Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux DNS´î½¨ÊÔÑéºÍÏêϸ¹ý³Ì

¹Ù·½ÍøÕ¾£ºhttp://www.isc.org
Ò»£ºÔ´Âë°üµÄ°²×°ºÍÅäÖÃ
ÏÂÔØÔ´Âë°üÎļþ£ºhttp://ftp.isc.org/isc/bind9/9.4.2/bind-9.4.2.tar.gz
½âѹ²¢°²×°bind
Tar –zxvf bind-9.4.2.tar.gz
ÅäÖÃÔ´Âë°ü£º
./configure --prefix=/usr/local/named --enable-threads  #--enable-threads¿ªÆô¶àÏ̴߳¦ÀíÄÜÁ¦ 
Make
Make install
½øÈ밲װĿ¼ £º
Éú³ÉÃܳ×Îļþ£º
[root@linux named]# sbin/rndc-confgen > etc/rndc.conf  #´Órndc.confÎļþÖÐÌáÈ¡named.confÓõÄkey £¬ÆäʵÕâ¸öÊÇÃÜÂëÎļþ£¬ÎÒ·¢ÏֺܶàÈËϲ»¶½«´ËÎļþµ¥¶À½¨Á¢³É£¬²¢ÔÚnamed.confÖе÷ÓÃÕâ¸ökeyÎļþ£¬±ÈÈ磺include "/usr/local/named/etc/rndc.key" ##½«Õâ¾ä»°¼ÓÈëµ½named.confÖС£
Éú³Énamed.confÅäÖÃÎļþ£º
[root@linux etc]# tail -10 rndc.conf | head -9 | sed s/#\ //g > named.conf  #ÕâÀïÊÇÉú³Énamed.confÎļþ
½¨Á¢namedĿ¼ÔÚvarĿ¼ÖУº
[root@linux etc]# mkdir /var/named
digÃüÁîÖ±½ÓÉú³Énamed.rootÎļþ £º
 [root@linux named]#bin/dig > named.root
½øÈë/var/namedĿ¼½«named.rootÒþÉäµ½¸ÃĿ¼£ºln –s /usr/local/named/named.root
named.rootÎļþÄÚÈÝÖ÷ÒªÊÇÏòÉÏÒ»¼¶Ìá½»·Ç±¾»úÄÚÎÞ·¨½âÎöµÄÓòÃû
ÅäÖÃʽÀý£º
.                      3600000  IN  NS  A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.    3600000      A   198.41.0.4
;Ö÷»úÃû³Æ»òÁìÓòÃû³Æ    TTL          RR  Ïà¶ÔÓ¦µÄÊý¾Ý
 
Named.confÎļþµÄÅäÖã¬ÏÂÃæÊÇÎÒµÄÎļþÅäÖãº
key "rndc-key" {
        algorithm hmac-md5;
        secret "jwN3d1hJfHoEwS6TRHNAlA==";
};
 
controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
};
 
 
options {
directory "/var/named";
pid


Ïà¹ØÎĵµ£º

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

cin EOF Linux

 ÎÒΪʲôдÕâ¸öÌâÄ¿ÄØ£¬ÒòΪÎÒ½ñÌìҪдµÄ²©ÓëÕâÈýÕ߶¼ÓйØϵ£¬ÖÁÉÙÎÒ¸öÈËÈÏΪÊÇÕâÑùµÄ¡£
ÓиöÈËÎÊÁËÒ»¸öÕâÑùµÄС³ÌÐò£¬ËµÓÐÎÊÌ⣺
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector <string*> spvec;
string str;
cout & ......

Unix/Linux ÍøÂç½Ó¿Ú¹ÜÀíÏà¹ØÃüÁî½éÉÜ


Unix/Linux ÍøÂç½Ó¿Ú¹ÜÀíÏà¹ØÃüÁî½éÉÜ
»ñÈ¡ÍøÂçÊÊÅäÆ÷ÁбíÐÅÏ¢
ÔÚ»ñÖªÍøÂç½Ó¿ÚʹÓÃ״̬֮ǰ£¬Äã¿ÉÄÜÐèÒªÖªµÀÄ㵱ǰµÄϵͳʹÓõÄÍøÂçÊÊÅäÆ÷£¬ÔÚ Linux ºÍ AIX Öв鿴ÍøÂçÉ豸Æ÷µÄÊôÐÔʹÓò»Í¬µÄÃüÁÏÂÃæµÄÀý×Ó¸ø³öÁËÔÚ²»Í¬ÏµÍ³ÉÏÈçºÎ²é¿´ÍøÂçÉ豸Æ÷µÄÊôÐÔ¡£
Linux ϵͳÆô¶¯¼ÓÔØÍø¿¨Çý¶¯»áÊä³öʶ±ðµ½µÄËùÓÐÍøÂçÊÊÅäÆ÷Ð ......

linuxѧϰ±Ê¼Ç

1.Ç°ÑÔ£ºÈý¸öÎÊÌâ
1.1ʲôÊDzÙ×÷ϵͳ£¬²Ù×÷ϵͳµÄ×÷Ó㬲Ù×÷ϵͳµÄ½Ó¿Ú£¿
²Ù×÷ϵͳÊǹÜÀí¼ÆËã»ú×ÊÔ´µÄÖ÷³ÌÐò£¬ÊÇϵͳÈí¼þµÄºËÐÄ¡£
Ëü¿ØÖƳÌÐòµÄÖ´ÐкÍÌṩ×ÊÔ´·ÖÅä¡¢µ÷¶È¡¢ÊäÈë/Êä³ö¿ØÖƺÍÊý¾Ý¹ÜÀíµÈ·þÎñ¡£
²Ù×÷ϵͳÌṩÈýÖÖÀàÐ͵ĽӿڣºÃüÁî½Ó¿Ú¡¢³ÌÐò½Ó¿Ú¡¢Í¼Ðνӿڡ£
1.2ϵͳ×é³É£º
ÓÉËĸö²¿·Ö×é³É£º Äںˡ¢Îļþϵ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ