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

LinuxÍø¿¨Çý¶¯·ÖÎö

תÔØ×Ôhttp://www.examda.com/linux/fudao/20070919/112113103.html 
      ѧϰӦ¸ÃÊÇÒ»¸öÏÈ°ÑÎÊÌâ¼òµ¥»¯£¬ÔÚ°ÑÎÊÌ⸴ÔÓ»¯µÄ¹ý³Ì¡£Ò»¿ªÊ¼¾Í×ÅÊÖ´¦Àí¸´ÔÓµÄÎÊÌ⣬ÄÑÃâÈà ÈËÓÐÐľªµ¨²ü£¬×½½ó¼ûÖâµÄ¸Ð¾õ¡£¶ÁLinuxÍø¿¨Çý¶¯Ò²ÊÇÒ»Ñù¡£Ädz¤³¤µÄÔ´Âë¼ÐÔÓ×ÅÄÇЩÎÒÃÇÄ°ÉúµÄ±äÁ¿ºÍ·ûºÅ£¬Íû¶øÉúη±ãÊÇÀíËùµ±È»µÄÁË¡£²»Òªµ£ÐÄ£¬ÊÂÇé ×ÜÓнâ¾öµÄ°ì·¨£¬ÏÈ°ÑһЩÎÒÃǹܲ»×ŵĴúÂëÇиî³öÈ¥£¬ÁôϱØÐëµÄ²¿·Ö£¬°Ñ¿ò¼ÜÕÆÎÕÁË£¬ÄÄÆäËûµÄÊÂÇé×ÔÈ»¾ÍË®µ½Çþ³ÉÁË£¬ÕâÊDZÊÕßµÄÐĵá£
      Ò»°ãÔÚʹÓõÄLinuxÍø¿¨Çý¶¯´úÂ붯éü3000ÐÐ×óÓÒ£¬Õâ¸ö´úÂëÁ¿ÒÔ¼°ËüËù±í´ï³öÀ´µÄ֪ʶÁ¿ÎÞÒÉÊÇÅÓ´óµÄ£¬ÎÒÃÇÓÐûÓа취Ëõ¶ÌÒ»ÏÂÕâ¸ö´úÂëÁ¿£¬Ê¹ÎÒÃÇµÄ Ñ§Ï°±äµÄ¼òµ¥Ð©ÄØ£¬¾­¹ý±ÊÕߵIJ»Ð¸Å¬Á¦£¬ÔÚÈÔÈ»Äܹ»Ê¹ÍøÂçÉ豸Õý³£¹¤×÷µÄÇ°ÌáÏ£¬°ÑËüËõ¼õµ½ÁË600¶àÐУ¬ÎÒÃÇ°ÑÔÝʱ»¹Óò»ÉϵŦÄÜÏȸî³öÈ¥¡£ÕâÑùÒ»À´£¬ ÊÂÇé¾Í¼òµ¥¶àÁË£¬ÕæµÄ¾ÍÊ£ÏÂÒ»¸ö¿ò¼ÜÁË¡£ÏÂÃæÎÒÃǾÍÀ´ÆÊÎöÕâ¸ö¿ÉÒÔÖ´ÐеĿò¼Ü¡£
      ÏÞÓÚƪ·ù£¬ÒÔÏ·ÖÎöÓõ½µÄËùÓÐÉæ¼°µ½ÄÚºËÖеĺ¯Êý´úÂ룬ÎÒ¶¼²»ÓèÁгö£¬µ«¸ø³öÔÚÄĸö¾ßÌåÎļþÖУ¬Çë¶ÁÕß×ÔÐвéÔÄ¡£
      Ê×ÏÈ£¬ÎÒÃÇÀ´¿´¿´É豸µÄ³õʼ»¯¡£µ±ÎÒÃÇÕýÈ·±àÒëÍêÎÒÃǵijÌÐòºó£¬ÎÒÃǾÍÐèÒª°ÑÉú³ÉµÄÄ¿±êÎļþ¼ÓÔص½ÄÚºËÖÐÈ¥£¬ÎÒÃÇ»áÏÈifconfig eth0 downºÍrmmod 8139tooÀ´Ð¶ÔØÕýÔÚʹÓõÄÍø¿¨Çý¶¯£¬È»ºóinsmod 8139too.o°ÑÎÒÃǵÄÇý¶¯¼ÓÔؽøÈ¥£¨ÆäÖÐ8139too.oÊÇÎÒÃDZàÒëÉú³ÉµÄÄ¿±êÎļþ£©¡£¾ÍÏñC³ÌÐòÓÐÖ÷º¯Êýmain£¨£©Ò»Ñù£¬Ä£¿éÒ²ÓеÚÒ»¸öÖ´ÐÐ µÄº¯Êý£¬¼´module_init(rtl8139_init_module);ÔÚÎÒÃǵijÌÐòÖУ¬rtl8139_init_module£¨£©ÔÚ insmodÖ®ºóÊ×ÏÈÖ´ÐУ¬ËüµÄ´úÂëÈçÏ£º
static int __init rtl8139_init_module (void)
{
return pci_module_init (&rtl8139_pci_driver);
}
ËüÖ±½Óµ÷ÓÃÁËpci_module_init£¨£©£¬Õâ¸öº¯Êý´úÂëÔÚLinux/drivers/net/eepro100.cÖУ¬²¢ÇÒ°Ñ rtl8139_pci_driver£¨Õâ¸ö½á¹¹ÊÇÔÚÎÒÃǵÄÇý¶¯´úÂëÀﶨÒåµÄ£¬ËüÊÇÇý¶¯³ÌÐòºÍPCIÉ豸ÁªÏµµÄŦ´ø£©µÄµØÖ·×÷Ϊ²ÎÊý´«¸øÁËËü¡£ rtl8139_pci_driver¶¨ÒåÈçÏ£º
static struct pci_driver rtl8139_pci_driver = {
name: MODNAME,
id_table: rtl8139_pci_tbl,
probe: rtl8139_init_one,
remove: rtl8139_remove_one,
};
pci_module_init£¨£©ÔÚÇý¶¯´úÂëÀïûÓж¨Ò壬ÄãÒ»¶¨Ïëµ½ÁË£¬ËüÊÇLinuxÄÚºËÌṩ¸


Ïà¹ØÎĵµ£º

Linux netfilterÔ´Âë·ÖÎö(3)

תÌù×Ô£ºhttp://alexanderlaw.blog.hexun.com/8968782_d.html
Èý¡¢ipt_table±íµÄ×¢²á
 
init£¨£©º¯Êý³õʼ»¯Ê±µ÷ÓÃÁËipt_register_tableº¯Êý½øÐбíµÄ×¢²á
 
3.1  ip_tables.c ±íµÄ×¢²á ipt_register_table
int ipt_register_table(struct ipt_table *table)
{
       ......

ExtMailÉý¼¶Îĵµ(for linux)

¹ØÓÚ´ËÎÄ
±¾ÎĵµÓÃÓÚÉý¼¶
ExtMail
£¬
ExtMan
°æ±¾£¬Éý¼¶×Ô
ExtMail 0.24(
º¬ÒÔÏ°汾£©µ½
1.0.5
Îȶ¨°æ
,
±¾ÎĵµÖ»ÄÜÊÊÓÃÓÚÊý¾Ý¿âÊÇ
mysql
µÄ°æ±¾
,
¼ÙÉè°²×°ÓʾֵÄÓòÃû
Ϊ
extmail
.org
£¬¶ÁÕßÇë¸ù¾Ý×ÔÉíʵ¼ÊÇé¿öÓèÒÔÐ޸ġ£
Éý¼¶²½Öè
1.
Í£Ö¹·þÎñ£º
postifx,http,mysql,pop3
service httpd stop ......

Linux ¹Ø»úÖ¸Áî

1¹Ø»úÃüÁî shutdown 1£©shutdown --help
2£©shutdown -h now ÏÖÔÚÁ¢¼´¹Ø»ú == halt Ö¸Áî
3£©shutdown -r now ÏÖÔÚÁ¢¼´ÖØÆô
4£©shutdown -r +3 Èý·ÖÖÓºóÖØÆô
5£©shutdown -h +3 "The System will shutdown after 3 minutes" ÌáʾʹÓÃÕß½«ÔÚÈý·ÖÖÓºó¹Ø»ú
6£©shutdown -r 20:23 ÔÚ20£º23ʱ½«ÖØÆô¼ÆËã»ú
7£©shutdown ......

±à³Ì»ñÈ¡linuxµÄcpuÕ¼ÓÃÂʺÍmemºÍÓ²ÅÌʹÓÃÇé¿ö

linuxÏÂÌṩtop¡¢psÃüÁî²é¿´µ±Ç°cpu¡¢memʹÓÃÇé¿ö£¬¼òÒª½éÉÜÈçÏ£º
Ò»¡¢Ê¹ÓÃps²é¿´½ø³ÌµÄ×ÊÔ´Õ¼ÓÃ
ps -aux²é¿´½ø³ÌÐÅϢʱ£¬µÚÈýÁоÍÊÇCPUÕ¼Óá£
[root@localhost utx86]# ps -aux | grep my_process
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root   14415  3.4 ......

linux²éÕÒÎļþÃüÁîfind

linux²éÕÒÎļþÃüÁîfind




ÿһÖÖ²Ù×÷ϵͳ¶¼ÊÇÓɳÉǧÉÏÍò¸ö²»Í¬ÖÖÀàµÄÎļþËù×é³ÉµÄ¡£ÆäÖÐÓÐϵͳ±¾Éí×Ô´øµÄÎļþ£¬Óû§×Ô¼ºµÄÎļþ£¬»¹Óй²ÏíÎļþµÈµÈ¡£ÎÒÃÇÓÐʱºò¾­³£Íü¼Çij
·ÝÎļþ·ÅÔÚÓ²ÅÌÖеÄÄĸöµØ·½¡£ÔÚ΢ÈíµÄWINDOWS²Ù×÷ϵͳÖÐÒª²éÕÒÒ»·ÝÎļþÊÇÏ൱¼òµ¥µÄÊÂÇ飬ֻҪÔÚ×ÀÃæÉϵã»÷&ldq ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ