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

Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì

1¡£»ñµÃÔ´´úÂë
        src ¹ÙÍøÏÂÔصØÖ·£ºftp://ftp.qt.nokia.com/qt/source/
        2009 Äê 10 Ô 1 ÈÕ·¢²¼µÄ qt-x11-opensource-src-4.5.3.tar.gz£¬´óС 122 Mb¡£
2¡£½âѹËõ
        tar xvfz qt-x11-opensource-src-4.5.3.tar.gz
3¡£Éú³É makefile Îļþ
        ./configure
        Õâ¸öʱºòËû»áÎÊÄ㣺“Which edition of Qt do you want to use?”
        È»ºó¸øÄãÁ½¸öÀàÐ͹©Ñ¡Ôñ£º
        Type 'c' if you want to use the Commercial Edition.
        Type 'o' if you want to use the Open Source Edition.
        µÚÒ»¸öÊÇÉÌÒµ°æ£¬µÚ¶þ¸öÊÇ×ÔÓÉ°æ¡£
        Ñ¡Ôñ 'o'£¨Qt/ǶÈëʽ×ÔÓÉ°æÊÇQtΪÁË¿ª·¢×ÔÓÉÈí¼þÌṩµÄǶÈëʽ°æ±¾£©¡£
        Õâʱºò£¬³öÏÖÐí¿É½çÃæ¡£
        Ñ¡Ôñ  'yes' ½ÓÊÜÐí¿ÉЭÒé¡£
        ¿ªÊ¼Éú³É makefile Îļþ¡£Õâ¸ö´óÔ¼ÐèÒª 5 -10 ·ÖÖÓµÄʱ¼ä¡£
4¡£Qt ±àÒë
        gmake
        Õâ¸ö¹ý³Ìʱ¼ä±È½Ï³¤£¬ÐèÒªÁ½¸öСʱ×óÓÒ¡£
5¡£Qt °²×°
        ÔËÐÐ gmake install
        ĬÈÏ°²×°ÖÁ /usr/local/Trolltech/Qt-4.5.3
        ´óÔ¼ 5 £­ 10 ·ÖÖÓ¡£Õý³£½áÊø£¬°²×°Íê±Ï¡£
        ÔËÐÐ /usr/local/Trolltech/Qt-4.5.3/bin/designer £¬¿´¼û qt Æô¶¯£¬Ò²¾ÍÊÇ˵ qt °²×°ºÃÁË¡£
6¡£ÉèÖû·¾³±äÁ¿
        Ò»¡£ÏÈÐÞ¸ÄÓû§»·¾³±äÁ¿
        vi /home/defonds/.bashrc
        ÔÚÆä×îºóÌí¼ÓÒÔÏÂÐÅÏ¢
        exp


Ïà¹ØÎĵµ£º

linuxÄÚºËregister_chrdev_region()ϵÁк¯Êý

ÄÚºËÖÐËùÓÐÒÑ·ÖÅäµÄ×Ö·ûÉ豸±àºÅ¶¼¼Ç¼ÔÚÒ»¸öÃûΪ chrdevs
É¢ÁбíÀï¡£¸ÃÉ¢ÁбíÖеÄÿһ¸öÔªËØÊÇÒ»¸ö char_device_struct ½á¹¹£¬ËüµÄ¶¨ÒåÈçÏ£º
  
static struct char_device_struct {
       struct char_device_struct *next;    // Ö¸ÏòÉ¢ÁгåÍ»Á´±íÖÐµÄ ......

linux VFSµÄÎļþIO

      Í¨¹ý²ûÊöÁ½¸ö¾ßÓдú±íÐÔµÄϵͳµ÷ÓÃsys_open()ºÍsys_read()À´¸üºÃµØÀí½âVFSÏò¾ßÌåÎļþϵͳÌṩµÄ½Ó¿Ú»úÖÆ¡£ÔÚÉîÈësys_open()ºÍsys_read()֮ǰ£¬ÎÒÃÇÏȸÅÀÀϵ÷ÓÃsys_read()µÄÉÏÏÂÎÄ¡£ÏÂͼÃèÊöÁË´ÓÓû§¿Õ¼äµÄread()µ÷Óõ½Êý¾Ý´Ó´ÅÅ̶Á³öµÄÕû¸öÁ÷³Ì¡£µ±ÔÚÓû§Ó¦ÓóÌÐòµ÷ÓÃÎļþI/O read()² ......

Á½¼Ò¼¼ÊõÐÍLinux VPS¹©Ó¦É̵ļ¼ÊõÎĵµ[ת]

Á½¼Ò¼¼ÊõÐÍLinux VPS¹©Ó¦É̵ļ¼ÊõÎĵµ µ±ÎÒÃÇΪÁ˽ÚÔ¼³É±¾¶ø²»µÃ²»Ñ¡ÔñLinux×÷Ϊ·þÎñÆ÷ϵͳ£¬»ù´¡¼¼Êõ¾Í³ÉÁËÎÒÃÇ×î´óµÄÕÏ°­£¬³ýÁËÈ¥LinuxµÄÏà¹ØÂÛ̳Í⣬ÕâÀïÍƼöÁ½¼ÒVPSÉ̵ļ¼ÊõÎĵµ£¬ËûÃǵÄVPS¼Û¸ñºÜ¹ó£¬µ«¼¼ÊõºÜºÃ£¬¼¼ÊõÎĵµµÄº¬½ðÁ¿ÉõÖÁ³¬¹ýÁËÄÇЩLinuxÂÛ̳¡£ µÚÒ»¸öÊÇLinodeÎĵµ¿â£¨ÎÒʹÓÃLinode½«½ü1Ä꣬ºÜºÃ£©£º h ......

Unix/Linux³£ÓÃÃüÁî—ÎļþµÄ¸´ÖÆ¡¢É¾³ýºÍÒƶ¯

cpÃüÁî
¸ÃÃüÁîµÄ¹¦ÄÜÊǽ«¸ø³öµÄÎļþ»òĿ¼¿½±´µ½ÁíÒ»Îļþ»òĿ¼ÖУ¬Í¬MSDOSϵÄcopyÃüÁîÒ»Ñù£¬¹¦ÄÜÊ®·ÖÇ¿´ó¡£
Óï·¨£º cp [Ñ¡Ïî] Ô´Îļþ»òĿ¼ Ä¿±êÎļþ»òĿ¼
˵Ã÷£º¸ÃÃüÁî°ÑÖ¸¶¨µÄÔ´Îļþ¸´ÖƵ½Ä¿±êÎļþ»ò°Ñ¶à¸öÔ´Îļþ¸´ÖƵ½Ä¿±êĿ¼ÖС£
¸ÃÃüÁîµÄ¸÷Ñ¡ÏÒåÈçÏ£º
- a ¸ÃÑ¡Ïîͨ³£ÔÚ¿½±´Ä¿Â¼Ê±Ê¹Óá£Ëü±£ÁôÁ´½Ó¡¢ÎÄ ......

Unix/Linux³£ÓÃÃüÁî—±¸·ÝÓëѹËõ

tarÃüÁî
tar¿ÉÒÔΪÎļþºÍĿ¼´´½¨µµ°¸¡£ÀûÓÃtar£¬Óû§¿ÉÒÔΪijһÌض¨Îļþ´´½¨µµ°¸£¨±¸·ÝÎļþ£©£¬Ò²¿ÉÒÔÔÚµµ°¸ÖиıäÎļþ£¬»òÕßÏòµµ°¸ÖмÓÈëеÄÎļþ¡£tar×î³õ±»ÓÃÀ´ÔÚ´Å´øÉÏ´´½¨µµ°¸£¬ÏÖÔÚ£¬Óû§¿ÉÒÔÔÚÈκÎÉ豸ÉÏ´´½¨µµ°¸£¬ÈçÈíÅÌ¡£ÀûÓÃtarÃüÁ¿ÉÒÔ°ÑÒ»´ó¶ÑµÄÎļþºÍĿ¼ȫ²¿´ò°ü³ÉÒ»¸öÎļþ£¬Õâ¶ÔÓÚ±¸·ÝÎļþ»ò½«¼¸¸öÎļþ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ