»ùÓÚBootsplashǶÈëʽLinuxÆô¶¯»Ã涨ÖÆ
ÔÚ»ùÓÚlinuxµÄǶÈëʽ·ÂÕæƽ̨¿ª·¢ÖУ¬Öն˵ÄÃÀ¹ÛºÍ¿É¶¨ÖÆÊÇÒ»¸öÖØÒªµÄÎÊÌâ¡£¿ª»úʱ¹ö¶¯ÔÚÆÁÄ»ÉϵÄ×Ö·û´®ºÍµ¥µ÷µÄpenguinͼ±ê£¬Ê¹Ç¶Èëʽ
É豸ÈÔÈ»ÍÑÀë²»ÁËpcµÄºÛ¼££¬linux¿ØÖÆ̨Éϵ¥µ÷µÄ“°×Ö½ºÚ×Ö”ÐͱíÏÖ·½Ê½¿Éν´óÉ··ç¾°¡£¸ÄÔìlinux¿ØÖÆ̨ʹ֮ÃÀ¹Û¿É¶¨ÖƵØչʾ¿ª»úÐÅÏ¢ºÍ
logo³ÉΪ»ùÓÚǶÈëʽlinuxÓ¦ÓõÄÒ»ÏîÖØÒª¹¤×÷¡£
¿ªÔ´ÏîÄ¿bootsplash(http://www.bootsplash.org/
)
Ϊ½â¾öÕâ¸öÎÊÌâÌṩÁËÒ»¸öÍêÃÀµÄ½â¾ö·½°¸¡£Boot-splashͨ¹ý¶ÔÄں˴ò²¹¶¡À´¸Ä±älinux
framebuffer¿ØÖÆ̨¶ÔͼÐÎÏÔʾµÄÖ§³Ö¡£Í¨¹ýÓû§¿Õ¼ä³ÌÐòÀ´¶¨ÖÆÆô¶¯logo¡¢É趨¿ØÖÆ̨±³¾°ºÍÏÔÒþÆô¶¯Ê±µÄ×Ö·ûÐÅÏ¢£¬ÉõÖÁ¿ÉÒÔÖ§³Ö¿ª»ú»ÃæµÄ¶¯
»ÏÔʾ¡£±¾ÎĽéÉÜÀûÓÃsplashboot´òÔìÆô¶¯»ÃæµÄ½â¾ö·½°¸£¬Éæ¼°Äں˲¹¶¡¡¢Óû§¿Õ¼äÉèÖõȷ½ÃæµÄ¾ßÌ幤×÷¡£
1 Äں˲¹¶¡ºÍ¿ØÖƹ¤¾ß
1.1 Ö§³ÖbootsplashµÄÄں˲¹¶¡
Õë¶Ô²»Í¬µÄÄں˰汾£¬bootsplashÕ¾µãÉϸø³öÁËÏàÓ¦µÄÄں˲¹¶¡¡£ÎÒÃÇËùʹÓõÄÄں˰汾Ϊ2.4.23£¬ÏÂÔز¢¸øÄں˴òÉϲ¹¶¡£º
cd /usr/src/linux
make mrproper
patch -Np1 -i ../bootsplash-3.0.7-2.4.23.diff
ÖØбàÒëÄںˣº
make menuconfig
Ñ¡ÉÏÈçϵļ¸¸ö²ÎÊý£º
Code maturity level options --->
Prompt for development and/or incomplete code/drivers
Block devices ---> RAM disk support
Block devices ---> Initial RAM disk (initrd) support
Console drivers ---> Video mode selection support
Console drivers ---> Frame-buffer support --->
Support for frame buffer devices
VESA VGA graphics console
Use splash screen instead of boot logo
È»ºó±àÒëÄںˣº
make dep && make bzImage
ÔÙ°ÑÉú³ÉµÄÄں˿½±´µ½/bootÏÂ:
cp arch/i386/boot/bzImage /boot/linux-bootsplash
ÕâÑùÎÒÃǵõ½µÄÐÂÄÚºËbzImage¾ÍÊÇÖ§³ÖbootsplashµÄÄÚºËÁË£¬Ê£ÏµĹ¤×÷¾ÍÊǶÔbootsplashµÄ¶¨ÖÆÁË¡£
1.2 °²×°Óû§¿Õ¼ä³ÌÐò
ÏÂÔØbootsplash¹¤¾ß£¬½âѹ°²×°£º
tar –zxf bootsplash-3.0.7.tar.gz
cd bootsplash-3.0.7/Utilities
make
cp fbresolution fbmngplay fbtruetype splash /sbin/
ÕâÑùÍê³ÉÁ˶ÔÓû§¿Õ¼ä¹¤¾ßµÄ°²×°£¬Æäʵbootsplash·Ö±ðÀûÓÃÈçϵÄËĸö³ÌÐò£ºsplash³ÌÐòÊǽ«ÐèÒªÔÚframebufferÏÂÏÔʾµÄͼ
Ƭ×ÊÔ´ÖÆ×÷³ÉÆô¶¯ramÅ̵Ť¾ß£»fbmngplay¶ÁmngÎļþ£¬²¥·Å¶¯»£»fbtruetypeÏÔʾtruetype×ÖÌ壻fbresoluti
Ïà¹ØÎĵµ£º
ÏñLinuxÄÚºËÕâÑùÅÓ´ó¶ø¸´ÔӵijÌÐò¿´ÆðÀ´È·ÊµÈÃÈËÍû¶øÉú磬ËüÏóÒ»¸öºÜ´óµÄÇò£¬Ã»ÓÐÆðµãºÍÖյ㡣ÔÚ¶ÁÔ´´úÂëµÄ¹ý³ÌÖУ¬Äã»áÓöµ½ÕâÑùµÄÇé¿ö£¬µ±¶Áµ½Äں˵Äijһ²¿·ÖʱÓÖ»áÉæ¼°µ½ÆäËü¸ü¶àµÄÎļþ£¬µ±·µ»Øµ½ÔÀ´µÄµØ·½Ïë¼ÌÐøÍù϶Áʱ£¬ÓÖÍüÁËÔÀ´¶ÁµÄÄÚÈÝ¡£ÔÚinternetÉÏ£¬ºÜ¶àÈËΪ´Ë¸¶³öÁ˺ܴóµÄŬÁ¦£¬ÖÆ×÷³öÁËÔ´´úÂëµ¼º½Æ÷£ ......
KS2009: How Google uses Linux
By Jonathan Corbet
October 21, 2009
LWN's 2009 Kernel Summit coverage
There may be no single organization which runs more Linux systems than Google. But the kernel development community knows little about how Google uses Linux and what sort of problems are ......
LINUXϲ鿴Apache²¢·¢ÇëÇóÊý¼°ÆäTCPÁ¬½Ó״̬ ÊÕ²Ø
2007-7-20 18:30 ÕÅÑç
²é¿´httpd½ø³ÌÊý£¨¼´preforkģʽÏÂApacheÄܹ»´¦ÀíµÄ²¢·¢ÇëÇóÊý£©£º
LinuxÃüÁ
ps -ef | grep httpd | wc -l
·µ»Ø½á¹ûʾÀý£º
¡¡¡¡1388
¡¡¡¡±íʾApacheÄܹ»´¦Àí1388¸ö²¢·¢ÇëÇó£¬Õâ¸öÖµApache¿É¸ù¾Ý¸ºÔØÇé¿ö×Ô¶¯µ÷Õû£¬ÎÒÕâ×é·þÎñÆ÷Ö ......
FTP>ascii: É趨ÒÔASCII·½Ê½´«ËÍÎļþ(ȱʡֵ)
FTP>bell: ÿÍê³ÉÒ»´ÎÎļþ´«ËÍ,±¨¾¯Ìáʾ.
FTP>binary: É趨ÒÔ¶þ½øÖÆ·½Ê½´«ËÍÎļþ.
FTP>bye: ÖÕÖ¹Ö÷»úFTP½ø³Ì,²¢Í˳öFTP¹ÜÀí·½Ê½.
FTP>case: µ±ÎªONʱ,ÓÃMGETÃüÁ±´µÄÎļþÃûµ½±¾µØ»úÆ÷ÖÐ,È«²¿×ª»»ÎªÐ¡Ð´×Öĸ.
FTP>cd: ͬUNIXµÄCDÃüÁî.
FTP>c ......