Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

LinuxϵÄUltraEdit°²×°¼°È¥µô30ÌìÏÞÖÆ

1.download UltraEdit
http://www.ultraedit.com/downloads/uex.html
2.install  rpm -ivh UltraEdit-1.0-0.13.i386.rpm
3.ÉèÖÃalias,½â³ý30ÌìÏÞÖÆ
alias ue='rm -rf ~/.idm/uex/*.*|rm -rf ~/.idm/uex/.dat |/usr/local/bin/uex &' ......

ʹÓÃtcmallocºóµÄMySQL·þÎñÆ÷±äÎȶ¨ÁË£¨Linux£©

֮ǰ£¬Ò»Ö±À§ÄպܾõÄMySQLµÄÎÊÌâÒòΪÓÐÁËtcmallocºóµÃÒÔ½â¾ö¡£
ÎÊÌâÊÇ£ºÍøÕ¾·ÃÎÊÁ¿²»¸ß£¬¸ß·åʱ²¢·¢ÊýÔÚ300-400Ö®¼ä¡£CPU±È½Ï¸ß£¬ÔÚ30-80%Ö®¼ä²¨¶¯µÃÀ÷º¦£¬Ê¹ÓÃtopÃüÁî¿ÉÒÔ¿´µ½ÊÇmysql½ø³Ìµ¼Ö£¬Í¬Ê±ÓÃiostatºÍsar²é¿´iowaitÖµºÜ¸ßÔÚ20-30Ö®¼ä¡£
µ«ÊÇϵͳ»¹¿ÉÒÔÎȶ¨ÔËÐУ¬È»ºóÖÜÆÚÐԵijöÏÖswap·ÖÇøÕ¼ÓÃÂÊÅÊÉý£¬Ö±½Óµ¼Ö ......

linuxÖ®Îҵļû½â

     »¹ÊǸßÖеÄʱºò£¬Ñ§Ð£°²ÅżÆËã»ú¿Î£¬ºÃÏñ½Ì²Ä½Ð¡¶¼ÆËã»úXXX¡·¡£´ÓÄÇÀïÃæÖªµÀÓиö¶«Î÷½Ðlinux£¬ÄÇÊǵÚÒ»´ÎÖªµÀlinux¡£ºóÀ´¼ÒÀïÂòÁĘ̈µçÄÔ£¨Æ·ÅÆ»ú£©Ô¤×°windows xp¡£ËÍÁËÒ»ÕÅϵͳÅÌ“ÉñÖÝÊÀ¼ÍÖÐÎÄ×ÀÃæÏµÍ³”£¬Æäʵ¾ÍÊÇRed flag linuxÄÚºËÊÇ2.4.27µÄ¡£µ±Ê±Á¬xpºÍ2000¶¼²»ÖªµÀÊÇÔõô»ØÊ£¬ ......

Rooting A Linux System 101

So you want to root a linux system? But, you don't know shit about it?

Well, this guide is for you.

Tools covered by this guide
-----------------------
netcat [utility for creating a backdoor shell, but can be used for a plethora of other things]
gcc [c program compiler, the h ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ