AIX4.3 + Resin1.1.6 + Apache1.3.17 Installation Guide
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2003-10-21 22:43:42
 

target=_blank>http://www.javaservice.com


APACHE_1.3.17 + RESIN-1.1.6 + AIX4.3 Server Installation Guide

¼Ò  ¼Ó : ¢ßNEXGEN ASSOCIATES
ÀÛ¼ºÀÚ : ±è´ÉÇö
ÀÛ¼ºÀÏ : 2001³â 8¿ù 7ÀÏ
E_mail : ropeze@orgio.net

¼³Ä¡ ¼ø¼­

1. JDK(Version. 1.3.0) Installation
2. Apache_1.3.17 Installation
3. Resin-1.1.6 Installation

»ç¿ë Port : 6802,80,8080

JDK(Version 1.3.0) Installation

1. ´Ù¿î·Îµå
http://www6.software.ibm.com/dl/dka/dka-p ¿¡¼­ JDK¸¦ ´Ù¿î ¹Þ´Â´Ù.
    ( Java130.rte.tar, Java130.msg.tar, Java130.ext.tar, Java130.adt.tar,
      AIXptfs.tar(AIX4.3.3 patch), AIXptfs_loc.tar )

2. AIX4.3 Patch

PTF# APAR# Fileset VRMF
U470006 IY05851 bos.rte.net 4.3.3.1
U470966 IY10887 bos.rte.libc 4.3.3.15
U471143 IY09937 bos.net.tcp.client 4.3.3.15
U470973 IY10368 X11.base.rte 4.3.3.14
U470980 IY10134 X11.motif.lib 4.3.3.15
U471092 IY10707 X11.base.lib 4.3.3.15

¹Ýµå½Ã patch°¡ µÇÀÖ¾î¾ß ÇÏ°í ¸¸¾à¿¡ Base LevelÀÌ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é

PTF# APAR# Fileset VRMF
U471872 IY11114 jkit.Wnn6.base 2.1.1.5
U471060 IY10887 bos.adt.prof 4.3.3.15
U466991 IY10613 bos.loc.com.JP 4.3.3.11
U471076 IY10801 bos.loc.utf.ZH_TW 4.3.3.11
U471118 IY10368 X11.fnt.fontServer 4.3.3.12
U471015 IY10368 X11.fnt.ucs.ttf_CN 4.3.3.1
U471838 IY10782 devices.isa_sio.baud.rte 4.3.2.1

ÀÌ·±½ÄÀ¸·Î patchÇØ¾ß ÇÑ´Ù.

-  lslpp -ah |grep Fileset¸í À¸·Î È®ÀÎÇÑ ÈÄ
-  smitty installp ¸¦ ½ÇÇà ( *.bff ¼³Ä¡¹æ¹ý )
-  JDK¸¦ ¼³Ä¡ÇÑ´Ù. ( /usr/java130 ¿¡ ¼³Ä¡ )
-  /usr/java130/bin À» PATH¿¡ export ½ÃŲ´Ù.
-  TEST
    # java -fullversion

Resin1.1.6 + Apache_1.3.17 Installation

1. ´Ù¿î·Îµå

http://www.apache.org/ ¿¡¼­ Apache_1.3.17.tar¸¦ ´Ù¿î ¹Þ´Â´Ù.
http://www.caucho.com/ ¿¡¼­ resin1.1.6.tarÀ» ´Ù¿î ¹Þ´Â´Ù.

2. ¼³ Ä¡

-  src µð·ºÅ丮¿¡ apache_1.3.17.tar¿Í resin-1.1.6.tar¸¦ decompress ÇÑ´Ù.
-  AIX4.3¿¡ IBM¿ë apache¸¦ ¼³Ä¡ÇÏÁö ¾ÊÀ¸¸é ÄÄÆÄÀÏ ÇÑ ÈÄ¿¡
  "Syntax Error in httpd.conf: Expected but saw"
  ¶ó´Â Ä¡¸íÀûÀÎ ¿¡·¯ ¶§¹®¿¡ apache¸¦ ½ÇÇà ÇÒ ¼ö°¡ ¾ø´Ù.  ±×·¡¼­ ´Ù¿î ¹ÞÀº
  apache ¼Ò½º¸¦ ¾à°£ ¼öÁ¤Çؼ­ ÄÄÆÄÀÏ ÇØ¾ß ÇÑ´Ù.

  # tar -xvf apache_1.3.17.tar
  # cd apache_1.3.17/src/main/
  # vi http.core.c

-  ¡°*end_nested_section¡±À» ã¾Æ¼­ ¾Æ·¡¿Í °°ÀÌ ¼Ò½º¸¦ ¼öÁ¤ÇÑ´Ù.

    <¼öÁ¤ÇÑ ¼Ò½º>
    static const char *end_nested_section(cmd_parms *cmd, void *dummy)
    {
        int answercode=123;
        if(cmd->end_token == NULL)
        {
            return ap_pstrcat(cmd->pool, cmd->cmd->name," without matching <",
              cmd->cmd->name + 2," section", NULL);
        }
        if(strcmp(cmd->cmd->name,cmd->end_token))
        {
            return ap_pstrcat(cmd->pool, "Expected", cmd->end_token,"but saw",
                cmd->cmd->name, NULL);
        }
        return cmd->end_token;
    }

-  resin1.1.6/src/c/plugin/common À» apache_1.3.17/src/modules/ ¾Æ·¡¿¡ copy ÇÑ´Ù.
    ÄÄÆÄÀÏ ÇÒ ¶§¿¡ include¸¦ ¸øÇؼ­ ¿¡·¯°¡ ¹ß»ýÇÑ´Ù.

-  apache_1.3.17/src/modules/caucho/mod_caucho.c ¿¡ 176¶óÀÎÀ» ¼öÁ¤ÇÑ´Ù. apache
    ÄÄÆÄÀϽà VERSION ºÎºÐ¿¡¼­ ¿¡·¯°¡ ¹ß»ýÇÑ´Ù.

    < mod_caucho.c ¼öÁ¤ >
    176 : ap_add_version_component("Resin/" VERSION);
        -> ap_add_version_component("Resin/1.1.6");

-  resin1.1.6À» ¼³Ä¡ÇÑ´Ù.
    # tar -xvf resin1.1.6.tar
    # cd resin1.1.6
    # ./configure --with-apache-src=/¡¦src directory /apache_1.3.17

-  src/apache_1.3.17/src/modules/caucho/ ¶õ µð·ºÅ丮°¡ »ý±ä´Ù.

-  apache_1.3.17·Î °¡¼­ configure¸¦ ½ÇÇàÇÑ´Ù.
    # cd apache_1.3.17
    # ./configure --prefix=/¼³Ä¡ÇÒ Directory/apache \
    --enable-module=caucho \
    --enable-module=status \
    --enable-module=info \
    --enable-shared=caucho \
    --enable-shared=status \
    --enable-shared=info
    # make
    # make install

-  ¼³Ä¡°¡ ¿Ï·áµÇ¸é apache/conf/httpd.conf ·Î °¡¼­ ´ÙÀ½À» Ãß°¡ ÇØÁà¾ß ÇÑ´Ù.

    LoadModule caucho_module libexec/libcaucho.so
    AddModule mod_caucho.c
    <ifModule mod_caucho.c>
            CauchoConfigFile /¼³Ä¡ÇÑ Directory¡¦/src/resin1.1.6/conf/resin.conf
    </ifModule>

-  ¼³Ä¡°¡ ³¡³µ½À´Ï´Ù.

-  apache¸¦ ½ÇÇàÇÏ°í ±× ´ÙÀ½ resinÀ» ½ÇÇàÇÑ´Ù.
    # cd apache/bin/
    # ./apachectl start
    # cd resin1.1.6/bin/
    # ./srun.sh

- Âü°í·Î resinÀº make¸¦ ÇÏÁö ¾Ê´Â ÀÌÀ¯´Â ÀÌ¹Ì ÄÄÆÄÀÏÀÌ µÈ »óÅ·Π¾ÐÃàµÇ¾î ÀÖ±â
  ¶§¹®¿¡ ½ÇÇàÇÏ¸é ¹Ù·Î ½ÇÇàÀÌ µÈ´Ù.
  resin.conf Configure

- resin1.1.6/conf/resin.conf¿¡ 56¶óÀο¡ <app-dir>/WWW/htdocs</app-dir>
  Web Root Directory¸¦ ¼³Á¤¿¡ ¸Â°Ô °íÃÄÁÖ°í ¼­ºñ½º¸¦ ÇÏ·Á¸é 105¶óÀο¡
  <error-log id='log/error.log'/> Error Log Directory¸¦ ¼³Á¤¿¡ ¸Â°Ô °íÃÄ ÁÖ°í
  114¶óÀο¡ true¸¦ false·Î ¹Ù²Û´Ù.


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦