Apache 1.3.x ÄÄÆÄÀÏ ¸Þ´º¾ó (Ver 1.0)


Official distribution site : http://jkkang.net/
Technical Info : jkkang65@hanmail.net

Last Updated in July 12, 2006
Written by Kang Jul Ki



   º» ¹®¼­´Â AIX 5.2¿¡¼­ Apache 1.3.x ¹öÀüÀ» ÄÄÆÄÀÏÇÏ´Â ¹æ¹ýÀ» ¼Ò°³ÇÏ´Â ¹®¼­ÀÌ´Ù.

S/WVersionºñ°í
IBM AIX5.2ML #3 or higher
Apache1.3.36
GNU gcc4.1.1or higher
GNU make3.803.75 or higher
GNU tar1.13or higher


   À§¿¡¼­ higher¶õ ¸»Àº ±× À̻󿡼­µµ ÄÄÆÄÀÏÀÌ µÉ¼ö ÀÖÀ½À» ÀǹÌÇÑ´Ù. ¿·¿¡ ÀÖ´Â ¹öÀüÀº ÇÊÀÚ°¡ Å×½ºÆ®ÇÑ È¯°æÀ» ÀǹÌÇÑ´Ù. °¢°¢ÀÇ µð·ºÅ丮¹× °æ·Î´Â ÇÊÀÚÀÇ °æ¿ì¸¦ ¿¹·Î µéÀº °ÍÀ̹ǷΠÀڽŵéÀÇ È¯°æ¿¡ ¸ÂÃ߾ ¾à°£¾¿ º¯°æÇÒ ¼öµµ ÀÖ´Ù.



1. Apache 1.3.36 ÄÄÆÄÀÏ È¯°æ


[root@www] /usr/local> id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp)

[root@www] /usr/local> cat ~/.profile|more
PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

[root:www] /usr/local> gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.2.0.0
Configured with: ../gcc-4.1.1/configure --disable-aix64 --disable-nls
Thread model: aix
gcc version 4.1.1

[root@www] /usr/local> make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for powerpc-ibm-aix4.3.2.0
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        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.

Report bugs to .

[root@www] /usr/local> gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H

[root@www] /usr/local> tar --version
tar (GNU tar) 1.13

Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 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.

Written by John Gilmore and Jay Fenlason.

[root@www] /usr/local> ls -l apache_1.3.36.tar.gz
-rw-r-----   1 root     system      2477854 Jul 12 15:04 apache_1.3.36.tar.gz




2. Apache 1.3.36 ¾ÐÃàÇ®±â


[root@www] /usr/local> gzip -dc apache_1.3.36.tar.gz | tar xvf -

¶Ç´Â GNU tar´Â ´ÙÀ½°ú °°ÀÌ ÇѲ¨¹ø¿¡ gzipÀ» »ç¿ëÇÏÁö ¾Ê°í Ç®¾îµµ µÈ´Ù.
[root@www] /usr/local> tar zxvf apache_1.3.36.tar.gz

[root@www] /usr/local/apache> ln -s apache_1.3.36 apache

Tip) apache´Â ³ªÁß¿¡ ´Ù½Ã ¼Ò½ºÄÄÆÄÀÏÀ» ÇÒ¼ö ÀÖµµ·Ï À§¿Í°°ÀÌ ¼Ò½º¸¦ ±×´ë·Î ³²°Ü³õ´ÂÆíÀÌ ÁÁ´Ù.




3. ÄÄÆÄÀÏ ¹× ÀνºÅç


[root@www] /usr/local> cd apache_1.3.36

[root@www] /usr/local/apache_1.3.36> ./configure --enable-module=so

Tip) --enable-module=so Àº DSO(Dynamic Shared Object) ¸ðµâ·Î ÄÄÆÄÀÏÇÏ´Â ¿É¼ÇÀÌ´Ù. PHP, TomcatÀ» ³ªÁß¿¡ ¿¬µ¿ÇÒ¶§ ÀÌ ¿É¼ÇÀ» »ç¿ëÇÏ°Ô µÈ´Ù. 
DOS ¸ðµâ·Î ÄÄÆÄÀÏÇÏ´Â ¹æ¹ýÀÇ ÀåÁ¡Àº ¸¹´Ù. ÀÌ ºÎºÐÀº ÀÎÅͳÝÀ» Âü°íÇϱ⠹ٶõ´Ù. --prefix=/usr/local/apache ¸¦ º¸Åë Çϴµ¥, À̺κÐÀº »ý·«À» Çصµ
µÈ´Ù. --prefix´Â ApacheÀ» ÀνºÅçÇÏ°íÀÚ ÇÏ´Â À§Ä¡¸¦ ¸»Çϴµ¥, ±âº»ÀûÀ¸·Î /usr/local/apache¿¡ ÀνºÅçÀÌ µÈ´Ù. ´Ù¸¥°÷¿¡ ÀνºÅçÀ» ÇÏ°íÀÚ ÇÑ´Ù¸é
--prefix= ¸¦ ¼³Á¤Çϱ⠹ٶõ´Ù.

Configuring for Apache, Version 1.3.36
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for AIX 5.2 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + using -lld for vendor DSO support
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard

[root@www] /usr/local/apache_1.3.36> make

[root@www] /usr/local/apache_1.3.36> make install

[root@www] /usr/local/apache_1.3.36> cd conf
[root@www] /usr/local/apache_1.3.36> vi httpd.conf
...
#ServerName www.example.com
ServerName www.jkkang.net
...
¿Í °°ÀÌ ServerNameÀ» ÁØ´Ù.


[root@www] /usr/local/apache/bin> ./apachectl start
./apachectl start: httpd started

[root@www] /usr/local/apache/bin> ps -ef|grep httpd
  nobody 13372 17890   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 
  nobody 16686 17890   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 
  nobody 17542 17890   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 
    root 17890     1   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 
  nobody 18768 17890   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 
  nobody 19036 17890   0 15:11:32      -  0:00 /usr/local/apache/bin/httpd 




¾Æ~~~ Àá¿Â´Ù...
ÇÊÀÚÀÇ ÄÄÆÄÀÏ ¹®¼­°¡ Apache 1.3.x¸¦ ¼³Ä¡ÇÏ´Â ºÐµé²² ¸¹Àº µµ¿òÀÌ µÇ¾úÀ¸¸é ÇÕ´Ï´Ù. ±×¸®°í, ¹®¼­¿¡ ¿À·ù°¡ ÀÖÀ¸¸é Àú¿¡°Ô ¸á·Î ¾Ë·ÁÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.



Copyleft (c) 1996 - 2006, Kang Jul Ki. All rights were not reserved.
Powered by http://jkkang.net since 1996