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

LinuxÅäÖÃÓë±àÒëÄÚºË

      ±àÖÃÄں˰üº¬Á½´óÏîÄÚÈÝ£¬¼´ÅäÖÃÄں˺ͱàÒëÄںˡ£ÕâÁ½Ï×÷ÐèÒª¾­³£²é¿´Äں˵ÄÎĵµ,ÖÁÉÙÒª²é¿´ReadmeÎļþºÍDocumentationĿ¼ÏµÄChangesÎļþ¡£ËüÃǶÔÄں˽øÐÐÁËÃèÊö£¬±ÈÈçÉý¼¶Äں˿ÉÄܳöÏÖµÄÎÊÌâºÍÄں˶ÔϵͳÖй¤¾ßµÄ°æ±¾ÒªÇóµÈ¡£
1£¬Ê×ÏÈÐèÒª½«ÄÚºËÔ´ÂëÏÂÔص½/usr/src/Ŀ¼ÏÂÃ棬½âѹºó½øÈëlinuxÄÚºËÔ´´úÂëÊ÷¡£
2£¬ÓÐÁËÒª±àÒëÅäÖõÄÄںˣ¬ÏÈÀ´½éÉÜÔõôÑùÅäÖÃÄںˡ£ÔÚ¿ªÊ¼ÅäÖÃÄÚºË֮ǰ£¬Ê×ÏÈÐèҪͨ¹ý#make mrproperÃüÁîÇå³ýËùÓеÄÁÙʱÎļþ¡¢Öмä¼þºÍÅäÖÃÎļþ¡£¸ÃÃüÁîÒªÉ÷Ó㬷ñÔò»áÇå³þµô֮ǰµÄ×Ô¼º¸Ä¶¯¹ýµÄÅäÖÃÎļþ£»ÕâÑùÖ®ºóÔÙ±àÒëʱÐèÒªÖØÐÂÖ´ÐÐmake XXXconfig£¬»¹ÒªÊÖ¹¤»Ö¸´ÄÚºËÅäÖÃÎļþÖÐÐ޸ĹýµÄÑ¡ÏȻºóÒªÁ˽â×Ô¼ºÏµÍ³µÄÓ²¼þÅäÖÃÇé¿ö£¬±ÈÈçCPUµÄÀàÐÍ¡¢Ö÷°ìоƬ¡¢ÏÔ¿¨ºÍÉù¿¨µÄÐͺŵȡ£ÅäÖÃÄÚºËÑ¡ÏÓõ½µÄÃüÁîÊÇ£º#make <config_opt>£¬ÆäÖÐÑ¡ÏîÓÐÒÔϼ¸ÖÖ£º
Óõ½µÄÅäÖù¤¾ßÓУº
¡ô config »ùÓÚ½»»¥Ê½µÄÎı¾ÅäÖýçÃ档ÿ¸öÎÊÌâÒÔÏßÐθñʽ³öÏÖ,²¢±»Ò»¸öÒ»¸öµØ»Ø´ð,¶øÇÒÒ»µ©×÷³öÁ˻شð¾Í²»ÄÜÔÙÐÞ¸ÄÁË¡£
¡ô oldconfig ͬconfigÏàËÆ£¬µ«ÊÇʹÓÃÔ­ÓеÄÅäÖÃÎļþ£¬¶øÇÒÖ»»áÌáÎÊÓйØÐÂÄÚºËÌØÐÔµÄÎÊÌ⣬¶ÔÓÚÄÚºËÉý¼¶ºÜ·½±ã¡£
¡ô menuconfig Ò»¸öÎı¾Ä£Ê½¡¢Ñ¡µ¥Çý¶¯µÄÅäÖýçÃæ¡£
¡ô xconfig »ùÓÚTcl/TkµÄXͼÐÎÅäÖýçÃæ¡£ 
     ±ÈÈçÖ´ÐУº#make menuconfigºó¾Í½øÈëÅäÖýçÃæ¡£Óû§¸ù¾Ý×Ô¼ºµÄÒªÇóÅäÖúÃÄÚºËÖ®ºó£¬½ÓÏÂÀ´¾ÍÒª±àÒëÄںˡ£
3£¬±àÒëÄں˵ÄÈí¼þ»·¾³ÊÇkbuildϵͳ£¬Ëü·ºÖ¸¹¹½¨Ò»¸öÍêÕû²¢Äܹ»ÔËÐеÄLinuxÄÚºËËùÐèÒªµÄÒ»ÇÐ×ÊÔ´¡£ÕâЩ×ÊÔ´°üÀ¨¹¹½¨³ÌÐò¡¢½Å±¾¡¢Öмä¼þ¡¢ÅäÖÃÎļþºÍMakefile¡£¹¹½¨Äں˾µÏñµÄÃüÁîÊÇ£º#make <boot_opt>£¬ÆäÖпÉÑ¡ÏîÊÇ£º
¡ô zImage ¹¹½¨Ð¡Äں˾µÏñ¡£
¡ô compressed ͬzImage¡£
¡ô bzImage ¹¹½¨´óÄں˾µÏñ¡£
¡ô zdisk ʹÓÃzImageÉú³ÉÒ»ÕÅÒýµ¼ÈíÅÌ¡£
¡ô zlilo ʹÓÃlilo×÷ΪzImageµÄÒýµ¼Æ÷¡£
      ¸ù¾Ýʵ¼ÊÇé¿öÑ¡ÔñÄں˾³ÏóÀàÐÍ£¬´ó¶àÊýÇé¿öÏÂÑ¡Ôñ“make bzImage”¡£
4£¬Í¨¹ýÏÂÃæµÄÃüÁî°²×°Äںˣº#make install
5£¬ÓÃÏÂÌõÃüÁî±àÒëËùÓб»ÅäÖÃΪģ¿éµÄÄÚºË×é¼þ£º #make modules
6£¬ °ÑËùÓбàÒëºÃµÄÄÚºËÄ£¿é°´ÕÕ¹¦ÄÜ¿½±´µ½/lib/modules/2.6.XXÏ£¬Ö´ÐÐ#make modules_install
7£¬ÊÖ¶¯²Ù×÷½«Äں˾³ÏñÎļþ£¨/linux/arch/i386/boot/bzImage£©¿½±´µ½/boot·ÖÇø£¬È»ºóÐÞ¸ÄLILO»òGRUBµÄÏà¹ØÉèÖ


Ïà¹ØÎĵµ£º

linuxÏ scpÃüÁî²»ÐèÒªÊäÈëÓû§ÃÜÂë


ÔÚÁ½Ì¨»úÆ÷µÄÁ½¸öÓû§Ö®¼ä½¨Á¢°²È«µÄÐÅÈιØϵºó£¬¿ÉʵÏÖÖ´ÐÐscpÃüÁîʱ²»ÐèÒªÊäÈëÓû§ÃÜÂë¡£
1. ÔÚ»úÆ÷ClientÉÏrootÓû§Ö´ÐÐssh-keygenÃüÁÉú³É½¨Á¢°²È«ÐÅÈιØϵµÄÖ¤Êé¡£
[root@Client root]# ssh-keygen -b 1024 -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh ......

linux mysql php apache ÅäÖð²×°

 ¡¡ÎÒÃÇ°ÑÏÂÔصÄÈý¸öÈí¼þ°ü·Åµ½/var/localĿ¼Ï£¨ÕâÊDZÊÕ߸öÈ˵ÄÏ°¹ß£©£¬ËüÃǶ¼ÊÇtar.gz°ü£¬¿ÉÒÔÓÃÃüÁîtar -xzpvf °üÃû£¬°ÑËüÃÇÔÚµ±Ç°Ä¿Â¼£¨/var/local/£©Öн⿪£º
cd /var/local
tar -xzpvf mysql-4.0.15.tar.gz
tar -xzpvf php-4.3.3.tar.gz
tar -xzpvf httpd-2.0.47.tar.gz
¡¡¡¡½â°üºó¿ÉÒÔ¿ªÊ¼½øÈëÕýʽ°²×°¡£ ......

Linux PROCÎļþϵͳÏêϸ½éÉÜ

ʲôÊÇprocÎļþϵͳ£¿
 
procÎļþϵͳÊÇÒ»¸öαÎļþϵͳ£¬ËüÖ»´æÔÚÄÚ´æµ±ÖУ¬¶ø²»Õ¼ÓÃÍâ´æ¿Õ¼ä¡£ËüÒÔÎļþϵͳµÄ·½Ê½Îª·ÃÎÊϵͳÄÚºËÊý¾ÝµÄ²Ù×÷Ìṩ½Ó¿Ú¡£Óû§ºÍÓ¦ÓóÌÐò¿ÉÒÔͨ¹ýprocµÃµ½ÏµÍ³µÄÐÅ
Ï¢£¬²¢¿ÉÒԸıäÄں˵ÄijЩ²ÎÊý¡£ÓÉÓÚϵͳµÄÐÅÏ¢£¬Èç½ø³Ì£¬ÊǶ¯Ì¬¸Ä±äµÄ£¬ËùÒÔÓû§»òÓ¦ÓóÌÐò¶ÁÈ¡procÎļþʱ£¬procÎļþϵ ......

Linux±ØѧµÄ60¸öÃüÁî(ת£©

ifconfig
1.×÷ÓÃ
ifconfigÓÃÓڲ鿴ºÍ¸ü¸ÄÍøÂç½Ó¿ÚµÄµØÖ·ºÍ²ÎÊý£¬°üÀ¨IPµØÖ·¡¢ÍøÂçÑÚÂë¡¢¹ã²¥µØÖ·£¬Ê¹ÓÃȨÏÞÊdz¬¼¶Óû§¡£
2.¸ñʽ
ifconfig -interface [options] address
3.Ö÷Òª²ÎÊý
-interface£ºÖ¸¶¨µÄÍøÂç½Ó¿ÚÃû£¬Èçeth0ºÍeth1¡£
up£º¼¤»îÖ¸¶¨µÄÍøÂç½Ó¿Ú¿¨¡£
down£º¹Ø±ÕÖ¸¶¨µÄÍøÂç½Ó¿Ú¡£
broadcast address£ºÉèÖà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ