|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 19 article |
2001-08-06 21:32:03 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
¾ÆÆÄÄ¡ °¡»ó À¯Àú È£½ºÆ® ¼³Á¤Çϱâ |
|
|
Á¦¸ñ : [ÆÁ]¾ÆÆÄÄ¡ °¡»ó À¯Àú È£½ºÆ® ¼³Á¤Çϱâ
ÀÛ¼ºÀÚ : ±èÄ¥ºÀ[´Ð: »êÀÌ] san2 at linuxchannel.net
2000.04.11 : 1Â÷ ¿Ï·á
2000.07.10 : 2Â÷ º¸¿Ï
2000.09.28 : 3Â÷ º¸¿Ï
´ë»óÀÚ : ¸®´ª½º/¾ÆÆÄÄ¡ ÃʱÞÀÚ(?)
*ÁÖ)
¿¡°í~~~
¿©·¯Â÷·Ê¿¡ °ÉÃÄ ³»¿ëÀ» ¼öÁ¤Ç߱⠶§¹®¿¡,
ÀÌÇÏ ¹®¼ÀÇ ¹®¸Æ»ó °£È¤(?) "Á¸Äª¾î"¸¦ »ý·«Çß½À´Ï´Ù.
¾çÇØÇØ ÁÖ½Ã±æ ¹Ù¶ø´Ï´Ù.
------------------------------------------------------------------
[¸ñÂ÷]
1. Âü°í³»¿ë ¹× °ü·Ã ¹®¼
2. ¾ÆÆÄÄ¡ °¡»ó À¯Àú È£½ºÆ®¶õ?(ÀÌ°Ô ¹¼´Ï±î?)
3. ³×ÀÓ¼¹ö(BIND8)ÀÇ ¼³Á¤
4. ¾ÆÆÄÄ¡¿¡¼ "°¡»ó À¯Àú È£½ºÆ®"¸¦ Áö¿øÇÏ°Ô ÇÏ·Á¸é?
4-1. È®ÀÎ °úÁ¤
4-2. modr_rewrite ¸ðµâ Ãß°¡
5. ¾ÆÆÄÄ¡ °¡»ó È£½ºÆ® ¼³Á¤(httpd.conf)
6. Á¶±×¸¶ÇÑ ÆÁ
7. ¸¶Ä¡¸ç
1. Âü°í³»¿ë ¹× °ü·Ã ¹®¼(´Ù ÀоÁú ¸øÇßÀ½)
- ¾ÆÆÄÄ¡ Á¦°ø ¹®¼ - Module mod_rewrite URL Rewriting Engine :
http://www.apache.org/docs/mod/mod_rewrite.html
- ¾ÆÆÄÄ¡ Á¦°ø ¹®¼ - Rewriting Guide :
http://www.apache.org/docs/misc/rewriteguide.html
- ¾ÆÆÄÄ¡ Á¦°ø ¹®¼ - Dynamically configured mass virtual hosting :
http://www.apache.org/docs/vhosts/mass.html
- ¾ÆÆÄÄ¡ Á¦°ø ¹®¼ - Apache Server Frequently Asked Questions :
http://www.apache.org/docs/misc/FAQ.html
- A Users Guide to URL Rewriting with the Apache Webserver :
Ralf S. Engelschall <rse at apache.org>
http://www.engelschall.com/pw/apache/rewriteguide/
- URL manipulation with Apache Forwarded :
Ralf S. Engelschall, Christian Reiber
http://www.heise.de/ix/artikel/E/9612149/
2. ¾ÆÆÄÄ¡ °¡»ó À¯Àú È£½ºÆ®¶õ?(ÀÌ°Ô ¹¼´Ï±î?)
¿¹¸¦ µé¾î, ¸®´ª½º °èÁ¤ ID°¡ "san2"ÀÌ°í µµ¸ÞÀÎÀÌ "linux.ac.kr"À̸é
http://san2.linux.ac.kr ÀÌ µÇµµ·Ï ¼³Á¤ÇÏ´Â °ÍÀÔ´Ï´Ù.
Áï,
¸®´ª½º °èÁ¤($USER)À» Ãß°¡Çϸé ÀÚµ¿ÀûÀ¸·Î ±× °èÁ¤ÀÌ È£½ºÆ®·Î ¼³Á¤µÇ¾î
¾ÆÆÄÄ¡ÀÇ °¡»ó È£½ºÆ®·Î ¿î¿µÇÏ´Â °ÍÀ» ÀǹÌÇÑ´Ù.
¹°·Ð ¼öµ¿À¸·Î ÇϳªÇϳª¾¿ ¸·³ëµ¿(?)À¸·Î ³×ÀÓ¼¹ö¿¡ °¢°¢ÀÇ °èÁ¤À» ¸ðµÎ
µî·ÏÇÏ°í ¾ÆÆÄÄ¡ °¡»ó È£½ºÆ® ¼½¼Ç¿¡ Ãß°¡ÇÒ ¼ö ÀÖÁö¸¸
Á¶±Ý ºñ´É·üÀûÀÌ´Ù.
¶§¹®¿¡ ³×ÀÓ¼¹ö¸¦ Á¶±Ý °Çµå·Á Áà¾ßÇϸç(Çѹø ¸¸), ÁÖ·Î À¥È£½ºÆà ¾÷ü³ª
ÀÌ·± ¼ºñ½º¸¦ Àü¹®À¸·ÎÇÏ´Â ¾÷ü¿¡¼ À¯¿ëÇÏ°Ô ¾²ÀÌ´Â ¹æ¹ýÀ̱⵵ ÇÏ´Ù.
*ÁÖ)---------------------------------------------------------------
¸î °³ÀÇ È£½ºÆ®¸¸ °ü¸®ÇÏ°í ÀÖ°í °¢ °èÁ¤À» ±»Áö È£½ºÆ®·Î ÁöÁ¤ÇÒ ÇÊ¿ä°¡
¾ø´Ù¸é ÀÌ ¹æ¹ýÀº ¹«¿ëÁö¹°ÀÔ´Ï´Ù.
--------------------------------------------------------------------
3. ³×ÀÓ¼¹ö(BIND8)ÀÇ ¼³Á¤
ºÎÆ®ÆÄÀÏ(named.conf)¿¡¼ Á¤ÀÇÇÑ Public DomainÀÇ zone ÆÄÀÏÀÌ
"zone-linux.ac.kr"·Î ¸í½ÃµÇ¾î ÀÖ´Ù¸é,(ÀϹÝÀûÀ¸·Î /var/named µð·ºÅ丮)
´ÙÀ½°ú °°ÀÌ ÆíÁýÇÕ´Ï´Ù.
/var/named/zone-linux.ac.kr -----------------------------------------
@ IN SOA ns.linux.ac.kr. san2.linux.ac.kr. (
2000041005 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.linux.ac.kr.
IN NS ns2.linux.ac.kr.
IN A 192.168.10.3
@ IN HINFO "x86 Pentium" "XXX Linux"
;
ns2 IN A 192.168.10.4
; Áß°£»ý·«
;
; Á¦ÀÏ ¸¶Áö¸· ÁÙ¿¡ Ãß°¡
* IN A 192.168.10.3
------------------------------------------------------------------------
À̸§±â¹Ý °¡»ó È£½ºÆ®·Î ¿î¿µÇÒ °èȹÀ̶ó¸é,
´õÀÌ»ó www, mail, ns, µîµîÀÇ È£½ºÆ² Ãß°¡ÇÒ ÇÊ¿ä´Â ¾ø´Ù.
¹Ý¸é,
°¢°¢ÀÇ ¼ºñ½º±â´ÉÀ» Çϴ ȣ½ºÆ®¸¦ ´Ù¸¥ IP ÁÖ¼Ò¸¦ »ç¿ëÇϸé
A ·¹ÄÚµå·Î °¢°¢ ´Ù¸£°Ô ¼³Á¤ÇØ ÁÙ ÇÊ¿ä´Â ºÐ¸íÀÌ ÀÖ´Ù.
ÀÌÁ¡¿¡¼ °¢ÀÚ »ç¿ë ¸ñÀû¿¡ ¸Â°Ô ³×ÀÓ¼¹ö¸¦ ¼³Á¤ÇÏ±æ ¹Ù¶ø´Ï´Ù.
¾ÕÀÇ ¼³Á¤¿¡¼ ´«¿©°Ü º¼ ¼³Á¤Àº ¿ÍÀϵåÄ«µå ¹®ÀÚ(*)¸¦ »ç¿ëÇؼ
¸ðµç(*) È£½ºÆ®¿¡ ´ëÇؼ A ·¹ÄÚµé·Î 192.168.10.3ÀÇ IP ÁÖ¼Ò¸¦ ÁöÁ¤ÇØ
ÁÖ¾ú´Ù´Â Á¡ÀÌ´Ù.
@ IN A 192.168.10.3
;¶Ç´Â
* IN A 192.168.10.3
*.linux.ac.kr. IN A 192.168.10.3
±×·³ ¾î¶² Çö»ó(?)ÀÌ ÀϾ´ÂÁö Àá½Ã ³×ÀÓ¼¹ö¿¡ ÁúÀÇÇØ º¾½Ã´Ù.
¿ì¼±, ¼³Á¤³»¿ëÀ» ¹Ù²Ù¾úÀ¸¹Ç·Î 2Â÷ ³×ÀÓ¼¹ö¸¦ ¿î¿µÇÏ°í ÀÖ´Ù¸é
SerialÀ» ¹Ù²Ù¾îÁà¾ßÇÔÀ» Àؾ ¾ÈµÈ´Ù.
# ndc reload
#
# nslookup
Default Server: linux.ac.kr
Address: 192.168.10.3
> linux.ac.kr
Name: linux.ac.kr
Address: 192.168.10.3
> www.linux.ac.kr
Name: www.linux.ac.kr
Address: 192.168.10.3
> mail.linux.ac.kr
Name: mail.linux.ac.kr
Address: 192.168.10.3
ÀÌ ¹ø¿¡´Â ¹«ÀÛÀ§ ¾Æ¹« È£½ºÆ®(aabbcc)¸¦ ÁúÀÇÇØ º¸ÀÚ.
> aabbcc.linux.ac.kr
Name: aabbcc.linux.ac.kr
Address: 192.168.10.3
> exit
#
Áï, ³×ÀÓ¼¹ö¿¡ ¿ÍÀϵåÄ«µå ¹®ÀÚ(*)¸¦ »ç¿ëÇؼ ¸ðµç È£½ºÆ®¸¦
192.168.10.3ÀÇ IP ÁÖ¼Ò·Î ÁöÁ¤ÇØ ¹ö·È±â ¶§¹®ÀÌ´Ù.
ÀÌ ±â´É(?)À» ÀÌ¿ëÇؼ ¾ÆÆÄÄ¡¿¡¼ °¡»óÈ£½ºÆ®·Î ÁöÁ¤ÇÏ´Â ¹æ¹ýÀÌ´Ù.
´ëÃæ ÁüÀÛÀÌ µÇ¾úÀ¸¸®¸¸ ¹Ï½À´Ï´Ù.
4. ¾ÆÆÄÄ¡¿¡¼ "°¡»ó À¯Àú È£½ºÆ®"¸¦ Áö¿øÇÏ°Ô ÇÏ·Á¸é?
¾ÆÆÄÄ¡¿¡¼ °¡»ó À¯Àú È£½ºÆ®¸¦ Áö¿øÇÏ°Ô ÇÏ·Á¸é ¾ÆÆÄÄ¡ ¸ðµâÁß¿¡¼
"mod_rewrite.c"°¡ ÇÊ¿äÇÏ´Ù.
4-1. È®ÀÎ °úÁ¤
[°æ¿ì1] ¾ÆÆÄÄ¡¸¦ RPMÀ¸·Î ¼³Ä¡ÇßÀ» °æ¿ì
¾ÆÆÄÄ¡ ¼³Á¤ ÆÄÀÏ(httpd.conf)¿¡
...
LoadModule rewrite_module modules/mod_rewrite.so
...
AddModule mod_rewrite.c
...
ºÎºÐÀÌ ÀÖ´ÂÁö È®ÀÎÇÏ´Ù.
ÀϹÝÀûÀ¸·Î rpm ÆÐÅ°Áö¸¦ Á¦ÀÛÇÒ °æ¿ì ÀÌ ¸ðµâÀ» DSO ±â¹Ý ¸ðµâ·Î ·Îµù
Çϵµ·Ï ¼³Á¤µÇ¾î ÀÖÀ» °ÍÀÔ´Ï´Ù.
[°æ¿ì2] ¾ÆÆÄÄ¡¸¦ ¼Ò½º·Î Á÷Á¢ ÄÄÆÄÀÏÇßÀ» °æ¿ì
ÀÌ °æ¿ì¿¡´Â ¼Õ¼ö Á÷Á¢ È®ÀÎÇØ Áà¾ßÇÑ´Ù.
¾ÆÆÄÄ¡ ¼³Ä¡ÀÚ°¡ DSO ±â¹Ý ¸ðµâ·Î ¼³Ä¡Çß´ÂÁö ¾Æ´Ï¸é
"Compiled-in modules"À¸·Î ¼³Ä¡Çß´ÂÁö ÀÌ¹Ì ¾Ë°í ÀÖÀ» °ÍÀÌ´Ù.
ÀüÀÚÀÇ °æ¿ì´Â ¾ÕÀÇ RPMÀ¸·Î ¼³Ä¡ÇßÀ» °æ¿ì¿Í °°ÀÌ Á÷Á¢ ¼³Á¤ÆÄÀÏÀ»
È®ÀÎÇØ º»´Ù.
ÈÄÀÚÀÇ °æ¿ì´Â ´ÙÀ½°ú °°ÀÌ "httpd -l"°ú °°ÀÌ ¿É¼ÇÀ¸·Î È®ÀÎÇÏ´Ù.
# httpd -l (¶Ç´Â # /usr/local/apache/bin/httpd -l)
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c <---------------È®ÀλçÇ×
mod_access.c
mod_auth.c
mod_setenvif.c
mod_php3.c
#
*ÁÖ)----------------------------------------------------------------
ÀϹÝÀûÀ¸·Î ¾ÆÆÄÄ¡¸¦ ¼Ò½º·Î Á÷Á¢ ÄÄÆÄÀÏÇÏ¿© ¼³Ä¡ÇßÀ» °æ¿ì¿¡´Â
Ưº°ÇÑ ¿É¼ÇÀÌ ¾ø´ÂÇÑ mod_rewrite ¸ðµâÀº Ãß°¡µÇ¾î ÀÖÁö ¾Ê´Ù.
--------------------------------------------------------------------
ÇÊÀÚ¿ª½Ã ±âÁ¸ÀÇ ¼Ò½ºµð·ºÅ丮¿¡¼ ´Ù½Ã ÄÄÆÄÀÏÇÏ¿© Ãß°¡ÇØ Áà¾ßÇÏ´Â
´ÜÁ¡ÀÌ ÀÖ¾ú´Ù.
4-2. mod_rewrite ¸ðµâ Ãß°¡ ¹æ¹ý
´ÙÀ½ÀÇ ÀÛ¾÷ °úÁ¤Àº ÇöÀç ÀÌ mod_rewrite.cÀÌ Ãß°¡µÇ¾î ÀÖÁö ¾Ê¾Ò´Ù´Â
°¡Á¤ÀÌ´Ù.
¿ì¼± ÇöÀçÀÇ ¾ÆÆÄÄ¡ ¼¹ö¸¦ Á¾·áÇÑ´Ù.
# killall httpd
#
¾ÆÆÄÄ¡ ¼¹ö¸¦ /usr/local/apache¿¡ ¼³Ä¡Çß´Ù¸é
Àá½Ã ´Ù¸¥ À̸§À¸·Î ¹Ù²Ù¾î ³õ´Â´Ù.
# cd /usr/local
# mv apache apache_old
Àü¿¡ ¾ÆÆÄÄ¡¸¦ ÄÄÆÄÀÏ Çß´ø ¼Ò½º µð·ºÅ丮°¡ /usr/local/src/apache_1.3.12
À̶ó¸é ±×°÷À¸·Î À̵¿ÇÑ´Ù.
¸¸¾à »õ·Î ÄÄÆÄÀÏÇÒ °èȹÀ̶ó¸é ÀÌÇÏ °°Àº ¹æ¹ý´ë·Î ÇÑ´Ù.
ÇÊÀÚ´Â Àü¿¡ PHP¸¦ ¼µåÆÄƼ ¸ðµâÀ» Ãß°¡ÇßÀ¸¹Ç·Î À̹ø¿¡µµ ¶È °°ÀÌ ÇØÁà¾ß
ÇÏ´Â ¶Ç ÇϳªÀÇ ¼÷Á¦(?)°¡ ³²¾Æ ÀÖ´Ù.
±×·¯³ª ±× ¼÷Á¦´Â ¼÷Á¦°¡ ¾Æ´Ï´Ù.
¼Ò½º µð·ºÅ丮¿¡ config.status ÆÄÀÏÀ» ÀÌ¿ëÇÏ¸é ±×¸¸ÀÌ´Ù.
# pwd
/usr/local/apache_1.3.12
#
# cat config.status
------config.status ---------------------------------------------------
#!/bin/sh
##
## config.status -- APACI auto-generated configuration restore script
##
## Use this shell script to re-run the APACI configure script for
## restoring your configuration. Additional parameters can be supplied.
##
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--activate-module=src/modules/php4/libphp4.a" \
"$@"
-----------------------------------------------------------------------
Àü¿¡ ÀÛ¾÷Çß´ø ³»¿ëÀÌ ÀÌ ÆÄÀÏ(config.status)¿¡ ±â·ÏµÇ¾î ÀÖÀ¸¹Ç·Î ÀÌ ÆÄÀÏÀ»
ÀÌ¿ëÇؼ PHP4 ¸ðµâµµ ÇÔ²² Ãß°¡ÇØ º¸ÀÚ.
# make clean
#
# ./config.status --enable-module=rewrite
#
À̶§ ÁÖÀÇÇØ¾ß ÇÒÁ¡Àº "--enable-module=mod_rewrite"°¡ ¾Æ´Ï¶ó´Â Á¡ÀÌ´Ù.
"mod_"¸¦ »« ³ª¸ÓÁö ¸ðµâÀÌ ±× ¸ðµâÀ̸§ÀÌ´Ù.
¸¸¾à óÀ½À¸·Î ¾ÆÆÄÄ¡¸¦ ÄÄÆÄÀÏÇÒ °èȹÀ̶ó¸é ´ÙÀ½°ú °°ÀÌ
Áß°£ ´Ü°è¿¡¼ ÄÄÆÄÀÏ ¿É¼ÇÀÌ ÇÊ¿äÇÒ °ÍÀÌ´Ù.(PHP4 Ãß°¡½Ã Æ÷ÇÔ)
# ./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=rewrite
"\" ¹®ÀÚ´Â ÀûÁ¢ ÀÔ·ÂÇÏ´Â ¹®ÀÚ°¡ ¾Æ´Ï°í Áï ÇÑÁÙ¿¡ °è¼Ó ÀÌ¾î¼ ¾´´Ù´Â ÀǹÌÀÔ´Ï´Ù.
¾ÕÀÇ ¿¹´Â Compiled-in modules Çü½ÄÀÌ´Ù.
¸¸¾à DSO ±â¹Ý ¸ðµâ·Î »ç¿ëÇÒ °èȹÀ̶ó¸é, ÃÖ¼ÒÇÑ ´ÙÀ½°ú °°Àº ¿É¼ÇÀÌ ÇÊ¿äÇÏ´Ù.
(mod_rewrite ¸ðµâ¸¸ DSO ¹æ½ÄÀ¸·Î »ç¿ë)
# ./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=rewrite <--- ÁÖÀÇ ²À
--enable-shared=rewrite \
*ÁÖ)----------------------------------------------------------------
--enable-shared=rewrite ¿É¼ÇÀº --enable-shared=so¸¦ Æ÷ÇÔÇÔ.
--------------------------------------------------------------------
*ÁÖ)----------------------------------------------------------------
DSO ±â¹Ý ¸ðµâÀº Compiled-in modules ¸ðµâº¸´Ù ¾ÆÆÄÄ¡ ¼¹ö ½ÃÀ۽à 20%,
½ÇÇà¼Óµµ°¡ 5% Á¤µµ ´À·ÁÁø´Ù°í ¾ÆÆÄÄ¡ °ü·Ã ¹®¼¿¡ ³ª¿Í ÀÖ´Ù.
--------------------------------------------------------------------
*Âü°í)--------------------------------------------------------------
mod_rewrite ¸ðµâÀ» DSO ¹æ½ÄÀ¸·Î Ãß°¡ÇÏ´Â ±âŸ ¹æ¹ý
±âº»ÀûÀ¸·Î mod_rewrite ¸ðµâÀº disable µÇ¾î ÀÖ´Ù´Â Á¡¿¡¼
´ÙÀ½°ú °°Àº ¹æ¹ýÀÌ °¡´ÉÇÏ´Ù.
1. APXS À¯Æ¿¸®Æ¼ »ç¿ë
# apxs -i -a -c /any/path/to/src/modules/standard/mod_rewrite.c
2. --enable-module=all --enable-shared=rewrite
¸ðµç ¸ðµâÀ» enable ½ÃÅ°°í mod_rewrite¸¸ DSO ¹æ½ÄÀ¸·Î Ãß°¡
3. --enable-module=all --enable-shared=max
¸ðµç ¸ðµâÀ» enable ½ÃÅ°°í httpd_core¿Í mod_so¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁö
¸ðµâ(mod_rewrite°¡ Æ÷ÇÔµÊ)À» DSO ¹æ½ÄÀ¸·Î Ãß°¡
4. --enable-module=rewrite --enable-shared=max
mod_rewrite¸¦ enable ½ÃÅ°°í ³ª¸ÓÁö enableµÈ ¸ðµâ°ú ÇÔ²² DSO ¹æ½ÄÀ¸·Î Ãß°¡
5. --enable-shared=remain
¾ÆÁ÷ enableµÇ¾î ÀÖÁö ¾ÊÀº mod_rewrite ¸ðµâÀ» Æ÷ÇÔÇÑ ³ª¸ÓÁö ±âº» enable
¸ðµâÀ» enable½ÃÅ°°í httpd_core¿Í mod_so¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁö ¸ðµâ(mod_rewrite
°¡ Æ÷ÇÔµÊ) À» DSO ¹æ½ÄÀ¸·Î Ãß°¡
[--enabl/disable-shared=max ¿É¼Ç]
¹Ù·Î ÀÌÀü ¿É¼Ç¿¡¼ enable µÇ¾î ÀÖ´Â ¸ðµâ¿¡ ´ëÇؼ¸¸ DSO ¹æ½ÄÀ¸·Î
enable/disable.
[--enable-shared=remain ¿É¼Ç]
¹Ù·Î ÀÌÀü ¿É¼Ç¿¡¼ enable µÇ¾î ÀÖÁö ¾ÊÀº ¸ðµâÀ» enable ½ÃÅ°°í ÀÌ ¸ðµâ¿¡
´ëÇؼ¸¸ DSO ¹æ½ÄÀ¸·Î enable.
[Ưº°ÇÑ ¿É¼ÇÀÌ ¾ø´Â °æ¿ì ±âº» enable ¸ðµâ]
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
*Âü°í ³¡) --------------------------------------------------------------
ÄÄÆÄÀÏ ¿É¼Ç ¼³Á¤ÀÌ ³¡³µÀ¸¸é
ÄÄÆÄÀÏ°ú ¼³Ä¡¸¦ ´Ù¸§°ú °°ÀÌ ÁøÇàÇÑ´Ù.
# make
#
# make install
/usr/local/apache µð·ºÅ丮¿¡ »õ·Î ¾ÆÆÄÄ¡°¡ ¼³Ä¡µÇ¾î ÀÖÀ» °ÍÀÌ´Ù.
¿øÇÏ´Â ¸ðµâÀÌ Ãß°¡µÇ¾î ÀÖ´ÂÁö Á÷Á¢È®ÀÎÇØ º¸ÀÚ.
# cd /usr/local/apache/bin
# ./httpd -l
...
mod_rewrite.c
...
#
¿øÇÏ´Â ¸ðµâÀÌ Ãß°¡µÇ¾î ÀÖ±º¿ä...
À̹ø¿¡´Â Àü¿¡ ¼³Á¤ÇØ ³õ¾Ò´ø ¼³Á¤ÆÄÀÏ(httpd.conf)À»
´Ù½Ã º¹»çÇØ ³õÀÚ.(°°Àº ¹öÀüÀÏ °æ¿ì)
# cd /usr/local/apache/conf
#
# cp /usr/local/apache_old/conf/httpd.conf .
#
httpd.conf ÆÄÀÏÀÌ µ¤¾î¾²±â°¡ µÉ°ÍÀÔ´Ï´Ù.
*ÁÖ)-----------------------------------------------------------------
¾ÆÆÄÄ¡ ¹öÀü 1.3.11°ú 1.3.12ÀÇ ¼³Á¤ÆÄÀÏÀº
±× ¼³Á¤ ³»¿ëÀÌ Á¶±Ý¾¿ ´Ù¸£¹Ç·Î Àý´ë·Î µ¤¾î¾²´Â ÀÏÀÌ ¾øµµ·Ï ÁÖÀÇÇϱâ
¹Ù¶ø´Ï´Ù.
---------------------------------------------------------------------
¸¸¾à rewrite ¸ðµâÀ» DSO ±â¹Ý ¸ðµâ·Î ¼³Ä¡Çß´Ù¸é
httpd.conf ÆÄÀÏ¿¡¼
...
LoadModule rewrite_module ......
...
AddModule mod_rewrite.c
...
ºÎºÐÀ» È®ÀÎ ¹× »©¸ÔÁö ¾Êµµ·Ï ÁÖÀÇÇÑ´Ù.
5. ¾ÆÆÄÄ¡ °¡»ó È£½ºÆ® ¼³Á¤(httpd.conf)
µåµð¾î ¾ÆÆÄÄ¡ °¡»ó È£½ºÆ® ¼³Á¤ Â÷·ÊÀÔ´Ï´Ù.
ÇÊÀÚÀÇ °æ¿ì(¿¹Á¦ÀÇ °¡»óÀÇ µµ¸ÞÀÎ: linux.ac.kr)´Â ´ÙÀ½°ú °°´Ù.
ÁÖ¼®À¸·Î ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.
-----httpd.conf -------------------------------------------------------
...
ServerName www.linux.ac.kr
DocumentRoot /home/httpd/html
...
UserDir public_html
...
...
# °¡»ó È£½ºÆ® ¼³Á¤
NameVirtualHost 192.168.10.3
# ±âº»ÀÌ µÇ´Â È£½ºÆ®
<VirtualHost 192.168.10.3>
ServerName www.linux.ac.kr
#
# ´ÙÀ½ÀÇ ¼³Á¤Àº ÀϹÝÀûÀÎ °¢°¢ÀÇ »ç¿ëÀÚ URL(~ID)À» ID.domain.comÀÇ
# ÇüÅ·ΠRedirectÇÏ´Â ¼³Á¤ÀÌ´Ù.
# ²À ÇÊ¿äÇÏÁö´Â ¾ÊÁö¸¸ ±×·°Àú·° ±¦ÂúÀº ¼ºñ½º ÀÏ°Í °°´Ù.(ÇÊÀÚÀÇ »ý°¢)
#
RewriteEngine on
RewriteRule ^/~(([a-zA-Z])[a-z0-9]+) http://$1.linux.ac.kr [R,L]
#
# ´ÙÀ½ÀÇ 2ÁÙ¿¡ ´ëÇؼ ÁÖ¼®À» Á¦°ÅÇÏ¸é ¿äûÇÑ ¹®¼¿Í DocumentRoot »ó¿¡
# Á¸ÀçÇÏ´Â ¹®¼¿Í ¼·Î ÀÏÄ¡ÇÏÁö ¾ÊÀ» °æ¿ì
# http://www.linux.ac.kr/index.html ÆÄÀÏÀ» º¸¿©ÁÖµµ·Ï µÇ¾î ÀÖ´Ù.
# µû¶ó¼ "ErrorDocument 404"ÀÇ Àǹ̴ ¾ø¾îÁö¸ç,
# ÀÌ ¹æ¹ý ¿Ü¿¡, ¿øÇÑ´Ù¸é 404 ¿¡·¯Äڵ忡 ´ëÇÑ ¹®¼¸¦ »óÀ§ÀÇ
# ±âº» ¹®¼(index.html)·Î URL Æ÷¿öµùÇÒ ¼ö ÀÖ´Â ¹æ¹ýµµ ÀÖ´Ù.
#
#RewriteCond /home/httpd/html/%{REQUEST_FILENAME} !-f
#RewriteRule ^(.+) http://www.linu.ac.kr/index.html
</VirtualHost>
# mail È£½ºÆ® ¼³Á¤
# "mail"À̶ó´Â °èÁ¤Àº /etc/passwd ÆÄÀÏ¿¡ Á¸ÀçÇÏÁö¸¸
# ½ÇÁ¦·Î´Â /home/mail·Î Ȩµð·ºÅ丮¸¦ °¡Áö°í ÀÖÁö ¾Ê´Ù.
# ¶§¹®¿¡ ÇÊÀÚÀÇ °æ¿ì´Â mail.linux.ac.kr È£½ºÆ®¿¡ ´ëÇؼ
# À¥ ¸ÞÀϼ¹ö½º¸¦ À§Çؼ ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇßÀ» »ÓÀÌ´Ù.
# ¹°·Ð 8080 Æ÷Æ®·Î ¼³Á¤ÇÏ´Â °æ¿ìµµ ¸¹´Ù.
# ÀÌ ¿¹´Â ÇÊÀÚÀÇ °æ¿ìÀÌ´Ù.(ÇϳªÀÇ ¸®´ª½º ¹Ú½º¿¡¼)
#
<VirtualHost 192.168.10.3>
ServerName mail.linux.ac.kr
ServerAdmin admin at linux.ac.kr
DocumentRoot /home/httpd/mail
ErrorLog logs/mail.linux.ac.kr-error_log
CustomLog logs/mail.linux.ac.kr-access_log common
#ErrorDocument 401 /401.php
</VirtualHost>
# redhat È£½ºÆ® ¼³Á¤
# redhat °èÁ¤Àº ½Ã½ºÅÛ °èÁ¤¿¡ Æ÷ÇԵǾî ÀÖÁö ¾ÊÀº °èÁ¤ÀÌ´Ù.
# µû¶ó¼ µû·Î ºÐ·ùÇؼ ÇϳªÀÇ °¡»ó È£½ºÆ®·Î ¼³Á¤ÇÒ
# ÇÊ¿ä°¡ ÀÖ´Â °æ¿ìÀÌ´Ù.
# ÀÌ ¿¹Á¦¿Í °°ÀÌ /home/ID ó·³ Á¸ÀçÇÏÁö ¾ÊÀº °¡»ó È£½ºÆ®¿¡ ´ëÇؼ
# Áß¿äÇÏ´Ù°í »ý°¢µÇ´Â È£½ºÆ®(¿¹: www, kernel, tip, study)¸¦ º°µµ·Î
# °¡»ó È£½ºÆ®·Î Ãß°¡ ¼³Á¤ÇÑ´Ù.
#
<VirtualHost 192.168.10.3>
ServerName redhat.linux.ac.kr
ServerAdmin admin at linux.ac.kr
DocumentRoot /home/httpd/redhat
ErrorLog logs/redhat.linux.ac.kr-error_log
CustomLog logs/redhat.linux.ac.kr-access_log common
ErrorDocument 401 /401.php
ErrorDocument 404 /404.php
</VirtualHost>
# linux È£½ºÆ® ¼³Á¤
# linux °èÁ¤Àº ½Ã½ºÅÛ °èÁ¤¿¡ Æ÷ÇԵǾî ÀÖÁö °èÁ¤ÀÌ´Ù.
# ¶ÇÇÑ ¸®´ª½º °èÁ¤¿¡ Æ÷ÇԵǾî ÀÖ´ÙÇÏ´õ·Îµµ
# ÇÊÀÚÀÇ ¼Ò°ßÀ¸·Î´Â
# http://linux.linux.ac.kr À̶ó´Â À̸§Àº ¿ØÁö
# ¾î»öÇÒ µû¸§ÀÌ´Ù.
# µû¶ó¼ ÀÌ °¡»ó È£½ºÆ®¿¡ ´ëÇؼ www.linux.ac.kr
# È£½ºÆ®·Î Redirect Áö½ÃÀÚ·Î Æ÷¿öµùÇÏ´Â ¿¹Á¦ÀÌ´Ù.
# ÁÖÀÇ Redirect / http://www.linux.ac.kr ÀÌ µÇÁö ¾Êµµ·Ï!!!
#
<VirtualHost 192.168.10.3>
ServerName linux.linux.ac.kr
Redirect /index.html http://www.linux.ac.kr/
</VirtualHost>
# °¡»ó À¯Àú È£½ºÆ® ¼³Á¤ ##########################################
# ÀÌ ±ÛÀÇ °¡Àå ÇÙ½ÉÀûÀÎ ³»¿ëÀ̸ç ÇÊÀÚ°¡ ¸»ÇÏ·Á´Â ºÎºÐÀ̱⵵ ÇÏ´Ù.
#
<VirtualHost 192.168.10.3>
ServerName linux.ac.kr
#
# ServerAlias Áö½ÃÀÚ¸¦ ÀÌ¿ëÇؼ ³ª¸ÓÁö ¸ðµç È£½ºÆ®¿¡ ´ëÇؼ
# ¼³Á¤ÇÑ °æ¿ìÀÌ´Ù.
ServerAlias *.linux.ac.kr
ServerAdmin admin at linux.ac.kr
#
# ´ÙÀ½ÀÇ ¼³Á¤Àº http://linux.ac.krÀ» ¿äûÇßÀ» °æ¿ì¿¡
# http://www.linux.ac.kr È£½ºÆ®·Î URL Æ÷¿öµùÇÑ ¿¹ÀÌ´Ù.
# ÀÌ ¼³Á¤Àº ÇÊÀÚÀÇ ½À°üÀÌ´Ù.
# ±»Áö Redirect Áö½ÃÁö¸¦ »ç¿ëÇÏÁö ¾Ê°í /home/httpd/html/index.html
# ÆÄÀÏÀ» º¸À̵µ·Ï ÇÒ ¼ö´Â ÀÖ´Ù.
#DocumentRoot /home/httpd/html
#
Redirect /index.html http://www.linux.ac.kr/
#
#
# °¡Àå ÇÙ½ÉÀûÀÎ ¼³Á¤ ºÎºÐÀÌ´Ù. ±×·¯³ª .........T.T
# ºÒÇàÈ÷µµ ÇÊÀÚ´Â À̺κп¡ ´ëÇؼ ÀÚ¼¼ÇÏ°Ô ¼³¸íÇÒ ½Ç·ÂÀÌ ¸øµÈ´Ù.
# ´Ù¸¸ ¾ÆÆÄÄ¡ Á¦°ø¹®¼¿Í [ÀÓ´ëÈ£]´Ô ȨÆäÀÌÁö¸¦ Âü°í·Î ÇßÀ» »ÓÀÔ´Ï´Ù.
# ÀÚ½ÅÀÇ È¯°æ¿¡ ¸Â°Ô ¼öÁ¤ÇÏ¸é ¹«¸®°¡ ¾øÀ»µí ÇÕ´Ï´Ù.
#
# Virtual User Hosts
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[^.]+\.linux\.ac\.kr$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+)\.linux\.ac\.kr(.*) /home/$1/public_html$2
#
ErrorLog logs/users.linux.ac.kr-error_log
CustomLog logs/users.linux.ac.kr-access_log common
# ¾Æ·¡ÀÇ µÎ°³ÀÇ ¼³Á¤Àº °¡»ó À¯Àú È£½ºÆ®¸¦ À§ÇÑ ¼³Á¤ÀÌ´Ù.
# Áï, °¢ °¡»ó À¯Àú È£½ºÆ®ÀÇ DocumentRoot¿¡ ¿¡·¯Äڵ幮¼¸¦
# ¸ðµÎ ¸¸µé ÇÊ¿ä¾øÀÌ(»ç¿ëÀÚ ¸ò) ±âº» È£½ºÆ®ÀÇ ¿¡·¯ÄÚµå·Î
# ¸ðµÎ ¼³Á¤ÇØ ÁÖ¾ú´Ù.
ErrorDocument 401 http://www.linux.ac.kr/401.php
ErrorDocument 404 http://www.linux.ac.kr/404.php
</VirtualHost>
...
------------------------------------------------------------------------------
¼³Á¤ÀÌ ³¡³µÀ¸¸é ¾ÆÆÄÄ¡ ¼¹ö¸¦ °¡µ¿ÇÑ´Ù.
¼¹ö¸¦ °¡µ¿ÇÏÁö Àü¿¡ ¼³Á¤ ±¸¹®ÀÌ Á¦´ë·Î ¸Â´ÂÁö È®ÀÎ Á¡°ËÇØ º¸´Â ½À°üµµ ÁÁ´Ù.
#
# httpd -t (¶Ç´Â /usr/sbin/httpd -t)
¶Ç´Â
# /usr/local/apache/bin/httpd -t
Syntax OK
#
ÇöÀç ¼¹ö°¡ °¡µ¿ ÁßÀÌ ¾Æ´Ï¹Ç·Î...
RPMÀ¸·Î ¼³Ä¡ÇßÀ» °æ¿ì,
#
# /etc/rc.d/init.d/httpd start
¼Ò½º·Î ÄÄÆÄÀÏÇÏ¿© ¼³Ä¡ÇßÀ» °æ¿ì
#
# /usr/local/apache/bin/apachectl start
#
¼¹ö°¡ Á¤»óÀûÀ¸·Î ½ÃÀ۵Ǹé
À¥ ºê¶ó¿ìÀú·Î Å×½ºÆ®ÇØ º»´Ù.
¶ÇÇÑ,
»õ·Î¿î °èÁ¤À» Ãß°¡ÇÏ¿© Á¦´ë·Î ÀÛµ¿ÇÏ´ÂÁö È®ÀÎÇØ º¸½Ã±æ ¹Ù¶ø´Ï´Ù.
¿¹ :
http://san2.linux.ac.kr/
6. Á¶±×¸¶ÇÑ ÆÁ
ÇÊÀÚ´Â RedHat ¸®´ª½º ¿Ü¿¡ ´Ù·ê ÁÙ ¾Æ´Â ¸®´ª½º ¹èÆ÷º»Àº ¾ø´Ù.
µû¶ó¼ ´ÙÀ½¿¡ ³ª¿À´Â ÆÁÀº ´ç¿¬È÷ ·¹µåÇÞ ±âÁØÀÔ´Ï´Ù.
*ÆÁ1)
»ç¿ëÀÚ Ãß°¡½Ã ±âº» À¥ µð·ºÅ丮(public_html)¿Í index.html ÆÄÀÏ
»ç¿ëÀÚ "±âº» À¥ µð·ºÅ丮"¶ó ÇÔÀº ¾ÆÆÄÄ¡ ¼³Á¤ ÆÄÀÏ¿¡¼
UserDir Áö½ÃÀÚ¿¡ ÀÇÇؼ ¸í½ÃÇÑ µð·ºÅ丮¸¦ ¸»ÇÑ´Ù.
ÀϹÝÀûÀ¸·Î public_html À̳ª Public_html, wwwhome, html .... µîµîÀ¸·Î
¾ÆÆÄÄ¡ ¼¹ö °ü¸®ÀÚ°¡ ¼³Á¤Çϱ⠳ª¸§ÀÌ´Ù.
ÇÊÀÚÀÇ °æ¿ì´Â Public_htmlÀ¸·Î ¹Ù²Ù¾î »ç¿ëÇÑ´Ù.(´ë¹®ÀÚ P, ÇÊÀÚÀÇ ½À°ü)
#
# cat httpd.conf | grep UserDir
UserDir Public_html
#
µû¶ó¼ ´ÙÀ½°ú °°ÀÌ À̸§À» ¹Ì¸® ¹Ù²Ù¾î ³õÀ½À¸·Î½á ´ÙÀ½ °èÁ¤ Ãß°¡½Ã ÀÚµ¿ÀûÀ¸·Î
UserDir°ú ¸Âµµ·Ï ¼³Á¤ÇÑ´Ù.
#
# cd /etc/skel
# ls -hl
total 12k
drwxr-xr-x 5 root root 4.0k Feb 24 03:34 Desktop/
drwx------ 2 root root 4.0k Jun 8 1999 Mail/
drwx------ 2 root root 4.0k Feb 25 01:54 public_html/
#
# mv public_html Public_html
#
# chmod 701 Public_html
#
# ls -hl
total 12k
drwxr-xr-x 5 root root 4.0k Feb 24 03:34 Desktop/
drwx------ 2 root root 4.0k Jun 8 1999 Mail/
drwx-----x 2 root root 4.0k Feb 25 01:54 Public_html/
#
±× ´ÙÀ½ index.html ÆÄÀÏÀº ¾ÆÆÄÄ¡ ¼³Á¤ÆÄÀÏ¿¡¼ DirectoryIndex Áö½ÃÀÚ¿¡ ÀÇÇؼ
¸í½ÃµÈ ¿ì¼±ÀûÀÎ ÆÄÀÏÀ» ÀǹÌÇÑ´Ù.
Áï,(¸®´ª½º Ãʺ¸ÀÚ¿¡ ÇØ´çµÇ´Â ¼³¸í) À¥¿¡¼ ƯÁ¤ µð·ºÅ丮¿¡ Á¢±ÙÇÒ °æ¿ì ÀÚµ¿À¸·Î
º¸¿©ÁÖ´Â ¹®¼¸¦ ¸»ÇÕ´Ï´Ù.
DirectoryIndex index.html index.htm index.php3 index.cgi index.phtml index.shtml
µû¶ó¼ ÇÊÀÚ´Â ´ÙÀ½°ú °°ÀÌ ¹Ì¸® index.html ÆÄÀÏÀ» »ý¼ºÇØ ÁÖ¾ú´Ù.
#
# pwd
/etc/skel
# cd P* (¶Ç´Â cd Public_html)
# pico index.html (¶Ç´Â index.php)
# cat index.html --------------------------------------------------------------
<?
//$server_name = "$SERVER_NAME";
//$http_host = "$HTTP_HOST";
//$user = eregi_replace(".$server_name", "", $http_host);
$user = eregi_replace(".$SERVER_NAME", "", $HTTP_HOST);
?>
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-KR">
<title>welcome to <? echo $user ?> HomePage !!!</title>
</head>
<body bgcolor=white>
<p>
<p>
<center> <font color=blue size=3> ȯ¿µÇÕ´Ï´Ù.</font>
<br>
¿©±â´Â
<a href=mailto:<? echo $user ?>@<? echo $SERVER_NAME ?>>
<? echo $user ?></a>
ÀÇ È¨ÆäÀÌÁö ÀÔ´Ï´Ù.
<p>http://<? echo $HTTP_HOST ?>
</body>
</html>
----------------------------------------------------------------------------------
¹°·Ð, DB¸¦ »ç¿ëÇÏ¿© »ç¿ëÀÚ À̸§À» ±ò²ûÇÏ°Ô Ç¥½ÃÇÏ¸é ±Ý»ó÷ÈÀÌ°ÚÁö¿ä...
ÇÊÀÚ°¡ À¥ ÇÁ·Î±×·¥¿¡ ´ëÇؼ °ÅÀÇ ¸Í~~ ¼öÁØÀÌ¶ó¼ °íÀÛ USER(»ç¿ëÀÚ)¸¦ Ç¥½ÃÇÑ´Ù´Â °ÍÀÌ
ÀÌ Á¤µµ ¼öÁعۿ¡...........T.T(Á˼Û)
*ÆÁ2)
»ç¿ëÀÚ È¨µð·ºÅ丮 Æ۹̼Ç
·¹µåÇÞ ¸®´ª½º´Â »ç¿ëÀÚ¸¦ »õ·Î Ãß°¡ÇÒ °æ¿ì ±âº» Æ۹̼ÇÀº 700 ÀÌ´Ù.
Áï »ç¿ëÀÚ(¼ÒÀ¯ÀÚ)¸¸ Àбâ/¾²±â/½ÇÇàÇϵµ·Ï µð·ºÅ丮 Æ۹̼ÇÀÌ ÁÖ¾îÁø´Ù.
µû¶ó¼ ´ç¿¬È÷,
À¥µð·ºÅ丮(Public_html) Æ۹̼ÇÀÌ 701, 755ÀÌ´ÙÇÏ´õ¶óµµ »ç¿ëÀÚ È¨µð·ºÅ丮 Æ۹̼ÇÀÌ
700À̹ǷΠÀ¥¿¡¼´Â Á¢±ÙÇÒ ¼ö ¾ø´Ù.
±×·¸±â ¶§¹®¿¡ »ç¿ëÀÚ Ãß°¡½Ã ÀÚµ¿ÀûÀ¸·Î 701 Á¤µµÀÇ Æ۹̼ÇÀÌ µÇµµ·Ï ¼³Á¤ÇØ Áִ°Í
ÇÑ°¡Áö ¹æ¹ýÀεí ÇÏ´Ù.
¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.
# ls /etc/login*
/etc/login.defs
#
# pico /etc/login.defs
-----/etc/login.defs -------------------------------------------------------------
...
...
# Á¦ÀÏ ¸¶Áö¸·ÁÙÀ̳ª Àû´çÇÑ À§Ä¡¿¡ ´ÙÀ½ ÇÑÁÙÀ» Ãß°¡ÇÑ´Ù.
UMASK 076
-----------------------------------------------------------------------------------
ÀÌÁ¦ »õ·Î Ãß°¡ÇÒ »ç¿ëÀÚ µð·ºÅ丮 Æ۹̼ÇÀº 701ÀÌ µÉ°ÍÀÌ´Ù.
Âü°í·Î Æ۹̼ÇÀÌ 755°¡ µÇ°ÔÇÏ·Á¸é "UMASK 022"À¸·Î ¼öÁ¤ÇÑ´Ù.
7. ¸¶Ä¡¸ç
¸Å¹ø(?) ±ÛÀ» ¾µ¶§¸¶´Ù ´À³¦Á¡ÀÌ ÀÖ´Ù¸é, ¿ª½Ã ±ÛÀ» ¾´´Ù´Â °ÍÀº ÇÑÆíÀ¸·Î Áñ°Ì±âµµ
ÇÏ¸é¼ ÇÑÆíÀ¸·Î´Â Á¦ ÀÚ½ÅÀ» ¾Ö¼®ÇÏ°Ô ¸¸µé´õ±º¿ä.
(Áö½ÄÀÇ ÇÑ°è·Î ÀÎÇÑ "²þ²þ°Å¸² = Å°º¸µå À§¿¡ ½×ÀÎ ¸Ó¸®Ä«¶ô)
±ÞÇÏ°Ô(?) Å×½ºÆ®ÇÏ°í ¿Ã¸° ³»¿ëÀÌ¶ó¼ ¿ÀŸ ¹× À߸øµÈ ¼³Á¤ÀÌ ÀÖÀ¸¸®¶ó »ý°¢µË´Ï´Ù.
À߸øµÈ Á¡ÀÌ ÀÖÀ¸¸é ÁöÀûÇØ ÁÖ¼ÌÀ¸¸é °¨»çÇÏ°Ú½À´Ï´Ù.
...
ÀÌ ¹®¼´Â ¾î´À ´©±¸µµ Àüü ¶Ç´Â ºÎºÐÀ» º¹Á¦ ¹× ¼öÁ¤Çؼ Àç¹èÆ÷ÇÒ ¼ö ÀÖÀ¸¸ç
ÀÚ½ÅÀÇ È¨ÆäÀÌÁö¿¡ ¸µÅ© ¶Ç´Â ÀÚ½ÅÀÇ È¨ÆäÀÌÁö¿¡ ¿Ã·Á³õ¾Æµµ »ó°ü¾ø½À´Ï´Ù.
¶ÇÇÑ »ó¾÷ÀûÀ¸·Î ÀÌ¿ëÇÒ °èȹÀÌ¶óµµ º» ÇÊÀÚ¿¡°Ô ¹®ÀÇ ¸ÞÀϾøÀÌ »ç¿ëÇÒ ¼ö
ÀÖ½À´Ï´Ù
Áï,
ÀÌ ¹®¼¿¡ ´ëÇؼ´Â »ç¿ë»ó ¾î¶°ÇÑ Á¦ÇÑÀÌ ¾øÀ½À» ¾Ë·Áµå¸³´Ï´Ù.
¿øÀÛ¼ºÀÚ¸¦ Ç¥±âÇÏÁö ¾Ê¾Æµµ »ó°ü¾øÀ¸¸ç, ÇÊ¿äÇÏ´Ù°í »ý°¢µÇ¸é ¿øÀÛ¼ºÀÚ¸¦
Ç¥±âÇصµ »ó°ü¾ø½À´Ï´Ù.
´Ü,
»ç¿ë»óÀÇ ¹®Á¦Á¡µîÀ¸·Î ÇÇÇظ¦ ÀÖ¾úÀ» °æ¿ì, º»Àο¡°Ô ¾î¶°ÇÑ ¹ý·üÀûÀΠåÀÓÀÌ
¾øÀ½À» ¹Ì¸® °øÁöÇÏ´Â ¹ÙÀÔ´Ï´Ù.
..
º» ¹®¼ÀÇ º¸¿ÏÀ̳ª À߸øµÈ Á¡ÀÌ ÀÖÀ¸¸é
¾Æ·¡ÀÇ º»ÀÎÀÇ È¨ÆäÀÌÁö Áú¹®°ú ´äº¯¶õ °Ô½ÃÆÇÀ» ÀÌ¿ëÇØ ÁÖ¼ÌÀ¸¸é °í¸¿°Ú½À´Ï´Ù.
http://www.linuxchannel.net/
³¡±îÁö Àоî Áּż °¨»çÇÕ´Ï´Ù.
--------end------------------------------------------------------------------------
|
|
Page Loading [ 0.07 Sec ]
SQL Time [ 0 Sec ]
|
|
|