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

Linux ʹÓÃBINDÅäÖÃDNS·½·¨

Ê×Ïȼì²ébindÊÇ·ñÕý³£°²×°£¨ÒÔÏÂÃüÁî½öÏÞÓÚrpm°üµÄ¼ì²é£©
rpm -qa|grep bind
Èç¹û³öÏÖÏàÓ¦µÄ°²×°°üÐÅÏ¢£¬Ôò¿ÉÒÔ½øÈëÏÂÒ»²½
½ÓÏÂÀ´ÊÇʹÓÃbindÅäÖÃDNSËùÐèÒªµÄϵͳÒÔ¼°¶ÔÓ¦Îļþ£¬´óÖÂÈçÏ£º
/etc/hosts --Ö÷»úipÓëÓòÃûÖ®¼äµÄÒ»¸ö¶ÔÓ¦Îļþ£¨ÏµÍ³×Ô´ø£©£¬¿ÉÒÔʵÏÖ¿ìËÙ½âÎöµÄ¹¦ÄÜ 
¸ÃÎļþµÄÅäÖÃÄÚÈÝ´óÖÂÈçÏ£º
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
10.10.6.23      bubu.bubu.com           bubu
#192.168.0.2     test2.bubu.com          test2
#192.168.0.3     test3.bubu.com          test3
/etc/host.conf --¶¨ÒåÖ÷»úÈçºÎ½âÎö£¨¾ßÌå½éÉÜ£©
¸ÃÎļþµÄÅäÖÃÄÚÈÝ´óÖÂÈçÏ£º
order hosts,bind
multi on
/etc/resolv.conf --¶¨ÒåϵͳµÄDNSµØÖ·
¸ÃÎļþµÄÅäÖÃÄÚÈÝ´óÖÂÈçÏ£º
search localdomain
#nameserver 202.106.196.115
nameserver 10.10.6.23
/etc/named.conf --bindÅäÖÃDNSµÄÖ÷ÅäÖÃÎļþ£¬ÆäÖмǼ×ÅÓòÃû¼Ç¼ºÍipÖ®¼äµÄ¶ÔÓ¦¹Øϵ
¸ÃÎļþµÄÅäÖÃÄÚÈÝ´óÖÂÈçÏ£º
//
// named.conf for Red Hat caching-nameserver
//
options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
         // query-source address * port 53;
};
//
// a caching only nameserver config
//
cont


Ïà¹ØÎĵµ£º

linuxÏ̵߳ĹÒÆðÓë»Ö¸´

#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
pthread_mutex_t wqy_mutex_pause = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t wqy_cond_pause = PTHREAD_COND_INITIALIZER;
bool wqy_pthread_pause = false;
void wqy_pthread_suspend(void)
{
if ......

LinuxÏÂÎļþµÄ²Ù×÷(zt)

 
1£®ÎļþµÄ´´½¨ºÍ¶Áд
¡¡¡¡µ±ÎÒÃÇÐèÒª´ò¿ªÒ»¸öÎļþ½øÐжÁд²Ù×÷µÄʱºò,ÎÒÃÇ¿ÉÒÔʹÓÃϵͳµ÷Óú¯Êýopen.ʹÓÃÍê³ÉÒÔºóÎÒÃǵ÷ÓÃÁíÍâÒ»¸öcloseº¯Êý½øÐйرղÙ×÷.
¡¡¡¡¡¡¡¡int open(const char *pathname,int flags);
¡¡¡¡¡¡¡¡int open(const char *pathname,int flags,mode_t mode);
¡¡¡¡¡¡¡¡int close(int fd); ......

Linux ´ÅÅÌ·ÖÇø±í¡¢ÎļþϵͳµÄ²é¿´

ÌáÒª£ºLinux ´ÅÅÌ·ÖÇø±í¡¢ÎļþϵͳµÄ²é¿´¡¢Í³¼ÆµÄ¹¤¾ßºÜ¶à£¬ÓÐЩ¹¤¾ßÊǶ๦Äܵģ¬²»½ö½öÊDz鿴´ÅÅ̵ķÖÇø±í£¬¶øÇÒÒ²ÄܽøÐдÅÅÌ·ÖÇøµÄ²Ù×÷£»µ«ÔÚ±¾ÎÄ£¬ÎÒÃÇÖ»½²´ÅÅÌ·ÖÇøµÄ²é¿´£¬ÒÔ¼°·ÖÇøµÄʹÓÃÇé¿öµÄ²é¿´£»±¾ÎÄÖ»ÊǸøÐÂÊÖÉÏ·֮Ó㻹ØÓÚ·ÖÇø¹¤¾ßµÄ²Ù×÷£¬ÎÒ½«ÔÚÒÔºó×öרÃŽéÉÜ£»´ËÎÄÄ¿µÄ:Ö÷ÒªÊÇÏò³õѧÕß½éÉÜÒ»ÏÂÈëÃűر¸µÄÒ»µ ......

linuxÏ°²×°Èí¼þÏê½â

ÔÚubuntuÏ»ù±¾ÉÏÖ»Òªapt-get ¾Í¿ÉÒÔÁË£¬µ«ÊÇÓÐʱºòÒª³¢Ïʾ͵ÃÈ¥ÁíÍâÏÂÁË£¬Õâʱ¾ÍÒªÁ˽âһЩlinuxÏ°²Èí¼þµÄ֪ʶÁË£¬ËùÒÔÔÚÍøÉÏÕÒÁËÕâƪÎÄÕ£®Õª×Ô£ºCnXHacker.Net
¡¡¡¡ÔÚWindowsÏ°²×°Èí¼þʱ£¬Ö»ÐèÓÃÊó±êË«»÷Èí¼þµÄ°²×°³ÌÐò£¬»òÕßÓÃZipµÈ½âѹËõÈí¼þ½âѹËõ¼´¿É°²×°¡£ÔÚLinuxÏ°²×°Èí¼þ¶Ô³õѧÕßÀ´Ëµ£¬ÄѶȸßÓÚWindowsÏÂÈí¼ ......

PHP5ÔÚLinuxÏ°²×°


LinuxÏ°²×°PHP5µÄÖ÷Òª²½Öè:
1.ÏÂÔØphp5£»µØÖ·£ºhttp://cn.php.net/downloads.php
2.½âѹÈí¼þ°üºó½øÈë¸ÃĿ¼
£¨×ªÕß×¢£º
¿ÉÄÜ»áÐèÒªÏȽâѹphp-5.*.tar.bz2 ,ÏÈÖ´ÐÐbzip2 -d php-5.*tar.bz2
£©
tar -xvf php-5.*.tar.gz
cd php-5.*
3.php°²×°mysqlµÄÄ£¿éµÄһЩ׼±¸¹¤×÷
ln -s /usr/local/mysql/lib/mysql /usr/l ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ