<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English revision: 1.2.2.5 -->

<!--
 Copyright 2003-2004 The Apache Software Foundation

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<manualpage metafile="invoking.xml.meta">

  <title>¾ÆÆÄÄ¡ ½ÃÀÛ</title>

<summary>
    <p>º¸Åë ¾ÆÆÄÄ¡´Â Windows NT, 2000, XP¿¡¼­´Â ¼­ºñ½º·Î,
    Windows 95°ú ME¿¡¼­´Â ÄÜ¼Ö ÇÁ·Î±×·¥À¸·Î ½ÇÇàµÈ´Ù. ÀÚ¼¼ÇÑ
    ³»¿ëÀº <a href="platform/windows.html#winsvc">¼­ºñ½º·Î
    ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇÏ±â</a>¿Í <a
    href="platform/windows.html#wincons">ÄÜ¼Ö ÇÁ·Î±×·¥À¸·Î
    ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇÏ±â</a>.</p>

    <p>À¯´Ð½º¿¡¼­ <a href="programs/httpd.html">httpd</a>
    ÇÁ·Î±×·¥Àº ¹é±×¶ó¿îµå¿¡¼­ °è¼Ó ¿äÃ»À» Ã³¸®ÇÏ´Â µ¥¸óÀ¸·Î
    ½ÇÇàµÈ´Ù. ÀÌ ¹®¼­´Â <code>httpd</code>¸¦ ½ÃÀÛÇÏ´Â ¹æ¹ýÀ»
    ¼³¸íÇÑ´Ù.</p>
</summary>

<seealso><a href="stopping.html">¾ÆÆÄÄ¡ Áß´Ü°ú Àç½ÃÀÛ</a></seealso>
<seealso><a href="programs/httpd.html">httpd</a></seealso>
<seealso><a href="programs/apachectl.html">apachectl</a></seealso>

<section id="startup"><title>¾î¶»°Ô ¾ÆÆÄÄ¡°¡ ½ÃÀÛÇÏ³ª</title>

    <p>¼³Á¤ÆÄÀÏ¿¡¼­ <directive
    module="mpm_common">Listen</directive>ÀÌ ±âº»°ªÀÎ 80(È¤Àº
    1024ÀÌÇÏÀÇ ´Ù¸¥ Æ÷Æ®)ÀÌ¶ó¸é ÀÌ Æ¯±Ç Æ÷Æ®¿¡ ¿¬°áÇÏ±âÀ§ÇØ
    root ±ÇÇÑÀÌ ÇÊ¿äÇÏ´Ù. ¼­¹ö´Â ½ÃÀÛÇÏ¿© ·Î±×ÆÄÀÏÀ» ¿©´Â µîÀÇ
    ¸î¸î ±âÃÊÀûÀÎ ÀÛ¾÷À» ¸¶Ä£ÈÄ, Å¬¶óÀÌ¾ðÆ®ÀÇ ¿äÃ»À» ±â´Ù¸®°í
    ÀÀ´äÇÏ´Â <em>ÀÚ½Ä(child)</em> ÇÁ·Î¼¼½º¸¦ ¿©·¯°³ ¶ç¿î´Ù.
    ÁÖ <code>httpd</code> ÇÁ·Î¼¼½º´Â °è¼Ó root »ç¿ëÀÚ·Î ½ÇÇàµÇÁö¸¸,
    ÀÚ½Ä ÇÁ·Î¼¼½ºµéÀº ´õ ±ÇÇÑÀÌ ÀÛÀº »ç¿ëÀÚ·Î ½ÇÇàµÈ´Ù. ÀÌ´Â
    ¼±ÅÃÇÑ <a href="mpm.html">´ÙÁßÃ³¸® ¸ðµâ</a>·Î Á¶Á¤ÇÑ´Ù.</p>

    <p><a href="programs/apachectl.html">apachectl</a>
    ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¿© <code>httpd</code> ½ÇÇàÆÄÀÏÀ» ½ÃÀÛÇÏ±æ
    ±ÇÀåÇÑ´Ù. ÀÌ ½ºÅ©¸³Æ®´Â <code>httpd</code>°¡ ¸î¸î
    ¿î¿µÃ¼Á¦¿¡¼­ Á¤»óÀûÀ¸·Î µ¿ÀÛÇÏ±âÀ§ÇØ ÇÊ¿äÇÑ È¯°æº¯¼öµéÀ»
    ¼³Á¤ÇÏ°í <code>httpd</code> ½ÇÇàÆÄÀÏÀ» ½ÃÀÛÇÑ´Ù.
    <code>apachectl</code>Àº ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦ ±×´ë·Î ³Ñ±â±â¶§¹®¿¡,
    <code>httpd</code>ÀÇ ¾î¶² ¿É¼ÇÀÌ¶óµµ <code>apachectl</code>¿¡
    »ç¿ë°¡´ÉÇÏ´Ù. ¶Ç, <code>apachectl</code> ½ºÅ©¸³Æ®ÀÇ ¾ÕºÎºÐ¿¡
    ³ª¿À´Â <code>HTTPD</code> º¯¼ö¸¦ <code>httpd</code> ½ÇÇàÆÄÀÏÀÌ
    ÀÖ´Â À§Ä¡¿Í <em>Ç×»ó</em> »ç¿ëÇÒ ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®·Î Á÷Á¢
    ¼öÁ¤ÇÒ ¼ö ÀÖ´Ù.</p>

    <p><code>httpd</code>¸¦ ½ÇÇàÇÏ¸é ¸ÕÀú <a
    href="configuring.html">¼³Á¤ÆÄÀÏ</a> <code>httpd.conf</code>¸¦
    Ã£¾Æ¼­ ÀÐ´Â´Ù. ÀÌ ÆÄÀÏÀÇ À§Ä¡´Â ÄÄÆÄÀÏ Áß¿¡ ÁöÁ¤ÇÏ³ª, ½ÇÇà½Ã
    ´ÙÀ½°ú °°ÀÌ <code>-f</code> ¸í·ÉÇà ¿É¼ÇÀ¸·Î ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù.</p>

<example>/usr/local/apache2/bin/apachectl -f
      /usr/local/apache2/conf/httpd.conf</example>

    <p>½ÃÀÛÇÏ´Â °úÁ¤¿¡¼­ ¹®Á¦°¡ ¾ø´Ù¸é, ¼­¹ö´Â ÅÍ¹Ì³Î¿¡¼­
    ¶³¾îÁö°í ¸í·É ÇÁ·ÒÇÁÆ®°¡ °ÅÀÇ Áï½Ã ³ª¿À°ÔµÈ´Ù. ÀÌ´Â ¼­¹ö°¡
    ½ÇÇàµÊÀ» ÀÇ¹ÌÇÑ´Ù. ºê¶ó¿ìÀú·Î ¼­¹ö¿¡ ¿¬°áÇÏ¿© <directive
    module="core">DocumentRoot</directive> µð·ºÅä¸®¿¡ ÀÖ´Â
    Å×½ºÆ® ÆäÀÌÁö¿Í ±× ÆäÀÌÁö¿¡ ¸µÅ©µÈ (·ÎÄÃÄ«ÇÇ) ¼³¸í¼­¸¦ º¼
    ¼ö ÀÖ´Ù.</p>
</section>

<section id="errors"><title>½ÃÀÛÁß ¿À·ù</title>

    <p>¾ÆÆÄÄ¡°¡ ½ÃÀÛÇÏ´Â °úÁ¤Áß¿¡ ½É°¢ÇÑ ¹®Á¦°¡ ¹ß»ýÇÏ¸é,
    Á¾·áÇÏ±â Àü¿¡ ¹®Á¦¸¦ ¾Ë¸®´Â ¹®±¸¸¦ ÄÜ¼ÖÀÌ³ª <directive
    module="core">ErrorLog</directive>¿¡ ¾´´Ù. °¡Àå ÈçÇÑ ¿À·ù¹® Áß
    ÇÏ³ª´Â "<code>Unable to bind to Port ...</code>"ÀÌ´Ù.
    ÀÌ ¸Þ¼¼Áö´Â º¸Åë ´ÙÀ½ µÎ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù:</p>

    <ul>
      <li>root »ç¿ëÀÚ·Î ·Î±×ÀÎÇÏÁö ¾Ê°í Æ¯±Ç Æ÷Æ®¿¡ ¼­¹ö¸¦
      ½ÃÀÛÇÏ·Á ÇÑ °æ¿ì. È¤Àº</li>

      <li>ÀÌ¹Ì ¾ÆÆÄÄ¡³ª ´Ù¸¥ À¥¼­¹ö°¡ »ç¿ëÁßÀÎ Æ÷Æ®¿¡
      ¼­¹ö¸¦ ½ÃÀÛÇÏ·Á ÇÑ °æ¿ì.</li>
    </ul>

    <p>±âÅ¸ ¹®Á¦ÇØ°á ¹æ¹ýÀº ¾ÆÆÄÄ¡ <a href="faq/">FAQ</a>¸¦
    Âü°íÇÏ¶ó.</p>
</section>

<section id="boot"><title>ºÎÆÃÇÒ¶§ ½ÃÀÛÇÏ±â</title>

    <p>½Ã½ºÅÛÀÌ Àç½ÃÀÛÇÑ ÈÄ¿¡µµ ¼­¹ö°¡ °è¼Ó ½ÇÇàµÇ±æ ¹Ù¶õ´Ù¸é,
    ½Ã½ºÅÛ ½ÃÀÛÆÄÀÏ(º¸Åë <code>rc.local</code>ÀÌ³ª <code>rc.N</code>
    µð·ºÅä¸®¿¡ ÀÖ´Â ÆÄÀÏ)¿¡ <code>apachectl</code>À» Ãß°¡ÇØ¾ß
    ÇÑ´Ù. ÀÌ °æ¿ì ¾ÆÆÄÄ¡´Â root·Î ½ÃÀÛµÈ´Ù. ÀÌÀü¿¡ ¼­¹öÀÇ º¸¾ÈÀÌ³ª
    Á¢±Ù Á¦ÇÑ(ÆÄÀÏ±ÇÇÑ)ÀÌ ¿Ã¹Ù·Î ¼³Á¤µÇ¾ú´ÂÁö È®ÀÎÇÏ¶ó.</p>

    <p><code>apachectl</code>Àº Ç¥ÁØ SysV init ½ºÅ©¸³Æ®¿Í ºñ½ÁÇÏ°Ô
    µ¿ÀÛÇÏµµ·Ï ¸¸µé¾îÁ³´Ù. ½ºÅ©¸³Æ®´Â ¾Æ±Ô¸ÕÆ®·Î <code>start</code>,
    <code>restart</code>, <code>stop</code>À» ¹ÞÀ¸¸é °¢°¢ ÀûÀýÇÑ
    ½Ã±×³ÎÀ» <code>httpd</code>¿¡ º¸³½´Ù. ±×·¡¼­ º¸ÅëÀº
    <code>apachectl</code>À» ÀûÀýÇÑ init µð·ºÅä¸®·Î ¸µÅ©¸¦ °É¸éµÈ´Ù.
    ±×·¯³ª »ç¿ëÇÏ´Â ½Ã½ºÅÛÀÇ Á¤È®ÇÑ ¿ä±¸»çÇ×À» È®ÀÎÇÏ¶ó.</p>
</section>

<section id="info"><title>Ãß°¡ Á¤º¸</title>

    <p><a href="programs/httpd.html">httpd</a>¿Í <a
    href="programs/apachectl.html">apachectl</a>, ±âÅ¸ ¼­¹ö¿¡
    Æ÷ÇÔµÈ Áö¿ø ÇÁ·Î±×·¥µéÀÇ ¸í·ÉÇà ¿É¼ÇÀº
    <a href="programs/">¼­¹ö¿Í Áö¿ø ÇÁ·Î±×·¥</a> ÆäÀÌÁö¸¦
    Âü°íÇÏ¶ó. ¶Ç ¾ÆÆÄÄ¡ ¹èÆ÷º»¿¡´Â ¸ðµç <a href="mod/">¸ðµâ</a>°ú
    ±×µéÀÌ Á¦°øÇÏ´Â <a href="mod/directives.html">Áö½Ã¾î</a>¿¡
    ´ëÇÑ ¹®¼­°¡ ÀÖ´Ù.</p>
</section>

</manualpage>

