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

LinuxÄں˲üõ

http://blog.sina.com.cn/s/blog_490168e50100dw9r.html
Ò»¡¢Äں˱àÒë
1¡¢×¼±¸¹¤×÷
£¨1£©ÕûÀí³öϵͳÐèÒªÖ§³ÖµÄÓ²¼þ¡¢ÎļþϵͳÀàÐÍÒÔ¼°ÍøÂçЭÒéµÈÄÚÈÝ¡£
£¨2£©½¨ÒéÓÃÃüÁîuname –r ²é¿´Ò»ÏÂϵͳµÄ°æ±¾ºÅ£¬Èç¹ûÄãµÄϵͳ°æ±¾Ó뽫Ҫ±àÒëµÄÄں˰汾һÖ£¬½¨Ò齫/lib/modulesϵÄÄÚÈݱ¸·Ý£¬·ñÔò½«À´µÄmake modules_install ²½Öè²úÉúµÄÎļþ»á¸²¸ÇÕâ¸ö·¾¶ÏµÄÄÚÈÝ¡£
£¨3£©ÏÂÔز¢½âѹlinuxÄںˣ¬½¨Òé´Óhttp://www.kernel.org/pub/linux/kernel/ ÏÂÔØÄںˣ¬ÒòΪ°²×°ÏµÍ³Ê±Ëù°²×°µÄÔ´´úÂëĬÈÏÇé¿öÏÂÖ§³ÖºÜ¶àÉ豸£¬ÕâÑù¸øÄں˲üõÔö¼ÓÁËÄѶȡ£ÒÔϼÙÉèÄãÒѾ­ÏÂÔØÁËÄں˵ÄΪlinux-x-y-z.tar.gz¡£Ò»°ã¶¼½«linuxÄÚºËÔ´´úÂë·ÅÔÚ/usr/srcÏ£¬ÕâÀïÈÔÈ»×ñÊØÕâ¸öÏ°¹ß£¬Èç¹ûÄãµÄÕâ¸ö·¾¶ÏÂÒѾ­´æÔÚÕâ¸ö°æ±¾µÄÄںˣ¬½¨Ò齫ÒÑÓеĸĸöÃû³Æ¡£
2¡¢¿ªÊ¼±àÒë
£¨1£©make mrproper
È·±£Ô´´úÂëĿ¼ÏÂûÓв»ÕýÈ·µÄ.oÎļþºÍÎļþÒÀÀµ¹Øϵ£¬Ö´ÐиÃÃüÁîºó£¬ÄÚºËÑ¡Ïî»á»Øµ½Ä¬ÈϵÄ״̬Ï¡£Èç¹ûÄãÊÇÏÂÔصÄÄÚºËÔ´Â룬¶øÇÒÊǵÚÒ»´Î±àÒ룬¾ÍûÓбØÒªÖ´ÐÐÕâÒ»²½²Ù×÷
£¨2£©make menuconfig
ÒÔÎı¾²Ëµ¥·½Ê½Ñ¡ÔñÄÚºËÑ¡ÏÓëËü¹¦ÄÜÏàͬµÄÃüÁÓÐmake config£»make xconfig£»make oldconfig£©£¬²»Í¬°æ±¾µÄÄںˣ¬Ñ¡Ïî¿ÉÄÜ»áÓÐһЩ²îÒì¡£ÕâÒ»²½ÊÇÄں˱àÒëµÄ¹Ø¼ü£¬¸ù¾ÝÐèÒªÖ§³ÖµÄÓ²¼þ¡¢ÎļþϵͳºÍЭÒéµÈÄÚÈÝ£¬Ñ¡Ôñ²»Í¬µÄÑ¡Ïî¡£ÅäÖÃÑ¡Ïîʱ£¬ÓÐÈýÖÖÑ¡Ôñ·½Ê½£¬ËüÃÇ´ú±íµÄº¬ÒåÈçÏ£º
Y£­½«¸Ã¹¦ÄܱàÒë½øÄÚºË
N£­²»Ìí¼Ó¹¦ÄÜ
M£­½«¸Ã¹¦ÄܱàÒë³ÉÄ£¿é£¬ÔÚÐèҪʱ¶¯Ì¬¼ÓÔص½ÄÚºË
Ñ¡ÔñµÄÔ­ÔòÊÇÓëÄں˹ØÐĽôÃܶøÇÒ¾­³£Ê¹ÓõIJ¿·Ö¹¦ÄÜ´úÂëÖ±½Ó±àÒëµ½ÄÚºËÖУ»½«ÓëÄÚºËϵ½ÏÔ¶ÇÒ²»¾­³£Ê¹ÓõIJ¿·Ö¹¦ÄÜ´úÂë±àÒë³ÉΪ¿É¼ÓÔØÄ£¿é£¬ÓÐÀûÓÚ¼õСÄں˵ij¤¶È£¬¼õСÄÚºËÏûºÄµÄÄڴ棬¼ò»¯¸Ã¹¦ÄÜÏàÓ¦µÄ»·¾³¸Ä±äʱ¶ÔÄں˵ÄÓ°Ï죻²»ÐèÒªµÄ¹¦ÄܾͲ»ÒªÑ¡¡£
ÎÒÃÇʹÓÿոñ¼ü½øÐÐÑ¡È¡¡£¸ù¾ÝÑ¡ÏîµÄ²»Í¬£¬°´Ï¿ոñ¼üµÄ½á¹ûÒ²ÓÐËù²»Í¬£ºÑ¡ÏîºóÓД¨D¨D¨D>”·ûºÅµÄ£¬½øÈëÏÂÒ»¼¶²Ëµ¥£»Ñ¡ÏîÇ°ÓÐÖÐÀ¨ºÅµÄ£¬ÔòÔÚ¿ÕºÍ"*"Ö®¼äÇл»£»Ñ¡ÏîÇ°ÓмâÀ¨ºÅµÄ£¬ÔÚ¿Õ¡¢"*"ºÍ"M"Ö®¼äÇл»£»Ñ¡ÏîÇ°ÓÐÔ²À¨ºÅµÄ£¬ÐèÒªÔÚËùÌṩµÄ¼¸¸öÑ¡ÏîÖÐÑ¡ÔñÒ»Ï»òÕßÐèÒªÊäÈëÊýÖµµÈ·ûºÅ¡£ß×£¬Ê²Ã´£¿ÒªÎÒÏêϸ½éÉܾßÌå¸ÃÔõôѡÔñÕâЩѡÏ´óº¹£¡Õâ¿ÉÊǸö´óÎÊÌ⣬ÐèÒª¸ù¾Ý²»Í¬µÄÐèÇó½øÐÐÑ¡Ôñ£¬±ÈÈçÐèÒªÖ§³ÖUSB¼üÅÌ¡¢Êó±ê»ò/ºÍ´æ´¢Æ÷£¬Ö§³Ö¶àCPU£¬Ö§³ÖÍø¿¨£¬´®¿Ú£¬Ö§³ÖTCPЭÒ飬ext2Îļþϵͳ£¬nfsÎļþϵͳµÈµÈ¡£ºóÃæÎÒ½«¾ÍÄÚºËÑ¡Ïî×öÏêϸµÄ½éÉÜ¡£
£


Ïà¹ØÎĵµ£º

LinuxÖеÄÄÚ´æ·ÖÅäºÍÊÍ·ÅÖ®__alloc_pages()º¯Êý·ÖÎö

  ÔÚÉÏƪÎÄÕµĽá⣬ÎÒÃÇ˵»áÔÚ½ÓÏÂÀ´µÄÎÄÕ·ÖÎö·ÖÅ亯ÊýµÄ¾ßÌå´úÂ룬½áºÏÎÒÉÏƪÎÄÕÂ˵µÄ»ï°é»úÖƺÍÀäÈÈÇøµÄ¸ÅÄ¸üºÃµÃÈ¥Àí½âÕâ¸ö·ÖÅä¹ý³Ì¡£ºÃÁË£¬ÎÒÃDz»ÔÙ¶à˵ÁË£¬ÎÒÃÇÏÖÔÚ¿ªÊ¼·ÖÎö´úÂë°É¡£
  struct page * fastcall __alloc_pages(unsigned int gfp_mask, unsigned int order,struct zonelist *zonelist) ......

My Linux Studying Note (Îå)

                                                   ......

Linux¿ª»úÆô¶¯Oracle

ÔÚ/etc/rc.localÖÐÌí¼Ó
su - oracle "-c dbstart"
ÔÚ´Ë֮ǰÄãҪȷ±£¸ÃÃüÁî¿ÉÒÔÆô¶¯ÄãÐèÒªµÄÊý¾Ý¿â, ÐèÒª²âÊÔÒ»ÏÂ
su - oracle "-c dbstart"
dbstartÃüÁîÕý³£ÔËÐÐÐèÒªÅäÖÃ/etc/oratab,ÀïÃæ¿ÉÒÔÅäÖöà¸öÊý¾Ý¿âʵÀý,ÿ¸öµÄ¸ñʽ:
$ORACLE_SID:$ORACLE_HOME:<N|Y>
Õý³£Çé¿öÏÂÅäÖúÃ/etc/oratab, dbstartÃüÁî¾Í¿ÉÒÔÕý ......

ÔÚLinuxÏ´ jsp »·¾³ÅäÖÃ

ºìÆì×ÀÃæLinux4.1Ï°²×°ºÍÅäÖÃJSP·þÎñÆ÷È«¹¥ÂÔ
ÕâÁ½ÌìÊÔ×ÅÔÚºìÆìLinux×ÀÃæ°æ4.1Ï°²×°WEB·þÎñÆ÷£¬Òѳɹ¦°²×°£¬ÏÖ°ÑÎҵݲװ¹ý³Ì½éÉÜÈçÏ£¬ÒÔ¸øÓÐÏàËÆÐèÇóµÄÍøÓѲο¼¡£
ÎҵݲװҪÇóÊÇÖ§³ÖJSP¡¢html¡¢htmÍøÒ³£¬ËùÒÔÑ¡ÓÃJDK1.5.0+Tomcat5.5.4+mySQL4.1.7£¬ÕâЩ¶¼Êǵ±Ç°¸÷Èí¼þ×îеÄÎȶ¨°æ±¾£¨·Ç²âÊ԰棩¡£ÔÝûÓа²×°Apacheº ......

Linux Ï mysql µÄÏà¹ØÃüÁî

1.µÇ¼£º mysql -uroot -p
2.LinuxÏÂmysql ²»ÄÜÍâÍø·ÃÎÊ
  
   ÒѾ­ÔÚMYSQLÀïgrantÁËȨÏÞÁË¡£ÔÚÍâÍø»¹ÊDz»ÄÜ·ÃÎÊ .
   ÎÊÌ⣺
   cat  /etc/mysql/my.conf
   ÕÒµ½ÏÂÃæÒ»ÐÐ
   bind-address   = 127.0.0.1
   Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ