Apache 2.0.47 ÄÄÆÄÀÏ ¸Þ´º¾ó (Ver 1.0)
|
|
º» ¹®¼´Â AIX 5.1¿¡¼ Apache 2.0.47 ¹öÀüÀ» ÄÄÆÄÀÏÇÏ´Â ¹æ¹ýÀ» ¼Ò°³ÇÏ´Â ¹®¼ÀÌ´Ù.
|
|
À§¿¡¼ higher¶õ ¸»Àº ±× À̻󿡼µµ ÄÄÆÄÀÏÀÌ µÉ¼ö ÀÖÀ½À» ÀǹÌÇÑ´Ù. ¿·¿¡ ÀÖ´Â ¹öÀüÀº ÇÊÀÚ°¡ Å×½ºÆ®ÇÑ È¯°æÀ» ÀǹÌÇÑ´Ù. °¢°¢ÀÇ µð·ºÅ丮¹× °æ·Î´Â ÇÊÀÚÀÇ °æ¿ì¸¦ ¿¹·Î µéÀº °ÍÀ̹ǷΠÀڽŵéÀÇ È¯°æ¿¡ ¸ÂÃß¾î¼ ¾à°£¾¿ º¯°æÇÒ ¼öµµ ÀÖ´Ù.
Apache2´Â 1996³âºÎÅÍ °³¹ßÀÌ ½ÃÀ۵Ǿú´Ù°í ÇÑ´Ù. Á¡Á¡ ´Ù¾çÇØÁö´Â À¥¼ºñ½º ȯ°æ¿¡ ºÎÀÀÇϱâ À§Çؼ´Â Apache 1.xÀÇ ¹®Á¦Á¡À» º¸¿ÏÇÑ »õ·Î¿î ¹öÀüÀÌ ÇÊ¿äÇß´Ù°í ÇÑ´Ù. ¾Æ½Ã´Ù½ÃÇÇ Apache 1.x´Â ¿äûÀÌ Áõ°¡ÇÏ¸é¼ processµµ Áõ°¡Çϴ°ÍÀ» ¾Ë¼ö°¡ ÀÖ´Ù. Apache2¿¡¼´Â Multi Thread ¹æ½ÄÀ» ÀÌ¿ëÇؼ Áõ°¡ÇÏ´Â À¥¼ºñ½º ¿äû¿¡ ¸·°ÇÑ ´É·ÂÀ» ¹ßÈÖÇÏ°Ô µÈ´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº Apache ȨÆäÀÌÁö¸¦ Âü°íÇϱ⠹ٶõ´Ù.
|
1. Apache 2.0.47 ÄÄÆÄÀÏ È¯°æ
|
www:/> id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp)
www:/> more ~/.profile
PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java131/bin:/usr/vac/bin:/usr/vacpp/bin:.
www:/> gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --disable-nls
Thread model: aix
gcc version 3.3.1
www:/> make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
www:/> gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
www:/> tar --version
tar (GNU tar) 1.13.25
Copyright ?2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
|
|
2. Apache 2.0.47 ¾ÐÃàÇ®±â
|
www:/usr/local> ls -l httpd-2.0.47.tar.gz
-rw-r----- 1 root system 6217401 Oct 5 20:01 httpd-2.0.47.tar.gz
www:/usr/local> gzip -dc httpd-2.0.47.tar.gz | tar xvf -
¶Ç´Â GNU tar´Â ´ÙÀ½°ú °°ÀÌ ÇѲ¨¹ø¿¡ gzipÀ» »ç¿ëÇÏÁö ¾Ê°í Ç®¾îµµ µÈ´Ù.
www:/usr/local> tar zxvf httpd-2.0.47.tar.gz
www:/usr/local> cd httpd-2.0.47
Tip) apache´Â ³ªÁß¿¡ ´Ù½Ã ¼Ò½ºÄÄÆÄÀÏÀ» ÇÒ¼ö ÀÖµµ·Ï À§¿Í°°ÀÌ ¼Ò½º¸¦ ±×´ë·Î ³²°Ü³õ´ÂÆíÀÌ ÁÁ´Ù. Apache 2¿¡¼ÀÇ ±âº» µð·ºÅ丮´Â /usr/local/apache2ÀÌ´Ù. Apache 1.x
¿¡¼´Â ±âº»µð·ºÅ丮°¡ /usr/local/apache ¿´À¸¹Ç·Î ´Ù¸£´Ù´Â°ÍÀ» ¾Ë¼ö°¡ ÀÖÀ»°ÍÀÌ´Ù.
|
|
3. ÄÄÆÄÀÏ ¹× ÀνºÅç
|
www:/usr/local/httpd-2.0.47> ./configure --enable-module=so
Tip) --enable-module=so Àº DSO(Dynamic Shared Object) ¸ðµâ·Î ÄÄÆÄÀÏÇÏ´Â ¿É¼ÇÀÌ´Ù. PHP, TomcatÀ» ³ªÁß¿¡ ¿¬µ¿ÇÒ¶§ ÀÌ ¿É¼ÇÀ» »ç¿ëÇÏ°Ô µÈ´Ù.
DOS ¸ðµâ·Î ÄÄÆÄÀÏÇÏ´Â ¹æ¹ýÀÇ ÀåÁ¡Àº ¸¹´Ù. ÀÌ ºÎºÐÀº ÀÎÅͳÝÀ» Âü°íÇϱ⠹ٶõ´Ù. --prefix=/usr/local/apache2 ¸¦ º¸Åë Çϴµ¥, À̺κÐÀº »ý·«À» Çصµ
µÈ´Ù. --prefix´Â ApacheÀ» ÀνºÅçÇÏ°íÀÚ ÇÏ´Â À§Ä¡¸¦ ¸»Çϴµ¥, ±âº»ÀûÀ¸·Î Apache2¿¡¼´Â /usr/local/apache2¿¡ ÀνºÅçÀÌ µÈ´Ù. ´Ù¸¥°÷¿¡ ÀνºÅçÀ» ÇÏ°íÀÚ ÇÑ´Ù¸é
--prefix= ¸¦ ¼³Á¤Çϱ⠹ٶõ´Ù.
www:/usr/local/apache2> make
...
OUTPUT(httpd aixcoff-rs6000)
LOAD initfini
LOAD /lib/librtl.a
make[1]: Leaving directory `/usr/local/apache2'
...
www:/usr/local/httpd-2.0.47> cd /usr/local/apache2
www:/usr/local/apache2> make install
www:/usr/local/apache2> vi conf/httpd.conf
...
#ServerName new.host.name:80
ServerName www.jkkang.net
...
#Group #-1
Group nobody
...
·Î °íÄ£´Ù.
www:/usr/local/apache2> ./bin/apachectl start
www:/usr/local/apache2> ps -ef|grep httpd
root 30220 1 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
nobody 30712 30220 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
nobody 38632 30220 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
nobody 38994 30220 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
nobody 40160 30220 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
nobody 41132 30220 0 21:34:24 - 0:00 /usr/local/apache2/bin/httpd -k start
|
|
¾Æ~~~ Àá¿Â´Ù...
ÇÊÀÚÀÇ ÄÄÆÄÀÏ ¹®¼°¡ Apache 2.0.47À» ¼³Ä¡ÇÏ´Â ºÐµé²² ¸¹Àº µµ¿òÀÌ µÇ¾úÀ¸¸é ÇÕ´Ï´Ù. ±×¸®°í, ¹®¼¿¡ ¿À·ù°¡ ÀÖÀ¸¸é Àú¿¡°Ô ¸á·Î ¾Ë·ÁÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.
|
|