JRun¿¡ pre-compileµÇ¾î žÀçµÈ ¾ÆÆÄÄ¡ Ä¿³ØÅÍ ¸ðµâÀÌ RedHat 9.0¿¡¼ ¹®Á¦¸¦
ÀÏÀ¸Å°´Â °ÍÀ» È®ÀÎÇß½À´Ï´Ù.
ÀÌ¿¡ µû¶ó RedHat 9.0¿¡¼ Ä¿³ØÅ͸¦ ´Ù½Ã ÄÄÆÄÀϽÃÄ×½À´Ï´Ù. RedHat 9.0¿¡
¸Â°Ô ÄÄÆÄÀÏµÈ DSO ¸ðµâÀ» ÷ºÎÇϸç, ¸¸¾àÀ» ´ëºñÇØ ÄÄÆÄÀÏ ¹æ¹ýÀ» ¾Ë·Áµå¸³´Ï´Ù.
-- »çÀü Áغñ»çÇ× (OpenSSL ¼³Ä¡)--
1. www.openssl.org ¿¡
Á¢¼ÓÇؼ ¼Ò½º¸¦ ¹Þ¾Æ¿Â´Ù. 2. ÀûÀýÇÑ µð·ºÅ丮¿¡ ¾ÐÃàÀ» Ǭ ÈÄ ÄÄÆÄÀÏÇÑ´Ù.
./config --prefix=/usr/local --openssldir=/usr/local/openssl make make
test make install
-- DSO ÄÄÆÄÀÏ--
1. ¾ÆÆÄÄ¡¸¦ Á¤½Ã½ÃŲ´Ù.
2. ÀûÀýÇÑ µð·ºÅ丮¿¡ jrun/lib/wsconfig.jar¸¦ º¹»çÇØ ¾ÐÃàÀ» Ç®¾î connectors/src
µð·ºÅ丮ÀÇ ApacheModule.zipÀ» »©³½´Ù.
jar xvf wsconfig.jar unzip
-a ApacheModule.zip chmod 777 *
3. ÄÄÆÄÀÏÀ» ½Ç½ÃÇÑ´Ù.
Apache 1.3.x
$ /home1/hmapache/bin/apxs
-c -Wc,-w -DJRUN_SSL mod_jrun.c jrun_maptable_impl.c
jrun_property.c jrun_session.c platform.c
jrun_mutex.c jrun_proxy.c jrun_ssl.c $ strip
mod_jrun.so
|
Apache 2.x
$ /home1/apache/bin/apxs
-c -Wc,-w -n jrun20 -S LIBEXECDIR=/home/w3master/connector mod_jrun20.c
jrun_maptable_impl.c jrun_property.c
jrun_session.c platform.c jrun_mutex.c jrun_proxy.c
jrun_ssl.c
$ /home1/apache/bin/apxs/apxs
-i -n jrun20 -S LIBEXECDIR=/home/w3master/connector
mod_jrun20.la
$strip mod_jrun20.so
|
4. »õ·Î ÄÄÆÄÀÏµÈ so ÆÄÀÏ(mo_jrun.so, mod_jrun20.so)À» /home1/jrun/lib/wsconfig
¾Æ·¡¿¡ ÀÖ´Â 1, 2, 3, ... µî ¼ýÀÚ·Î µÈ µð·ºÅ丮³»¿¡ ÀÖ´Â ±âÁ¸ DSOµé°ú ´ëÄ¡½ÃŲ´Ù.
* iWiz´Ô¿¡ ÀÇÇؼ °Ô½Ã¹° À̵¿µÇ¾ú½À´Ï´Ù (2010-02-03 17:00)
|