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

linuxÏÂDNSµÄ ÅäÖÃ

Ò»£ºÍøÂç»·¾³
bind9.4
Ö÷»úÃû£¨hostname£©:centos
ip£º192.168.1.168
dns£º192.168.1.1£¨ÅäÖÃÍêºó£¬ÐèÒªÐ޸ģ¬Ö¸Ïò192.168.1.168£¬ÐÞ¸Ä/etc/resolv.conf),
Òª´ïµ½µÄÄ¿µÄ£º°ÑÕą̂Ö÷»úÅäÖóÉһ̨dns·þÎñÆ÷
dns server:ns1.test.com
ip£º192.168.1.168
www.test.com 192.168.1.168
¶þ£º°²×°¹ý³Ì
°²×°µÄĿ¼ÊÇ/usr/local/named, ËùÓеÄÓòÃûµÄÎļþ¶¼ÊÇ·ÅÔÚ /usr/local/named/varÏ£¬Õâ¸ö·¾¶ÐèҪעÒ⣬ºÜ¶àÎÄÕÂÊÇÔÚ/var/namedÕâ¸öĿ¼Ï£¬²»¹ýÎÒ¾õµÃ°ÑËùÓеÄÎļþ·ÅÔÚnamedµÄĿ¼Ï£¬»á¸üºÃ¡£
./configure --prefix=/usr/local/named && make && make install
groupadd bind
useradd -g bind -d /usr/local/named -s /sbin/nologin bind
cd /usr/local/named/etc
/usr/local/named/sbin/rndc-confgen > rndc.conf
cat rndc.conf > rndc.key
chmod 777 /usr/local/named/var
tail -10 rndc.conf | head -9 | sed s/#\ //g > named.conf
vi named.conf
Ìí¼ÓÏÂÃæÄÚÈÝ(
#################
options {
directory "/usr/local/named/var";          //ÓòÃûÎļþ´æ·ÅµÄ¾ø¶Ô·¾¶
pid-file "named.pid";              //Èç¹ûbindÆô¶¯£¬×Ô¶¯»áÔÚ/usr/local/named/varĿ¼Éú³ÉÒ»¸önamed.pidÎļþ£¬´ò¿ªÎļþ¾ÍÊÇnamed½ø³ÌµÄID
};
zone "." IN {
        type hint;          //¸ùÓòÃû·þÎñÆ÷
        file "named.root"; //´æ·ÅÔÚ//usr/local/named/varĿ¼£¬ÎļþÃûΪnamed.root
};
zone "localhost" IN {
        type master;     //ÀàÐÍΪÖ÷ÓòÃû·þÎñÆ÷
        file "localhost.zone"; //±¾µØÕýÏò½âÎöµÄÎļþ
        allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
        type master;      //ÀàÐÍΪÖ÷ÓòÃû·þÎñÆ÷
        file "named.local";   //±¾µØ·´Ïò½âÎöµÄÎļþ
        allow-update { none; };
};
zone "test.com" IN {     &nb


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

linuxÃæÊÔÌâ²Î¿¼´ð°¸£¨×ª£©


Ò»£®Ìî¿ÕÌ⣺
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ

·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ
/etc/fstab
ÖжÁÈ¡Òª¼ÓÔصÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓÃ
i½Úµã
À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ºÍÊý¾Ý´æ´¢¿é
¡£
5.
Á´½Ó·ÖΪ£º Ó²Á´½Ó ºÍ ·ûºÅÁ´½Ó
......

drupalÔÚlinuxÏ°²×°¼°´¦ÀíÓʼþ»Ø·¢

½âѹdrupalÎļþ µ½ Îļþϵͳ£­var-www
½âѹ ÖÐÎÄ°üµ½Í¬¼¶Ä¿Â¼ÏÂ
¿½±´default.settings.phpÎļþ¸´ÖƲ¢ÖØÃüÃûΪsettings.php
(var/www/sites/default/default.settings.php
¸´ÖƵ½Í¬¼¶Ä¿Â¼var/www/sites/default/settings.phpÖ±½ÓÈ¥¸´ÖÆÕ³Ìù¾ÍokÁËÎûÎû)
¸øд´½¨µÄÎļþsettingsÎļþ¸³ÓèдµÄȨÏÞ
(ÏȽøÈë/var/wwwÏ£¬ÒÔ¹ ......

Linuxϵͳ¹ÜÀí


ϵͳÐÅÏ¢
uptime
uptime ¸ø³öÏÂÁÐÐÅÏ¢µÄÒ»ÐÐÏÔʾ. µ±Ç°Ê±¼ä, ϵͳÔËÐÐÁ˶à¾Ãʱ¼ä, µ±Ç°µÇ½µÄÓû§ÓжàÉÙ, ÒÔ¼°Ç°1,5ºÍ15·ÖÖÓϵͳµÄƽ¾ù¸ºÔØ.
Áª»úÐÅÏ¢-ʱ¼ä,ÏÔʾÈçÏÂ
11:27pm up 9 days, 7:12, 3 user, load average: 0.07, 0.12, 0.14
µ±Ç°ÏµÍ³Ê±¼ä ϵͳÔËÐÐʱ¼ä µ±Ç°ÔÚÏßÓû§Êý ϵͳ¸ººÉ 1·ÖÖÓÇ° 5 ·ÖÖÓÇ° 15 ·ÖÖÓ ......

LinuxϵͳÖÐÈçºÎÌí¼Ó×Ô¼ºµÄ¿âÎļþ·¾¶

¿âÎļþÔÚÁ¬½Ó(¾²Ì¬¿âºÍ¹²Ïí¿â)ºÍÔËÐÐ(½öÏÞÓÚʹÓù²Ïí¿âµÄ³ÌÐò)ʱ±»Ê¹Óã¬ÆäËÑË÷·¾¶ÊÇÔÚϵͳÖнøÐÐÉèÖõġ£Ò»°ã Linux ϵͳ°Ñ /lib ºÍ /usr/lib Á½¸öĿ¼×÷ΪĬÈϵĿâËÑË÷·¾¶£¬ËùÒÔʹÓÃÕâÁ½¸öĿ¼ÖеĿâʱ²»ÐèÒª½øÐÐÉèÖÃËÑË÷·¾¶¼´¿ÉÖ±½ÓʹÓ᣶ÔÓÚ´¦ÓÚĬÈÏ¿âËÑË÷·¾¶Ö®ÍâµÄ¿â£¬ÐèÒª½«¿âµÄλÖÃÌí¼Óµ½¿âµÄËÑË÷·¾¶Ö®ÖС£ÉèÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ