×¢£ººÜ¶àÈ˲»ÖªµÀ£¬ÆäʵlinuxÏÂÒ²ÊÇÖ§³ÖË«»÷°²×°Èí¼þµÄ£¬³ý´ËÖ®Í⣬linuxÏÂʹÓÃÒ»¸öÖ¸Áî°²×°Èí¼þµÄ·½Ê½±ÈwindowsÒª¼òµ¥µÃ¶à¡£
Ê×ÏÈҪ˵һÏ£¬ºÜ¶àLinuxµÄ·¢ÐаæÀýÈçUbuntu»òÕßCentOS¡¢FedoraµÈ£¬ÊÇ¿ÉÒÔË«»÷°²×°×Ô¼º·¢ÐаæµÄ°²×°°üµÄ£¬ÀýÈçdeb¡¢rpmµÈ¡£
ÄÇôΪʲôÏÖÔڴ󲿷ÖÈí¼þ»¹ÊÇÐèÒªÏÂÔØÒ»¸ötar.gzÈ»ºó./configure/make/make install·±ËöµÄÃüÁî°²×°ÄØ£¿
Æäʵ£¬LinuxϸúWindowsµÄÈí¼þ·¢²¼ÓÐÒ»¸ö×î´óµÄ²»Í¬¾ÍÊÇLinuxÏ´󲿷ÖÈí¼þ¶¼ÊÇ¿ªÔ´µÄ£¬Ö»ÌṩԴÂëÏÂÔØ£¬²»Ìṩ±àÒëºÃµÄ¶þ½øÖÆÏÂÔØ¡£ËùÒÔ£¬ÉÏÃæµÄÈý¸öÃüÁîʵ¼ÊÉÏÊDZàÒëÒ»¸öÈí¼þ£¬È»ºó¿½±´µ½ÏµÍ³¶ÔӦĿ¼£¬×¼È·À´Ëµ²»ÊÇ°²×°¡£
µ«ÊÇΪʲô·ÇÒªÕâÈý¸öÃüÁ¶ø²»ÊÇË«»÷Ö®ºó×Ô¶¯Ö´ÐÐÉÏÊöÈý¸öÃüÁîÄØ£¿
Ö÷Òª»¹ÊÇ¿çƽ̨ºÍ¶¨ÖÆ»¯µÄ¿¼ÂÇ¡£ÎÒÃÇÖªµÀLinux·¢ÐаæÖڶ࣬LinuxÖ§³ÖµÄƽ̨ҲºÜ¶à£¬´ÓʹÓÃ×î¶àµÄx86µ½arm£¬solarisµÈ£¬ËùÒÔÕâ¸ö./configure½Å±¾¿ÉÒÔÖ§³ÖºÜ¶à±àÒë²ÎÊý£¬´Ó¶øÈÃÈí¼þÖ§³Ö¼¸ºõËùÓеÄÓ²¼þƽ̨¡£
¶øWindowsÏ£¬ÓÉÓÚ¼¸ºõËùÓÐÈí¼þ¶¼ÊDZàÒëºÃµÄ¶þ½øÖÆ´ò°ü·¢²¼£¬ËùÒÔÈí¼þҪôÊÇ32λ°æ±¾£¬ÒªÃ´ÊÇ64λ°æ±¾²»ÄÜͨÓõġ£ºÃÔÚWindowsÄ¿Ç°Ö»Ö§ ³Öx86ºÍx64Á½¸öÓ²¼þƽ̨£¬¼ÙÈôÒÔºóWindowsÖ§³ÖÆäËûƽ̨£¬ÄÇôÎÒÃÇÈÕ³£Èí¼þµÄ°æ±¾Çø·Ö¾ÍÒª¸ü¶àÁË¡£¶øLinuxÏÂÖ»Òª·¢²¼Ò»¸öÔ´Âë°ü£¬ÄãÓû§ ÊÇʲôӲ¼þƽ̨×Ô¼º±àÒëºÃÁË¡£
ÁíÍâÉÔ΢ѧ¹ýÈí¼þ¹¤³ÌµÄ¶¼ÖªµÀ£¬Èí¼þ¿ª·¢¶¼ÊÇÄ£¿é»¯µÄ£¬Í¨¹ý./configureÃüÁî¼ÓÉϺÏÀí²ÎÊý£¬¿ÉÒÔ²»±àÒë²»ÐèÒªµÄÄ£¿é£¬±ÈÈç×î³£ÓõÄphp£¬×Ô´ø¼¸Ê®¸öÄ£¿é£¬Í¨³£ÎÒÃÇÐèÒªÄĸö±àÒëÄĸöºÃÁË¡£
ÓÐÈË¿ÉÄÜ˵Windows°²×°Èí¼þÒ²ÄÜÑ¡ÔñÐÔ°²×°£¬ÎÒ¿ÉÒÔ²»°²×°ÎÒ²»ÐèÒªµÄÄ£¿é¡£
Æäʵ£¬Windows¾ÍËãÄã²»°²×°ÄãÑ¡ÔñµÄÄ£¿é£¬ÄÇÒ²Ö»ÊÇÕâ¸öÄ£¿é²»°²×°¡£¶øÖ÷³ÌÐòµÄÄ£¿é·ÃÎÊÊDZàÒëºÃµÄ£¬ËûÖ»²»¹ýÄÜ×Ô¶¯ÅжÏÕâ¸öÄ£¿é²»´æÔھͲ»¼ÓÔØ°ÕÁË¡£
ÁíÍ⣬LinuxºÜ¶àÄ£¿éÊÇͨÓõģ¬Õâ¾ÍÊÇÒÀÀµ¹Øϵ£¬¾ÙÀýÀ´ËµÒªÓÃphpµÄiconv¹¦ÄÜ£¬¾ÍÐèҪϵͳ°²×°libiconv¿â£¬¶ø²»Í¬µÄµçÄ﵀ libiconv¿â°²×°Â·¾¶²»Í¬£¬ËùÒÔÐèҪͨ¹ý./configureµÄ²ÎÊýÖ¸¶¨ÄãµçÄÔµÄlibiconv°²×°Â·¾¶ÊǶàÉÙ£¬php²ÅÄÜ˳Àû±àÒëͨ¹ý¡£ WindowsÔòÊDZØÐëÔÚC:WindowsSystem32Ï£¬¿É¶¨ÖÆ»¯Ì«²îÁË¡£
ÔÙ˵һÏÂmakeÃüÁî¡£makeÃüÁî¾ÍÊǸù¾Ý¸Õ²Å./configureµÄÅäÖòÎÊý£¬À´°ÑÔ´Âë±àÒë³É¶þ½øÖÆÎļþ£¬·Åµ½µ±Ç°Ä¿Â¼£¬¶ø²»ÊǸ´ÖƵ½ÏµÍ³Ä¿Â¼¡£ÎªÊ²Ã´²»ÄÜ°ÑmakeºÍmake install·ÅÔÚÒ»ÆðÄØ£¿
ÒòΪÓÐЩʱºò£¬ÎÒÃÇÖ»ÐèÒªÒ»¸öÈí¼þ°üÀïÃæµÄij¸ö¶¯Ì¬Á´½Ó¿â£¬¶ø²»ÊÇÕû¸ö³ÌÐò¡£±ÈÈçÎÒÃǾ³£ÐèÒªlighttpdÖеÄspawn-fcgi£¬ËùÒÔÎÒÃDz»±Ø°²×°lighttpd£¬¶øÊÇÖ±½Ó±àÒëÍ꣬µÃµ½ÆäÖеÄspawn-fcgi¼´¿É¡£
×îºó£¬make install¾ÍÊǰѱàÒëºÃµÄ¶þ½øÖÆÎļþºÍÁ´½Ó¿â¡¢ÅäÖÃÎļþµÈ¸´ÖƵ½ÏµÍ³µÄ¸÷¸öĿ¼¼´¿É£¬°²×°Íê³É¡£
˵µÀÕâÀ¿ÉÄÜÓÐЩÍøÓѸù±¾Ã»¿´ÉÏÃæÎÄ×Ö£¬¾Í˵£ºÆÕͨÓû§²»ÐèÒªÖªµÀÕâô¶à£¬ËûÃǾÍÐèÒªÖªµÀÔõôÓþÍÐÐÁË¡£Êǵģ¬»°Ëµ»ØÀ´ÁË£¬ÕâЩÈËÈç¹û²»ÓÃWindows£¬ÍêÈ«¿ÉÒÔ³¢ÊÔUbuntu»òÕßFedora£¬ÕâÁ½¸ö·¢Ðа涼¿ÉÒÔË«»÷°²×°³ÌÐò¡£µ«ÊÇȱµã¾ÍÊÇÎÞ·¨Éî¶È¶¨ÖÆ¡£
ÎÒÃdz©Ïëһϣ¬Èç¹ûQQÓÐtar.gzÔ´Âë°æ·¢²¼£¬ÄÇôÎÒÏ£ÍûµÄ°²×°ÃüÁîÊÇ£º
cd qq2016/
./configure --without-ad --without-qqshow --without-popnews --without-qzone --with-ipaddress --with-showip
make;make install
±¾ÎÄÓÀ¾Ã¸üеØÖ·£ºhttp://www.linuxdiyf.com/linux/19794.html