โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜† ๋ฒ„์ „๋ณ„ ์ปดํŒŒ์ผ ์„ค์น˜ ๋‚ด์šฉ โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†โ˜†

โ—โ—‘โ—โ—‘โ—โ—‘  <์˜ต์…˜ ์„ค๋ช…> โ—โ—‘โ—โ—‘โ—โ—‘

--prefix=/usr/local/apache2  ==> Apache ์„ค์น˜ ๊ฒฝ๋กœ ์ง€์ •
--sysconfdir=/usr/local/apache2/conf
--enable-module=so   ==> DSO(Dynamic Shared Objects) ๋™์ ๊ณต์œ ๊ฐ์ฒด๋กœ Apache ์„ค์น˜
--enable-so - DSO(Dynamic Shared Objects) ๋™์ ๊ณต์œ ๊ฐ์ฒด๋กœ Apache ์„ค์น˜, ๋ชจ๋“ˆ ์ž๋™์ œ์–ด
--enable-rule=SHARED_CORE - DSO(Dynamic Shared Objects) ๋™์ ๊ณต์œ ๊ฐ์ฒด๋กœ Apache ์„ค์น˜, ๋ชจ๋“ˆ์ž๋™์ œ์–ด
--enable-module=ssl - ssl ์ธ์ฆ์„œ ๋ชจ๋“ˆ์„ ์„ค์น˜ํ•œ๋‹ค.
--enable-ssl=shared - ssl ์ธ์ฆ์„œ ๋ชจ๋“ˆ์„ ์„ค์น˜ํ•œ๋‹ค.
--with-mpm=prefork - ๋‹ค์ค‘์ฒ˜๋ฆฌ๋ชจ๋“ˆ์˜ ๋ฐฉ์‹์„ prefork ๋ฐฉ์‹์œผ๋กœ ์ง€์ •ํ•œ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€

โ—โ—‘โ—โ—‘โ—โ—‘ Apache-1๋ฒ„์ „ ์—ฐ๋™ ์„ค์น˜โ—โ—‘โ—โ—‘โ—โ—‘

SSL_BASE=/usr/local/openssl ./configure --prefix=/usr/local/apache \
--sysconfdir=/usr/local/apache/conf --activate-module=src/modules/php5/libphp5.a \
--enable-module=ssl --enable-shared=ssl --enable-module=rewrite \
--enable-shared=rewrite --enable-rule=SHARED_CORE \
--enable-module=so --enable-shared=max

โ—โ—‘โ—โ—‘โ—โ—‘ Apache-2๋ฒ„์ „ โ—โ—‘โ—โ—‘โ—โ—‘

SSL_BASE=/usr/local/openssl ./configure --prefix=/usr/local/httpd \
--enable-shared=max --enable-rule=SHARED_CORE \
--enable-modules=so --enable-so

โ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃ
โ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃ Apache1๋ฒ„์ „ [์ฃผ๋กœ ๋‚ด๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” ์˜ต์…˜] โ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃ
โ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃโ–ฃ
๋…๋ฆฝ์„ค์น˜์˜ต์…˜
================================================================================================
./configure --prefix=/usr/local/apache --enable-module=all \
--enable-shared=max  --enable-module=rewrite  --enable-shared=rewrite  --enable-module=proxy \
--enable-shared=proxy --enable-rule=SHARED_CORE --enable-module=so
==================================================================================================
httpd-2.2.6]# /usr/local/apache2/bin/apxs -i -a -c mod_logio.c  ==> ์ˆ˜๋™์ปดํŒŒ์ผ ๋ฐฉ์‹
apxs๊ฐ€ ์—†์„๊ฒฝ์šฐ์— ์ˆ˜๋™ ๋‹ค๋ฅธ ๋ฐฉ์‹
/modules/dav/fs]# cp mod_dav_fs.c /usr/local/apache2/include
/modules/dav/fs]# cp repos.c /usr/local/apache2/include
/modules/dav/fs]# cd /usr/local/apache2/include
/apache2/include]# gcc -fpic -DSHARED_MODULE -l/usr/include/apache2 -DEAPI -c mod_dav_fs.c
/apache2/include]# gcc -shared -o mod_dav_fs.so mod_dav_fs.o
/apache2/include]# mv mod_dav_fs.so /usr/local/apache2/modules
/apache2/include]# chmod 755 /usr/local/apache2/modules/mod_dav_fs.so

+ Recent posts