linuxϽâ¾öapache²»Ö§³ÖÖÐÎÄÃûµÄ·½·¨Ïê½â£¡
Submitted by felix on 2007, November 16, 11:51 AM. ÖíÖ®¼¼Êõ
ÕâƪÎÄÕÂÊÇ×ۺϲο¼Á˺ü¸ÆªÎÄÕÂд³ÉµÄ£¬Ôڴ˶Լ¸Î»×÷Õß±íʾ¸Ðл£¬ÒÔÏÂÊDzο¼µÄ¼¸ÆªÔÎĵØÖ·£º
http://blog.51766.com/page/zsc?entry=1141808884223
http://www.cublog.cn/u/1589/showart.php?id=239748
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg20921.html
linuxϽâ¾öapache²»Ö§³ÖÖÐÎÄÃûµÄ·½·¨Ïê½âÈçÏ£º
¡ö ÏÂÔØÏà¹ØÎļþ²¢½âѹ
WebDAV Resources JPÓÐApache2¶ÔÓ¦µÄmod_encodingµÄ×îа汾ÏÂÔØ
# wget http://webdav.todo.gr.jp/download/mod_encoding-20021209.tar.gz
# wget http://webdav.todo.gr.jp/download/experimental/mod_encoding.c.apache2.20040616
# tar zxfv mod_encoding-20021209.tar.gz
# cp mod_encoding.c.apache2.20040616 mod_encoding-20021209/mod_encoding.c
¡ö iconv_hook±àÒëºÍ°²×°
°²×°mod_encodingÇ°Ê×ÏÈÐèÒª°²×°iconv_hook¡£
$ cd mod_encoding-20021209/lib
$ ./configure
$ make
$ su
# make install
Íê³ÉÉÏÃæ²Ù×÷ºó£¬iconv_hookÏà¹ØsoÎļþ·Åµ½/usr/local/libÏÂÃæ¡£
Òª²Ù×÷ϵͳϵͳÄܹ»ËÑË÷µ½¸ÃsoÎļþ£¬ÐèÒªÍê³Éһϼ¸ÐвÙ×÷
´ò¿ª/etc/ld.so.confÎļþ£¬Ìí¼ÓÒ»ÐÐÖ¸Ïòiconv_bookµÄËùÔÚ·¾¶£¬¼´"/usr/local/lib"
# vi /etc/ld.so.conf
/usr/local/lib
[Esc]¡¢[:]¡¢[w]¡¢[q] ±£´æÍ˳ö¡£
# PATH="$PATH:/sbin"
# ldconfig
¡ö apxs¹¤¾ß°²×°
±àÒëmod_encodingʱ£¬±ØÐëÒªÓÐapxs£¬httpd-develÖаüÀ¨´´½¨ºÍ°²×°À©Õ¹Ä£¿éµÄapxs¹¤¾ß¡£Èç¹ûÊÇÄã°²×°ÁËApache£¬¼ì²é${APACHE_HOME}/bin/ÏÂÊÇ·ñ´æÔÚapxs£¬Èç¹û´æÔÚÔòÂÔ¹ý¸Ã²½ÎÞÐè×Ô¼º°²×°¸Ã³ÌÐò°ü£¬Èç¹ûÉÐδ°²×°eÔòÐèÒª×Ô¼ºÊÖ¶¯°²×°httpd-devel¡£
# apt-get install http-devel
¡ö mod_encodingÄ£¿éµÄ±àÒë
½øÈëmod_encoding-20021209.tar.gzµÄ½âѹĿ¼£¬¼´mod_encoding-20021209
# ./configure --with-apxs=/usr/sbin/apxs --with-iconv-hook=/usr/local/include
# make
ÎÒÔÚÖ´ÐÐmakeÃüÁî±àÒëʱ£¬»á±¨ÈçÏ´íÎó£º
/usr/local/apache2/bin/apxs -c -I/usr/local/include -liconv_hook mod_encoding.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache2/include -I/usr/local
Ïà¹ØÎĵµ£º
µÚÒ»£¬¶à¿´¿´LinuxµÄ¶¯ÏòÐÂÎÅ£¬ÖªµÀLinuxµÄÇ°½ø£¬ÒòΪÕâÁªÏµµ½ÁËÓ¦Óõȡ£ÕâЩ¶Ô¾ÍÒµ»òÕßÊÇÑ¡ÔñLinuxΪͻÆƵÄÈËÏ൱ÓаïÖú¡£
µÚ¶þ£¬¶àѧϰ»ù´¡µÄ¼¼Äܶ«Î÷£¬Ïñºìñ×ÓÓкܶàµÄLinux»ù´¡µÄ¶«Î÷£¬ÌرðÓÐÀûÓÚѧϰ£¬ÕâµãÎÒÏëºÜ¶àÈ˶¼Õâô˵£¬ºìÁªµÄÈ·¾ÍÊÇLinux½Ì³ÌµÄÉçÇø¡£
µÚÈý£¬Ò»¶¨ÒªÑ§ºÃÃüÁ¼ ......
Linux Äں˱àÒëÅäÖÃÑ¡Ïî¼ò½é
×÷Õߣº½ð²½¹ú
°æȨÉùÃ÷
±¾ÎÄ×÷ÕßÊÇһλ×ÔÓÉÈí¼þ°®ºÃÕߣ¬ËùÒÔ±¾ÎÄËäÈ»²»ÊÇÈí¼þ£¬µ«ÊDZ¾×Å GPL
µÄ¾«Éñ·¢²¼¡£ÈκÎÈ˶¼¿ÉÒÔ×ÔÓÉʹÓá¢×ªÔØ¡¢¸´ÖƺÍÔÙ·Ö·¢£¬µ«±ØÐë±£Áô×÷ÕßÊðÃû£¬Ò಻µÃ¶ÔÉùÃ÷ÖеÄÈκÎÌõ¿î×÷ÈκÎÐÎʽµÄÐ޸ģ¬Ò²²»µÃ¸½¼ÓÈκÎÆäËüÌõ¼þ¡£Äú¿É
ÒÔ×ÔÓÉÁ´½Ó¡¢ÏÂÔØ¡¢´«²¥´ËÎĵµ ......
1¡¢LinuxÏÂmysql°²×°ÍêºóÊÇĬÈÏ£ºÇø·Ö±íÃûµÄ´óСд£¬²»Çø·ÖÁÐÃûµÄ´óСд£»
2¡¢ÓÃrootÕʺŵǼºó£¬ÔÚ/etc/my.cnf ÖеÄ[mysqld]ºóÌí¼ÓÌí¼Ólower_case_table_names=1£¬ÖØÆôMYSQL·þÎñ£¬ÕâʱÒÑÉèÖóɹ¦£º²»Çø·Ö±íÃûµÄ´óСд£»
lower_case_table_names²ÎÊýÏê½â£º
lower_case_table_names = 0
ÆäÖÐ 0£ºÇø·Ö´óСд£¬1 ......
±¾À´ÎҵĻúÆ÷×°µÄ˫ϵͳ XP+Fedora £¬×î½üÖØ×°ÁËXP£¬²»ÖªµÀÔõô¸ãµÄ£¬ÔÀ´ÓÃbootpart.exe×öµÄÒýµ¼¶¼²»ÐÐÁË£¬ÓÚÊÇ»³ÒÉÊÇlinux·ÖÇøÉϵÄÒýµ¼ÐÅϢûÁË£¬ÓÚÊÇÕÒ³öfedora°²×°ÅÌ£¬½øÈë rescure mode, chroot /mnt/sysimage, cd /boot/grub/ £¬ ºÃ£¬½øÈëÁËgrubµÄ°²×°Ä¿Â¼ÁË£¡
½ÓÏÂÀ´¾ÍÊÇÒª°ÑgrubµÄÒýµ¼ÐÅϢдµ½Ëüµ ......
ת×Ôhttp://blog.csdn.net/windone0109/archive/2009/04/01/4040772.aspx
£¨±¾ÎÄÀý×Ó»ùÓÚFreeBSD/LinuxʵÏÖ£¬windows»·¾³Çë×Ô¼º×ö³öÏàÓ¦Ð޸ģ©
ÅäÖùÜÀíµÄÒ»¸öÖØҪʹÃüÊDZ£Ö¤Êý¾ÝµÄ°²È«ÐÔ£¬·ÀÖ¹·þÎñÆ÷Ó¦Ó²ÅÌË𻵡¢Îó²Ù×÷Ôì³ÉÊý¾ÝÎÞ·¨»Ö¸´µÄÔÖÄÑÐÔºó¹û¡£Òò´ËÖƶ¨Ò»¸öÍêÕûµÄ±¸·Ý²ßÂԷdz£ÖØÒª¡£
Ò»°ã ......