Dain.
Bora.
Net
ver 2.0
About Me
ÇÁ·ÎÇÊ
³ªÀÇ °¡Á·
¿ë's X-file
¼÷'s X-file
´ÙÀÎȨÇÇ ver 1.0
¼ÒÁßÇÑ »ç¶÷µé
°¡Á·µé
Ä£±¸µé
Á÷À嵿·áµé
´ÙÀÎ&°ÇÈñ
´ÙÀÎÀÌ À̾߱â
°ÇÈñ À̾߱â
¾ö¸¶ À̾߱â
±â¾ï¼ÓÀ¸·Î
°¡Á·µé°ú ÇÔ²²
Áñ°Å¿î Ãß¾ïµé
»çÁø & ¹°»ýÈ°
µðÄ« À̾߱â
ÇູÇÑ ¹°»ýÈ°
Æ÷Åä°¶·¯¸®
°Ô½ÃÆÇ
ºÎ½º·¯±âµé
ÀÚ·á½Ç
ÁÁÀº±Û
½ºÅ͵ð
¹æ¸í·Ï
¸Ô°íÀÚ°í³î°í
°¡º¼¸¸ÇÑ°÷
¸Ô°í½ÍÀº°Í
¸µÅ©
Áñ°Üã±â
Ä«¿îÅÍ
¿À´Ã : 0
Àüü : 43454
³¯ÀÚ : 2024/09/16
Category
Category
apache2.0 + tomcat5.x ¼³Ä¡Çϱâ
#
¸®´ª½º/À¯´Ð½º
2005-11-21 00:55
ÀÌ»ó¿ë
1 Apache 2.0
2 J2SE
3 Tomcat 5
4 mod_jk2.so
5 httpd.conf
6 workers2.properties
7 Virtual Host
8 LB(·Îµå ¹ß¶õ¼)
9 apache ½ÇÇà
10 tomcat ½ÇÇà
11 È®ÀÎ
[edit]1 Apache 2.0 #
http://httpd.apache.org
¿¡¼ httpd-2.0.49.tar.gz ¹Þ¾Æ¼ Ǭ´Ù.
$ tar xvfz httpd-2.0.49.tar.gz
INSTALL ÆÄÀÏÀ» Âü°íÇÏ¿© apache¸¦ ¼³Ä¡ÇÏ°í ½ÇÇàÇÑ´Ù.
//////// ./configure --prefix=/usr/local/apache --enable-shared=max --enable-rule=SHARED_CORE --enable-module=so
$ ./configure --prefix=PREFIX
$ make
$ make install
$ PREFIX/bin/apachectl start
¿©±â¼ PREFIX´Â apache°¡ ¼³Ä¡µÉ µð·ºÅ丮ÀÌ´Ù. --prefix=PREFIX¸¦ »ý·«Çϸé /usr/local/apache2¿¡ ¼³Ä¡µÈ´Ù.
ÀÌÇÏÀÇ ¼³¸í¿¡¼ PREFIX´Â ¾ÆÆÄÄ¡°¡ ¼³Ä¡µÈ µð·ºÅ丮¸¦ ¶æÇÑ´Ù.
--------------------------------------------------------------------------------
ºê¶ó¿ìÀú¸¦ ¿°í
http://127.0.0.1/À»
ÀÔ·ÂÇÏ¿´À» ¶§, apache web server°¡ ¼³Ä¡µÇ¾ú´Ù´Â ¸Þ½ÃÁö°¡ ³ª¿À¸é ¼º°ø.
¾ÆÆÄÄ¡ ¼¹ö¸¦ ³¡³»·Á¸é
$ PREFIX/bin/apachectl stop
[edit]2 J2SE #
http://java.sun.com¿¡¼
J2SE› 1.4.2 ¸¦ ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù. SDK¸¦ ¹Þ¾Æ¾ß µÈ´Ù. JRE¸¸ ¹ÞÀ¸¸é ¾È µÊ.
È®ÀåÀÚ°¡ binÀε¥ ½ÇÇà±ÇÇÑÀ» ÁÖ°í ½ÇÇà½ÃÅ°¸é license¿¡ µ¿ÀÇÇÏ´ÂÁö¸¦ ¹¯°í ÀÌ¿¡ ´ëÇÏ¿© y¸¦ ´·¯ ´ë´äÇÏ¸é ¼³Ä¡°¡ µÈ´Ù.
¾Æ·¡¿Í °°ÀÌ ½Éº¼¸¯ ¸µÅ©¸¦ ÇÑ´Ù.
$ ln -s /usr/java/j2sdk1.4.2_04 /usr/local/java
/etc/profile.d/java.sh¸¦ ¾Æ·¡ÀÇ ³»¿ëÀ¸·Î ¸¸µé¾î ³Ö´Â´Ù. (½ÇÇà Æ۹̼ÇÀ¸·Î ³Ö¾î¾ß ÇÑ´Ù.)
JAVA_HOME=/usr/local/java
export JAVA_HOME
[edit]3 Tomcat 5 #
http://jakarta.apache.org¿¡¼
jakarta-tomcat-5.0.19.tar.gz¸¦ ¹Þ¾Æ¼ Ǭ´Ù.
$ tar xvfz jakarta-tomcat-5.0.19.tar.gz
RUNNING.txt ÆÄÀÏÀ» Âü°íÇÏ¿© tomcatÀ» ½ÇÇà½ÃŲ´Ù.
$ $CATALINA_HOME/bin/startup.sh
¿©±â¼ $CATALINA_HOMEÀº tomcatÀÌ ¼³Ä¡µÈ µð·ºÅ丮ÀÌ´Ù.
¾Æ·¡¿Í °°ÀÌ ½Éº¼¸¯ ¸µÅ©¸¦ ÇÑ´Ù.
$ ln -s /usr/jakarta-tomcat-5.0.19 /usr/local/tomcat
ºê¶ó¿ìÀú¸¦ ¿°í
http://127.0.0.1:8080/À»
ÀÔ·ÂÇÏ¿´À» ¶§, tomcatÀÌ ¼³Ä¡µÇ¾ú´Ù´Â ¸Þ½ÃÁö°¡ ³ª¿À¸é ¼º°ø. tomcatÀ» ³¡³»·Á¸é
$ $CATALINA_HOME/bin/shutdown.sh
[edit]4 mod_jk2.so #
http://jakarta.apache.org
¿¡¼ jakarta-tomcat-connectors-jk2-src-current.tar.gz¸¦ ¹Þ¾Æ¼ Ǭ´Ù.
jk/native2/INSTALL.txt¸¦ Âü°íÇÏ¿© mod_jk2.so¸¦ ¸¸µç´Ù.
$ ./configure --with-apxs2=PREFIX/bin/apxs
$ make
$ cd ../build/jk2/apache2
$ PREFIX/bin/apxs -n jk2 -i mod_jk2.so
[edit]5 httpd.conf #
À§¿¡¼ ¸¸µç mod_jk2.so¸¦ PREFIX/modules/¿¡ º¹»çÇÑ ´ÙÀ½, PREFIX/conf/httpd.conf ¿¡¼
#LoadModule foo_module modules/mod_foo.so
¿Í °°Àº Çü½ÄÀ¸·Î µÇ¾î ÀÖ´Â °÷À» ã¾Æ ±× ¾Æ·¡¿¡
LoadModule jk2_module modules/mod_jk2.so
¸¦ Ãß°¡ÇÑ´Ù.
DirectoryIndex¸¦ ã¾Æ ±× ÁÙ¿¡ index.jsp¸¦ Ãß°¡ÇÑ´Ù.
Alias /icons/ "/usr/local/apache2/icons/"
¿Í °°Àº Çü½ÄÀÇ ÇàÀ» ã¾Æ ±× ¾Æ·¡¿¡
Alias /jsp-examples/ "/usr/local/tomcat/webapps/jsp-examples/"
Alias /servlets-examples/ "/usr/local/tomcat/webapps/servlets-examples/"
¸¦ Ãß°¡ÇÑ´Ù.
DocumentRoot ÇàÀ» ã¾Æ
DocumentRoot "/www"
·Î ¹Ù²Ù°í ÀúÀåÇÏ°í ¾Æ·¡¿Í °°ÀÌ ½Éº¼¸¯ ¸µÅ©¸¦ ÇÑ´Ù.
$ ln -s /usr/jakarta-tomcat-5.0.19/webapps/ROOT /www
[edit]6 workers2.properties #
PREFIX/conf/¿¡ workers2.properties¸¦ ¾Æ·¡ÀÇ ³»¿ëÀ¸·Î ¸¸µé¾î ÀúÀåÇÑ´Ù. ( jk/native2/INSTALL.txt Âü°í )
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/*.jsp]
worker=ajp13:localhost:8009
[uri:/servlets-examples/*]
worker=ajp13:localhost:8009
[edit]7 Virtual Host #
# Virtual HostÀÇ °æ¿ì ¾Æ·¡ URI¿¡¼ È£½ºÆ® ¸íÀ» ³Ö¾î¾ß ÇÏ°í¿ä. server.xml¿¡¼ host¸íÀ» ³ÖÀ¸½Ã¸é µË´Ï´Ù.
[uri:www.kldp.net/*.jsp]
worker=ajp13:localhost:8009
[uri:www.kldp.net/servlets-examples/*]
worker=ajp13:localhost:8009
[uri:www.kldp.org/*]
worker=ajp13:localhost:8009
[edit]8 LB(·Îµå ¹ß¶õ¼) #
-- :> ³»ÀÏ ¿Ã¸±°Ô¿ä.
[edit]9 apache ½ÇÇà #
$ PREFIX/bin/apachectl start
[edit]10 tomcat ½ÇÇà #
$ $CATALINA_HOME/bin/startup.sh
¶Ç´Â
$ $CATALINA_HOME/bin/catalina.sh start
[edit]11 È®ÀÎ #
ºê¶ó¿ìÀú¿¡¼
http://127.0.0.1À»
ÀÔ·ÂÇϸé ÅèĹ ȸéÀÌ ³ª¿Â´Ù. (8080À» ÀÔ·ÂÇÏÁö ¾ÊÀº °ÍÀ» ÁÖ¸ñ)
http://127.0.0.1/jsp-examples/À»
ÀÔ·ÂÇÏ¿© ±×°÷¿¡ ÀÖ´Â jsp ¿¹Á¦¸¦ Ŭ¸¯ÇÏ¿© ½ÇÇà°á°ú°¡ ³ªÅ¸³ª¸é jsp ¼º°ø.
http://127.0.0.1/servlets-examples/¸¦
ÀÔ·ÂÇÏ¿© ±×°÷¿¡ ÀÖ´Â servlet ¿¹Á¦¸¦ Ŭ¸¯ÇÏ¿© ½ÇÇà°á°ú°¡ ³ªÅ¸³ª¸é servlet ¼º°ø.
qqq
http://www.fjallravenkanken.org
http://www.airmax270.org
http://www.suprashoes.us.com
http://www.mulberrybagssale.org.uk
http://www.pandorajewelry.us.org
http://www.coach-outlets.us.com
http://www.hydroflask.us.com
http://www.adidas-shoes.us.com
http://www.outlettruereligion.in.net
http://www.edhardyclothing.in.net
http://www.persolsunglasses.orgqqq
2019-05-13 12:23
x
Name
Pass
Secret Code
Resize
List
28
[C/C++]
[Á¤º¸º¸¾È][Á¤º¸º¸¾ÈÀü¹®°¡][¸®´ª½º]GDB»ç¿ë¹ý
ÀÌ»ó¿ë
2011.05.12
674
27
[º¸¾È]
À¥ º¸¾È
[3]
ÀÌ»ó¿ë
2008.05.28
2877
26
[ÀÚ¹Ù½ºÅ©¸³Æ®]
JavasScript ÃÑ Á¤¸®
[5]
ÀÌ»ó¿ë
2007.04.10
1337
25
[¸®´ª½º/À¯´Ð½º]
rrdtool ¼³Ä¡
[1]
ÀÌ»ó¿ë
2007.02.27
1946
24
[°øÅë]
Open Source Æз¯´ÙÀÓ ½¬ÇÁÆ®
[146]
ÀÌ»ó¿ë
2007.02.27
1393
23
[ÀÚ¹Ù½ºÅ©¸³Æ®]
Table Row »èÁ¦Çϱâ
[74]
ÀÌ»ó¿ë
2006.12.01
1020
22
[¸®´ª½º/À¯´Ð½º]
swatch¸¦ ÀÌ¿ëÇØ ·Î±×ÆÄÀÏÀ» ½Ç½Ã°£À¸·Î ¸ð´ÏÅÍÇØ º¸ÀÚ.
[1]
ÀÌ»ó¿ë
2006.08.29
1061
21
[¸®´ª½º/À¯´Ð½º]
cfengine À» ÀÌ¿ëÇÏ¿© ¿©·¯´ëÀÇ ½Ã½ºÅÛ°ü¸® ÀÚµ¿È Çϱâ
[1]
ÀÌ»ó¿ë
2006.08.04
1818
20
[¸®´ª½º/À¯´Ð½º]
Content Management Systems (CMS) - OpenSource
ÀÌ»ó¿ë
2006.08.04
2040
19
[À¥]
Web 2.0À̶õ ¹«¾ùÀΰ¡
[1]
ÀÌ»ó¿ë
2006.08.02
969
18
[À¥]
[PHPA] using PHP Accelerator
[2]
ÀÌ»ó¿ë
2006.02.16
9359
17
[°øÅë]
Á¤±Ô Ç¥Çö½Ä
ÀÌ»ó¿ë
2006.01.05
805
16
[¸®´ª½º/À¯´Ð½º]
SELinux ?
ÀÌ»ó¿ë
2006.01.04
940
[¸®´ª½º/À¯´Ð½º]
apache2.0 + tomcat5.x ¼³Ä¡Çϱâ
[1]
ÀÌ»ó¿ë
2005.11.21
2557
14
[DB]
mysql ¼³Ä¡ °¡À̵å
ÀÌ»ó¿ë
2005.11.20
1054
13
[³×Æ®¿÷]
Catalyst 4000-L3 Switch ±¸Á¶¿Í setting
[206]
ÀÌ»ó¿ë
2005.11.08
64226
12
[³×Æ®¿÷]
³×Æ®¿öÅ© Áø´Ü ¸í·É¾î(À©µµ¿ì)
[1]
ÀÌ»ó¿ë
2005.11.08
1398
11
[³×Æ®¿÷]
DNS ¿î¿µ ÀÚ·á
ÀÌ»ó¿ë
2005.11.08
845
10
[³×Æ®¿÷]
Cisco 6509 ¿î¿µ ¸Þ´º¾ó
[1]
ÀÌ»ó¿ë
2005.11.08
4725
9
[¸®´ª½º/À¯´Ð½º]
GD ¼³Ä¡ÇØ º¸ÀÚ...
ÀÌ»ó¿ë
2005.09.29
1830
List
1
[2]
Copyright 1999-2024
Zeroboard
/ skin by
eggnara