Java °æ (¾«»ªÇø)

·¢ÐÅÈË: sus (±ä̬ÎÚÑ»), ÐÅÇø: Java
±ê  Ìâ: javaÓ¦ÓóÌÐò·þÎñÆ÷(5)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun Mar 26 21:50:01 2000), ×ªÐÅ

    ApacheJServµÄ°²×°Ïà¶Ô¼òµ¥Ò»Ð©£¬µ«ÈÔÈ»ÓÐÐèҪעÒâµÄµØ·½¡£
Ê×ÏÈ£¬ÄãÐèÒª±£Ö¤ÒѾ­ÔÚRedhat6.1ÉÏ°²×°ÁËApacheºÍJDK,ApacheJServ1.1
ËùÖ§³ÖµÄJDK°æ±¾ÊÇBlackdown JDK1.1.7,ÆäËûµÄ°æ±¾´ó¸ÅÒ²¿ÉÒÔ¡£
µ«Ã»Óо­¹ý²âÊÔ£¬×îºÃ²»ÒªÓã¬JDKÐèÒªÓÐnative threadsµÄÄÇÒ»ÖÖ¡£
Èç¹ûÄãûÓУ¬¿ÉÒÔµ½

    ftp://ftp.cs.hit.edu.cn/incoming/linux/jdk
ÏÂÔØ¡£
    ºÃÁË£¬ÏÂÃ濪ʼApacheJServµÄ°²×°¡£
½«ÄãÏÂÔصÄblackdown jdk°üÎļþ½âѹµ¹/usr/local/jdk1.1.7Ŀ¼ÏÂ
±à¼­/etcĿ¼ÏµÄprofileÎļþ£¬Ê¹Æä°üº¬ÏÂÃæµÄÁ½ÐУº

    JAVA_HOME="/usr/local/jdk1.1.7"
    THREADS_FLAG=native
²¢ÔÚEXPORTµÄÄÇÒ»ÐмÓÈëJAVA_HOMEºÍTHREADS_FLAGÁ½¸ö±äÁ¿Ãû
±£´æprofileÎļþ

    Í˳öshell,ÖØеǼ-----ÕâÒ»²½µÄÄ¿µÄÊÇˢл·¾³±äÁ¿£¬ÓиüºÃµÄ
ˢл·¾³±äÁ¿µÄ°ì·¨Âð? :-)

    µ½ÄãµÄApacheJServµÄrpm°üĿ¼Ï£¬Ö´ÐÐÈçÏÂÃüÁ

    rpm -ivh ApacheJServ1.1~~.rpm

    ApacheJServÔÚ°²×°ºó»á×Ô¶¯Ö´ÐÐÒ»¸öÅäÖýű¾£¬¸ù¾Ý»·¾³±äÁ¿µÄ
ָʾ£¬¸ü¸Ä×Ô¼ººÍApacheµÄÅäÖÃÎļþ£¬Çë×¢Òâ½Å±¾Ö´ÐкóµÄÊä³öÐÅÏ¢£¬
¿´Ò»ÏÂÊÇ·ñ±¨¸æÁËÓдíÎó·¢Éú¡£Èç¹ûûÓУ¬Ôò°²×°³õ²½Íê³É¡£
    restart your apache server
    ÏÂÃæÔÚÄãµÄä¯ÀÀÆ÷µØÖ·À¸ÖÐÊäÈ룺
http://your.server.name/servlet/IsItWorking
À´²âÊÔÄãµÄ°²×°¡£
    Èç¹ûûÓб¨´í£¬ÄÇÃþ×£ºØÄã!!!
Èç¹ûÓÐ´í£¬µ½/var/log/httpdĿ¼Ï²鿴һÏ´íÎóÐÅÏ¢£¬¸ù¾Ý´íÎóÐÅÏ¢
ÔÙµ÷ÕûÄãµÄconfÎļþ¡£
     good luck!!

     ²¹³äÒ»µã£¬Èç¹ûÄãÊÇ×Ô¼º±àÒëµÄApache1.3.12°æ±¾ make installÒÔ
ºóϵͳµÄrpm°ü¹ÜÀíÊý¾Ý¿âÖв¢Ã»ÓÐApacheµÄÐÅÏ¢£¬ËùÒÔÔÚ°²×°ApacheJServ
ʱ»áÌáʾÄãÏÈ°²×°Apache1.3.6,Äã¿ÉÒÔÓÃÏÂÃæµÄÖ¸ÁîÇ¿Ðа²×°¡£

      rpm -i --nodeps ApacheJServ1.1~~~.rpm

Ö»ÒªÄã±àÒëApacheµÄʱºòʹÓÃÁË

      --with-layout=RedHat

µÄ±àÒëÅäÖÃÖ¸ÁîʹApache×ñÑ­RedhatµÄĿ¼Լ¶¨£¬ApacheJServÈÔ»á×Ô¶¯
ÅäÖúÃApache¼°ApacheJServµÄconfÎļþ¡£
    

ps  ÎÒµÄÖ¸·¨ºÜÀã¬ÇÃÁËÕ⼸ƪ¶«Î÷£¬µÄÈ·ÊÇ·ÑÁ˺ô󾢡£µ«Ô¸ÎÄÕµÄ
ÄÚÈݲ»ÊÇÄÇÃþÀ㬷ñÔòÎÒÕæÊǰ׷Ѿ¢ÁË¡£



        

--
±ðËûÂèËáÁË£¬Óл°¾Íֱ˵¡£µ

¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.239.4]
[°Ù±¦Ïä] [·µ»ØÊ×Ò³] [Éϼ¶Ä¿Â¼] [¸ùĿ¼] [·µ»Ø¶¥²¿] [Ë¢ÐÂ] [·µ»Ø]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º11.686ºÁÃë