´ÙÀ½ ÀÌÀü Â÷·Ê

6. ApacheJServ RPM

ApacheJServ´Â 1.1 ¹öÀüºÎÅÍ ¼Ò½º ÆÄÀÏ°ú ÇÔ²² RPMµµ ¹èÆ÷µÈ´Ù. ÀÌÁ¦´Â ±»ÀÌ ¼Ò½º¸¦ ÄÄÆÄÀÏ ÇÏ¿© ½ÇÇà ÆÄÀÏÀ» ¸¸µé°í, ÇÔ²² ¹èÆ÷µÇ´Â »ùÇÃÀ» Âü°íÇÏ¿© ½ÇÇà¿¡ ÇÊ¿äÇÑ ±¸¼º ÆÄÀϵéÀ» Á÷Á¢ ±¸¼ºÇÏ¿© ¸¸µé¾î¾ß ÇÏ´Â °úÁ¤ÀÌ ÇÊ¿äÇÏÁö ¾Ê´Ù. ÀÌ °úÁ¤Àº INSTALL ÆÄÀÏ¿¡ »ó¼¼ÇÏ°Ô ¼³¸íµÇ¾î ÀÖÁö¸¸, Ãʺ¸ÀÚ¿¡°Ô´Â ¿©ÀüÈ÷ ¾î·Æ°í, ¶ÇÇÑ ¿©°£ ¹ø°Å·Î¿î °Ô ¾Æ´Ï´Ù.

6.1 ÆÐÅ°Áö ¼³Ä¡

¾ÆÆÄÄ¡¿Í JDK°¡ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é, ´ÙÀ½°ú °°ÀÌ ApacheJServ ÆÐÅ°Áö¸¦ ¼³Ä¡ ÇÑ´Ù.

# rpm -i ApacheJServ-1.1.2-1.i386.rpm

¼³Ä¡ °úÁ¤¿¡ ¿À·ù°¡ ¾ø´Ù¸é, ÁöÁ¤µÈ µð·ºÅ丮¿¡ ÆÄÀÏÀÌ º¹»çµÇ°í, /etc/httpd/conf/httpd.conf ÆÄÀÏ¿¡ ApacheJServ¸¦ À§ÇÑ ±¸¼º ³»¿ëÀ» Ãß°¡ ÇÑ´Ù.

ÆÐÅ°Áö ¼³Ä¡·Î ÀÎÇØ »ý¼ºµÇ´Â µð·ºÅ丮¿Í Ãß°¡µÇ´Â ÆÄÀÏÀº ´ÙÀ½ÀÇ Ç¥¿Í °°´Ù.

+-----------------------------+-------------------+------------------+
|         µð·ºÅ丮            |      ÆÄ   ÀÏ      |     ¼³   ¸í      |
+-----------------------------+-------------------+------------------+
| /etc/httpd/conf/jserv/      | jserv.conf        |                  |
|                             | jserv.properties  | ±¸¼º ÆÄÀÏ        |
|                             | zone.properties   |                  |
+-----------------------------+-------------------+------------------+
| /etc/httpd/modules/         | ApacheJServ.jar   | ¼­ºí¸´ ¿£ÁøÀ»    |
|                             |                   |±¸ÇöÇÑ Å¬·¡½º ÆÄÀÏ|
+-----------------------------+-------------------+------------------+
| /home/httpd/classes/        | servlet-2.0.jar   | JSDK             |
+-----------------------------+-------------------+------------------+
| /home/httpd/servlets/       | Hello.class       | ¼­ºí¸´ ¿¹Á¦      |
|                             | IsItWorking.class |                  |
+-----------------------------+-------------------+------------------+
| /usr/doc/ApacheJServ-1.1.2/ |                   |¹®¼­ ÆÄÀ쵎       |
+-----------------------------+-------------------+------------------+
| /var/log/httpd/             | jserv.log         |·Î±× ÆÄÀÏ         |
+-----------------------------+-------------------+------------------+


´ÙÀ½ ÀÌÀü Â÷·Ê