1 <?xml version='1.0' encoding='EUC-KR' ?>
2 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
4 <!-- English Revision: 105989:1044380 (outdated) -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <manualpage metafile="invoking.xml.meta">
25 <title>¾ÆÆÄÄ¡ ½ÃÀÛ</title>
28 <p>º¸Åë ¾ÆÆÄÄ¡´Â Windows NT, 2000, XP¿¡¼´Â ¼ºñ½º·Î,
29 Windows 95°ú ME¿¡¼´Â ÄÜ¼Ö ÇÁ·Î±×·¥À¸·Î ½ÇÇàµÈ´Ù. ÀÚ¼¼ÇÑ
30 ³»¿ëÀº <a href="platform/windows.html#winsvc">¼ºñ½º·Î
31 ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇϱâ</a>¿Í <a
32 href="platform/windows.html#wincons">ÄÜ¼Ö ÇÁ·Î±×·¥À¸·Î
33 ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇϱâ</a>.</p>
35 <p>À¯´Ð½º¿¡¼ <a href="programs/httpd.html">httpd</a>
36 ÇÁ·Î±×·¥Àº ¹é±×¶ó¿îµå¿¡¼ °è¼Ó ¿äûÀ» ó¸®ÇÏ´Â µ¥¸óÀ¸·Î
37 ½ÇÇàµÈ´Ù. ÀÌ ¹®¼´Â <code>httpd</code>¸¦ ½ÃÀÛÇÏ´Â ¹æ¹ýÀ»
41 <seealso><a href="stopping.html">¾ÆÆÄÄ¡ Áß´Ü°ú Àç½ÃÀÛ</a></seealso>
42 <seealso><a href="programs/httpd.html">httpd</a></seealso>
43 <seealso><a href="programs/apachectl.html">apachectl</a></seealso>
45 <section id="startup"><title>¾î¶»°Ô ¾ÆÆÄÄ¡°¡ ½ÃÀÛÇϳª</title>
47 <p>¼³Á¤ÆÄÀÏ¿¡¼ <directive
48 module="mpm_common">Listen</directive>ÀÌ ±âº»°ªÀÎ 80(ȤÀº
49 1024ÀÌÇÏÀÇ ´Ù¸¥ Æ÷Æ®)À̶ó¸é ÀÌ Æ¯±Ç Æ÷Æ®¿¡ ¿¬°áÇϱâÀ§ÇØ
50 root ±ÇÇÑÀÌ ÇÊ¿äÇÏ´Ù. ¼¹ö´Â ½ÃÀÛÇÏ¿© ·Î±×ÆÄÀÏÀ» ¿©´Â µîÀÇ
51 ¸î¸î ±âÃÊÀûÀÎ ÀÛ¾÷À» ¸¶Ä£ÈÄ, Ŭ¶óÀ̾ðÆ®ÀÇ ¿äûÀ» ±â´Ù¸®°í
52 ÀÀ´äÇÏ´Â <em>ÀÚ½Ä(child)</em> ÇÁ·Î¼¼½º¸¦ ¿©·¯°³ ¶ç¿î´Ù.
53 ÁÖ <code>httpd</code> ÇÁ·Î¼¼½º´Â °è¼Ó root »ç¿ëÀÚ·Î ½ÇÇàµÇÁö¸¸,
54 ÀÚ½Ä ÇÁ·Î¼¼½ºµéÀº ´õ ±ÇÇÑÀÌ ÀÛÀº »ç¿ëÀÚ·Î ½ÇÇàµÈ´Ù. ÀÌ´Â
55 ¼±ÅÃÇÑ <a href="mpm.html">´ÙÁßó¸® ¸ðµâ</a>·Î Á¶Á¤ÇÑ´Ù.</p>
57 <p><a href="programs/apachectl.html">apachectl</a>
58 ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¿© <code>httpd</code> ½ÇÇàÆÄÀÏÀ» ½ÃÀÛÇϱæ
59 ±ÇÀåÇÑ´Ù. ÀÌ ½ºÅ©¸³Æ®´Â <code>httpd</code>°¡ ¸î¸î
60 ¿î¿µÃ¼Á¦¿¡¼ Á¤»óÀûÀ¸·Î µ¿ÀÛÇϱâÀ§ÇØ ÇÊ¿äÇÑ È¯°æº¯¼öµéÀ»
61 ¼³Á¤ÇÏ°í <code>httpd</code> ½ÇÇàÆÄÀÏÀ» ½ÃÀÛÇÑ´Ù.
62 <code>apachectl</code>Àº ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦ ±×´ë·Î ³Ñ±â±â¶§¹®¿¡,
63 <code>httpd</code>ÀÇ ¾î¶² ¿É¼ÇÀÌ¶óµµ <code>apachectl</code>¿¡
64 »ç¿ë°¡´ÉÇÏ´Ù. ¶Ç, <code>apachectl</code> ½ºÅ©¸³Æ®ÀÇ ¾ÕºÎºÐ¿¡
65 ³ª¿À´Â <code>HTTPD</code> º¯¼ö¸¦ <code>httpd</code> ½ÇÇàÆÄÀÏÀÌ
66 ÀÖ´Â À§Ä¡¿Í <em>Ç×»ó</em> »ç¿ëÇÒ ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®·Î Á÷Á¢
69 <p><code>httpd</code>¸¦ ½ÇÇàÇÏ¸é ¸ÕÀú <a
70 href="configuring.html">¼³Á¤ÆÄÀÏ</a> <code>httpd.conf</code>¸¦
71 ã¾Æ¼ Àд´Ù. ÀÌ ÆÄÀÏÀÇ À§Ä¡´Â ÄÄÆÄÀÏ Áß¿¡ ÁöÁ¤Çϳª, ½ÇÇà½Ã
72 ´ÙÀ½°ú °°ÀÌ <code>-f</code> ¸í·ÉÇà ¿É¼ÇÀ¸·Î ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù.</p>
74 <example>/usr/local/apache2/bin/apachectl -f
75 /usr/local/apache2/conf/httpd.conf</example>
77 <p>½ÃÀÛÇÏ´Â °úÁ¤¿¡¼ ¹®Á¦°¡ ¾ø´Ù¸é, ¼¹ö´Â Å͹̳ο¡¼
78 ¶³¾îÁö°í ¸í·É ÇÁ·ÒÇÁÆ®°¡ °ÅÀÇ Áï½Ã ³ª¿À°ÔµÈ´Ù. ÀÌ´Â ¼¹ö°¡
79 ½ÇÇàµÊÀ» ÀǹÌÇÑ´Ù. ºê¶ó¿ìÀú·Î ¼¹ö¿¡ ¿¬°áÇÏ¿© <directive
80 module="core">DocumentRoot</directive> µð·ºÅ丮¿¡ ÀÖ´Â
81 Å×½ºÆ® ÆäÀÌÁö¿Í ±× ÆäÀÌÁö¿¡ ¸µÅ©µÈ (·ÎÄÃÄ«ÇÇ) ¼³¸í¼¸¦ º¼
85 <section id="errors"><title>½ÃÀÛÁß ¿À·ù</title>
87 <p>¾ÆÆÄÄ¡°¡ ½ÃÀÛÇÏ´Â °úÁ¤Áß¿¡ ½É°¢ÇÑ ¹®Á¦°¡ ¹ß»ýÇϸé,
88 Á¾·áÇϱâ Àü¿¡ ¹®Á¦¸¦ ¾Ë¸®´Â ¹®±¸¸¦ ÄܼÖÀ̳ª <directive
89 module="core">ErrorLog</directive>¿¡ ¾´´Ù. °¡Àå ÈçÇÑ ¿À·ù¹® Áß
90 Çϳª´Â "<code>Unable to bind to Port ...</code>"ÀÌ´Ù.
91 ÀÌ ¸Þ¼¼Áö´Â º¸Åë ´ÙÀ½ µÎ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù:</p>
94 <li>root »ç¿ëÀÚ·Î ·Î±×ÀÎÇÏÁö ¾Ê°í Ư±Ç Æ÷Æ®¿¡ ¼¹ö¸¦
95 ½ÃÀÛÇÏ·Á ÇÑ °æ¿ì. ȤÀº</li>
97 <li>ÀÌ¹Ì ¾ÆÆÄÄ¡³ª ´Ù¸¥ À¥¼¹ö°¡ »ç¿ëÁßÀÎ Æ÷Æ®¿¡
98 ¼¹ö¸¦ ½ÃÀÛÇÏ·Á ÇÑ °æ¿ì.</li>
101 <p>±âŸ ¹®Á¦ÇØ°á ¹æ¹ýÀº ¾ÆÆÄÄ¡ <a href="faq/">FAQ</a>¸¦
105 <section id="boot"><title>ºÎÆÃÇÒ¶§ ½ÃÀÛÇϱâ</title>
107 <p>½Ã½ºÅÛÀÌ Àç½ÃÀÛÇÑ ÈÄ¿¡µµ ¼¹ö°¡ °è¼Ó ½ÇÇàµÇ±æ ¹Ù¶õ´Ù¸é,
108 ½Ã½ºÅÛ ½ÃÀÛÆÄÀÏ(º¸Åë <code>rc.local</code>À̳ª <code>rc.N</code>
109 µð·ºÅ丮¿¡ ÀÖ´Â ÆÄÀÏ)¿¡ <code>apachectl</code>À» Ãß°¡Çؾß
110 ÇÑ´Ù. ÀÌ °æ¿ì ¾ÆÆÄÄ¡´Â root·Î ½ÃÀ۵ȴÙ. ÀÌÀü¿¡ ¼¹öÀÇ º¸¾ÈÀ̳ª
111 Á¢±Ù Á¦ÇÑ(ÆÄÀϱÇÇÑ)ÀÌ ¿Ã¹Ù·Î ¼³Á¤µÇ¾ú´ÂÁö È®ÀÎÇ϶ó.</p>
113 <p><code>apachectl</code>Àº Ç¥ÁØ SysV init ½ºÅ©¸³Æ®¿Í ºñ½ÁÇÏ°Ô
114 µ¿ÀÛÇϵµ·Ï ¸¸µé¾îÁ³´Ù. ½ºÅ©¸³Æ®´Â ¾Æ±Ô¸ÕÆ®·Î <code>start</code>,
115 <code>restart</code>, <code>stop</code>À» ¹ÞÀ¸¸é °¢°¢ ÀûÀýÇÑ
116 ½Ã±×³ÎÀ» <code>httpd</code>¿¡ º¸³½´Ù. ±×·¡¼ º¸ÅëÀº
117 <code>apachectl</code>À» ÀûÀýÇÑ init µð·ºÅ丮·Î ¸µÅ©¸¦ °É¸éµÈ´Ù.
118 ±×·¯³ª »ç¿ëÇÏ´Â ½Ã½ºÅÛÀÇ Á¤È®ÇÑ ¿ä±¸»çÇ×À» È®ÀÎÇ϶ó.</p>
121 <section id="info"><title>Ãß°¡ Á¤º¸</title>
123 <p><a href="programs/httpd.html">httpd</a>¿Í <a
124 href="programs/apachectl.html">apachectl</a>, ±âŸ ¼¹ö¿¡
125 Æ÷ÇÔµÈ Áö¿ø ÇÁ·Î±×·¥µéÀÇ ¸í·ÉÇà ¿É¼ÇÀº
126 <a href="programs/">¼¹ö¿Í Áö¿ø ÇÁ·Î±×·¥</a> ÆäÀÌÁö¸¦
127 Âü°íÇ϶ó. ¶Ç ¾ÆÆÄÄ¡ ¹èÆ÷º»¿¡´Â ¸ðµç <a href="mod/">¸ðµâ</a>°ú
128 ±×µéÀÌ Á¦°øÇÏ´Â <a href="mod/directives.html">Áö½Ã¾î</a>¿¡
129 ´ëÇÑ ¹®¼°¡ ÀÖ´Ù.</p>