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

LinuxÏÂÇý¶¯Ó²¼þ°²×°½Ì³Ì

¶ÔÓÚÓ²¼þ£¬ÓеÄÐÂÊÖµÜÐÖ¿ÉÄÜ»¹ÊDz»Ì«Ã÷°×ÔÚLinuxÏÂÇý¶¯Ó²¼þ£¬ÓÈÆäÔÚ¸Õ½Ó´¥Linuxʱ£¬Çý¶¯µÄ°²×°ÍùÍùÊÇ×îÁîÈËÍ·Í´µÄÒ»¼þÊÂÁË¡£
Ò»¡¢ ¶ÔϵͳÇý¶¯°²×°µÄÒ»µã³£Ê¶¡£
1£® ¿ª·¢¹¤¾ßÊDZØÐë°²×°£º
Èç¹ûÄúÊÇÐÂÊÖ£¬ÎÒ»¹Êǽ¨ÒéÄú°ÑϵͳÍêÈ«°²×°£¬ÒòΪÔÚ°²×°ÆäËüµÄÈí¼þ»áÓõ½Ò»Ð©£¬ÎÒÃDz»Ì«Ã÷°×µÄ¿âÎļþÒÔ¼°¿ª·¢¹¤¾ß¡£±ÈÈçmake gcc automakeµÈ¡£ËùÒÔ¿ª·¢Îļþ¹¤¾ßÊDZØÐë°²×°µÄ£¬Èç¹ûÄú²»ÖªµÀʲôÊÇ¿ª·¢¹¤¾ß£¬»òÕßûÓа²×°£¬¾ÍÔÚÔ­ÓеÄϵͳÉÏ£¬Ïóµ±³õ°²×°Ê±Ò»Ñù£¬Ñ¡£ÛÉý¼¶£Ý£¬°Ñ¿ª ·¢¹¤¾ßÄÇÒ»À¸È«²¿Ñ¡ÖС£
2£® Kernel-sourceÒ²ÊDZØÐë°²×°µÄ£¬Ó²¼þµÄÇý¶¯³ÌÐò£¬Èç¹ûÊÇÒÔtar°ü°²×°£¬Ò²¾ÍÊÇÔ´Âë°ü°²×°£¬±àÒëʱ°²×°ÒªÓõ½Ô´Âë°ü£¬µ±È»Ç°Ãæ˵µÄ¿ª·¢¹¤¾ßÒ² ÊDZØÐëµÄ¡£Èç¹ûÄú²»ÖªµÀʲôÊÇkernel-source£¬¾ÍÔÚÅÌÖÐÕÒÒ»¸ö´øÓÐkernel-sourceµÄRPM°ü£¬È»ºóÓÃÏÂÃæµÄÃüÁîÀ´°²×°
#rpm –vih kernel-source*rpm
3£® Èç¹ûÇý¶¯ÊÇRPM°üµÄ£¬Ó¦¸ÃÓÃÏÂÃæµÄÃüÁîÀ´°²×°
#rpm –vih *.rpm
±ÈÈçÎÒÏÂÔصÄÇý¶¯ÊÇ123.rpm£¬¾ÍÒªÔÚ¿ØÖÆ̨ÏÂÊäÈëÃüÁîrpm –ihv 123.rpm£¬¿ÉÄÜÓеĵÜÐÖʲôÊÇ¿ØÖÆ̨²»Ì«ÖªµÀ £¬ÄǾÍÔڲ˵¥ÉÏÕÒÒ»¸ö½Ð£ÛÖնˣݣ¬È»ºó³öÀ´µÄÊÇÒ»¸öÏówindowsÏÂÃædos½çÃæÄÇÑùµÄ¡£
4£® Èç¹ûÊÇtar.gz»òÕß.tar.bz2ÒÔ¼°ÆäËüµÄѹËõ°ü£¬Ó¦¸ÃÏÈ°Ñ°ü½â¿ª¡£È»ºó¿´ÀïÃæÓÐÀàËÆREADMEºÍINSTALLÖ®ÀàµÄ˵Ã÷ÎĵµÖ®ÀàµÄ£¬ÀïÃæÒ»°ãÓÐÏêϸµÄ˵Ã÷²½¾Û¡£ÓеĵÜÐÖ¿ÉÄܲ»»á½âѹ.tar.gz»òÕßtar.bz2
#tar zxvf *.tar.gz
#tar jxvf *.tar.bz2
#unzip *.zip
¶þ¡¢ ¶ÔÓ²¼þµÄÁ˽âµÄÒ»µã³£Ê¶
¿ÉÄÜÎÒÃǸüÏ°¹ßÓÃWindows£¬¸üÏ°¹ßµãÊó±êµã°²×°Çý¶¯£¬´ó¶àÊýÓ²¼þÔÚwindowsÓÐÇý¶¯£¬ÉÙÊýûÓеģ¬Ó²¼þÉÌÒ²»áÌṩ¡£ÆäʵÎÞÂÛʲôÇý¶¯£¬¶¼ÊÇÒÔо ƬΪ±ê×¼µÄ£¬ÎÞÂÛʲôƷÅƵÄÓ²¼þ£¬Æð×îÖ÷Òª×÷ÓõľÍÊÇоƬ£¬¶ø²»ÊÇÆ·ÅÆ¡£±ÈÈçÎÒÃÇÔÚÊг¡ÉÏ¿´µ½Óи÷ÖÖ¸÷ÑùµÄÏÔ¿¨£¬Æäʵ¿´Ò»ÏÂËûÃǵÄоƬ£¬´ó¶àÊÇATIºÍ NVIDIAµÄ£¬ËùÓеÄATIºÍNVIDIAµÄÇý¶¯¶¼ÊÇATIºÍNVIDIA¿ª·¢³öÀ´µÄ¡£ËùÒÔÎÒÃÇÔÙ̸ƷÅÆ»¹ÓÐÓÃÂð£¿
ËùÒÔÎÒÃÇÌáÎʵÄʱºò£¬Òª°ÑÓ²¼þµÄоƬ˵³öÀ´£¬Ð¾Æ¬ÊÇÇý¶¯µÄΨһ±êʶ£¬¶ø²»ÊÇÆ·ÅÆ£¡£¡£¡
ÈçºÎ²é¿´Ó²¼þµÄоƬ??
[root@linuxsir01 root]# lspci –v
Èý¡¢ ¶ÔÓ²¼þÇý¶¯°æ±¾Ñ¡Ôñ
Ҫ˵Ã÷ϵͳ¡¢°æ±¾ÒÔ¼°Äں˵İ汾£¬ÓÃÏÂÃæµÄÃüÁîÀ´²âÊÔ
#uname –a
»á³öÏÖÄں˵İ汾£¬ÎÒÃÇÒª¸ù¾ÝϵͳµÄ°æ±¾¡¢Äں˵İ汾À´ÏÂÔØÏàÓ¦µÄÇý¶¯¡£ÒªÑ§»á¿´ÏµÍ³µÄ
°æ±¾ºÅ¡£ÎªÊ²Ã´ÕâÑù˵£¬ÒòΪ²»Í¬µÄÄںˡ¢²»Í¬µÄϵͳҪÓò»Í¬µÄÇý¶¯¡£Èç


Ïà¹ØÎĵµ£º

LinuxÖ÷ÒªÐÔÄÜÖ¸±ê¼à¿Ø

1.CPU&½ø³Ì
 
1.1 topÃüÁî
 
top - 20:07:00 up 186 days,  3:47,  3 users,  load average: 0.01, 0.02, 0.00
Tasks:  82 total,   1 running,  80 sleeping,   1 stopped,   0 zombie
Cpu(s):  3.7% us,  0.0% sy,  0.0% ni, ......

дµÃÂùºÃµÄlinuxѧϰ±Ê¼Ç(ת)


linuxĿ¼¼Ü¹¹
/   ¸ùĿ¼
/bin    ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot   ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
     /boot/grub/menu.lst   GRUBÉèÖÃ
   ......

C×Ö·û´®´¦Àíº¯ÊýµÄʵÏÖ£¨Linux£©

C×Ö·û´®´¦Àíº¯ÊýµÄʵÏÖ£¨Linux£©
#include <stddef.h>
char * ___strtok = NULL;

char * strcpy(char * dest,const char *src)
{
char *tmp = dest;

while ((*dest++ = *src++) != '\0')
/* nothing */;
return tmp;
}

char * strncpy(char * des ......

ÈçºÎÔÚUbuntu±àÒëLinuxÄÚºË


Ê×ÏÈÐèÒªÏÂÔØLinux kernel£¬ÔÚwww.kernel.orgÀïÃæÏÂÔØ¡£È»ºóÐèÒª°²×°kernel-package£¬fakeroot¡£ÕâÑù×¼±¸¹¤×÷¾ÍÍê³ÉÁË¡£
ÏÂÃ濪ʼÄں˵ÄÅäÖá£×îÖØÒªµÄÒ»µãÊÇÈ¥µôkenerl hackingÑ¡ÏÏÂÃæµÄ“±àÒëÄں˴øÓÐdebugÐÅÏ¢”Ñ¡Ï·ñÔò±àÒë³öÀ´µÄÄÚºËÎÞ±ÈÅÓ´ó
¡£È»ºó¸ù¾Ý¸öÈËÐèҪȥµôһЩÇý¶¯¡£²»¹ý±ØÐëÇå³þÖªµÀ×Ô¼ ......

ËÄÖÖÖ÷ÒªLinux°æ±¾Ö®¼äµÄ±È½Ï

±¾ÎÄÎÒ½«±È½ÏËÄÖÖÖ÷ÒªµÄLinux°æ±¾—— Debian£¬Mandrake£¬Red Hat£¬ºÍSuSE—²¢ÌÖÂÛÈçºÎÖƶ©Ñ¡ÔñÊʺÏÌض¨ÉÌÒµ»·¾³Linux°æ±¾µÄ±ê×¼¡£
  ÎÒÃǺÜÄÑ´Ó´óÁ¿Linux°æ±¾ÖÐÑ¡ÔñÒ»¿îÕýºÃÊʺÏij¸öÌض¨»·¾³µÄ°æ±¾¡£Ã¿ Ò»¸ö°æ±¾¶¼ÓÐ×Ô¼ºµÄ²àÖص㣬ÓÐÒ»Ì××Ô¼ºµÄÎļþ£¬°²×°·½Ê½ºÍ×Ô¼ºµÄ
LinuxÄں˰汾¡£±¾ÎÄÎÒ½«±È½ÏË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ