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:1174747 (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="apachectl.xml.meta">
24 <parentdocument href="./">Programs</parentdocument>
26 <title>apachectl - ¾ÆÆÄÄ¡ À¥¼¹ö Á¶Àý ÀÎÅÍÆäÀ̽º</title>
29 <p><code>apachectl</code>Àº ¾ÆÆÄÄ¡ ÇÏÀÌÆÛÅؽºÆ® Àü¼Û
30 ÇÁ·ÎÅäÄÝ (HTTP) ¼¹öÀÇ ¾Õ´ÜÀÌ´Ù. ÀÌ ÇÁ·Î±×·¥Àº °ü¸®ÀÚ°¡
31 ¾ÆÆÄÄ¡ <a href="httpd.html">httpd</a> µ¥¸óÀ» Á¶Á¤Çϵµ·Ï
34 <p><code>apachectl</code> ½ºÅ©¸³Æ®´Â µÎ°¡Áö ¹æ¹ýÀ¸·Î ½ÇÇàÇÑ´Ù.
35 ù¹ø° ¹æ¹ýÀº <code>httpd</code>À» ºÎ¸£´Â °£´ÜÇÑ ½ºÅ©¸³Æ®
36 ¿ªÇÒÀ» ÇÏ¿©, ÇÊ¿äÇÑ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÏ°í ¹ÞÀº ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦
37 °¡Áö°í <code>httpd</code>¸¦ ½ÇÇàÇÑ´Ù. µÎ¹ø° ¹æ¹ýÀº
38 <code>apachectl</code>¸¦ SysV init ½ºÅ©¸³Æ®·Î »ç¿ëÇÏ¿©,
39 <code>start</code>, <code>restart</code>, <code>stop</code>
40 °°Àº ÇÑ´Ü¾î ¾Æ±Ô¸ÕÆ®¸¦ ¹Þ¾Æ¼ <code>httpd</code>¿¡°Ô
41 ÀûÀýÇÑ ½ÅÈ£¸¦ º¸³½´Ù.</p>
43 <p>¾ÆÆÄÄ¡¸¦ ÀϹÝÀûÀÎ °æ·Î¿¡ ¼³Ä¡ÇÏÁö ¾Ê¾Ò´Ù¸é, ÀûÀýÇÑ
44 <code>httpd</code> °æ·Î·Î <code>apachectl</code> ½ºÅ©¸³Æ®¸¦
45 ¼öÁ¤ÇØ¾ß ÇÑ´Ù. ¶Ç, <code>httpd</code> ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦
46 Ãß°¡·Î ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ½ºÅ©¸³Æ®ÀÇ ÁÖ¼®À»
49 <p><code>apachectl</code> ½ºÅ©¸³Æ®´Â ¼º°ø½Ã Á¾·áÄÚµå 0À»,
50 ¿À·ù½Ã >0À» ¹ÝȯÇÑ´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ½ºÅ©¸³Æ®ÀÇ ÁÖ¼®À»
53 <seealso><a href="../invoking.html">¾ÆÆÄÄ¡ ½ÃÀÛ</a></seealso>
54 <seealso><a href="../stopping.html">¾ÆÆÄÄ¡ Áß´Ü</a></seealso>
55 <seealso><a href="../configuring.html">¼³Á¤ÆÄÀÏ</a></seealso>
56 <seealso><a href="../platform/">Ç÷¡Æû ¹®¼</a></seealso>
57 <seealso><a href="httpd.html">httpd</a></seealso>
59 <section id="synopsis"><title>°³¿ä</title>
61 <p>°£´ÜÇÑ ½ÇÇà ½ºÅ©¸³Æ®·Î µ¿ÀÛÇϸé, <code>apachectl</code>Àº
62 <a href="httpd.html">httpd</a> ½ÇÇàÆÄÀÏÀÇ ¸ðµç ¾Æ±Ô¸ÕÆ®¸¦ ¹Þ´Â´Ù.</p>
64 <p><code><strong>apachectl</strong> [ <var>httpd-argument</var> ]</code></p>
66 <p>SysV init ¹æ½ÄÀ¸·Î µ¿ÀÛÇϸé, <code>apachectl</code>Àº ¾Æ·¡¼
67 ¼³¸íÇÒ °£´ÜÇÑ ÇÑ´Ü¾î ¸í·É¾î¸¦ ¹Þ´Â´Ù.</p>
69 <p><code><strong>apachectl</strong> <var>command</var></code></p>
73 <section id="options"><title>¿É¼Ç</title>
75 <p>¿©±â¼´Â SysV init-½Ä ¿É¼Ç¸¸ ¼³¸íÇÑ´Ù. ´Ù¸¥ ¿É¼ÇÀº <a
76 href="httpd.html">httpd</a> manpage¿¡¼ ¼³¸íÇÑ´Ù.</p>
80 <dt><code>start</code></dt>
82 <dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» ½ÃÀÛÇÑ´Ù. ÀÌ¹Ì ½ÇÇàÁßÀ̶ó¸é
83 ¿À·ù¸¦ ³½´Ù. <code>apachectl -k start</code>¿Í °°´Ù.</dd>
85 <dt><code>stop</code></dt>
87 <dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Áß´ÜÇÑ´Ù. <code>apachectl
88 -k stop</code>°ú °°´Ù.</dd>
90 <dt><code>restart</code></dt>
92 <dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Àç½ÃÀÛÇÑ´Ù. µ¥¸óÀÌ ½ÇÇàÁßÀÌ
93 ¾Æ´Ï¶ó¸é, ½ÃÀÛÇÑ´Ù. µ¥¸óÀÌ Àç½ÃÀ۽à ½ÇÆÐÇÏÁö ¾ÊÀ½À» È®ÀÎÇϱâÀ§ÇØ
94 Àç½ÃÀÛ Àü¿¡ ÀÚµ¿À¸·Î <code>configtest</code> ¸í·É°ú °°ÀÌ ¼³Á¤ÆÄÀÏÀ»
95 °Ë»çÇÑ´Ù. <code>apachectl -k restart</code>¿Í °°´Ù.</dd>
97 <dt><code>fullstatus</code></dt>
99 <dd><module>mod_status</module>ÀÇ ¸ðµç »óÅ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù.
100 ÀÌ ¸í·ÉÀ» »ç¿ëÇϱâÀ§Çؼ´Â ¼¹ö°¡ <module>mod_status</module>¸¦
101 »ç¿ëÇÏ°í, ½Ã½ºÅÛ¿¡ <code>lynx</code> °°Àº ¹®ÀÚ±â¹Ý ºê¶ó¿ìÀú°¡
102 ÇÊ¿äÇÏ´Ù. »óÅ Á¤º¸¿¡ Á¢±ÙÇÏ´Â URLÀº ½ºÅ©¸³Æ®ÀÇ
103 <code>STATUSURL</code> º¯¼ö¸¦ ¼öÁ¤ÇÏ¿© ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.</dd>
105 <dt><code>status</code></dt>
107 <dd>°£´ÜÇÑ »óÅ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. <code>fullstatus</code> ¿É¼Ç°ú
108 ºñ½ÁÇÏÁö¸¸, ÇöÀç ¼ºñ½ºÁßÀÎ ¿äû ¸ñ·ÏÀ» Ãâ·ÂÇÏÁö ¾Ê´Â´Ù.</dd>
110 <dt><code>graceful</code></dt>
112 <dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Á¡ÀÝ°Ô(gracefully) Àç½ÃÀÛÇÑ´Ù.
113 µ¥¸óÀÌ ½ÇÇàÁßÀÌ ¾Æ´Ï¶ó¸é, ½ÃÀÛÇÑ´Ù. ÀϹÝÀûÀÎ Àç½ÃÀÛ°ú ´Þ¸® ÇöÀç
114 ¿·ÁÀÖ´Â ¿¬°áÀ» ²÷Áö¾Ê´Â´Ù. ¶Ç, ÀÌÀü ·Î±×ÆÄÀÏÀ» Áï½Ã ´ÝÁö ¾Ê´Â´Ù.
115 Áï, ·Î±×¼øȯ ½ºÅ©¸³Æ®¿¡¼ ÀÌ ¸í·ÉÀ» »ç¿ëÇÑ´Ù¸é, ÀÌÀü ·Î±×ÆÄÀÏÀ»
116 ó¸®ÇϱâÀü¿¡ ·Î±×ÆÄÀÏÀ» ´ÝÇûÀ½À» º¸ÀåÇϱâÀ§ÇØ »ó´çÈ÷ ±â´Ù·Á¾ß
117 ÇÑ´Ù. ¾ÆÆÄÄ¡°¡ Àç½ÃÀ۽à ½ÇÆÐÇÏÁö ¾ÊÀ½À» È®ÀÎÇϱâÀ§ÇØ Àç½ÃÀÛ
118 Àü¿¡ ÀÚµ¿À¸·Î <code>configtest</code> ¸í·É°ú °°ÀÌ ¼³Á¤ÆÄÀÏÀ»
119 °Ë»çÇÑ´Ù. <code>apachectl -k graceful</code>°ú °°´Ù.</dd>
121 <dt><code>configtest</code></dt>
123 <dd>¼³Á¤ÆÄÀÏÀÇ ¹®¹ýÀ» °Ë»çÇÑ´Ù. ¼³Á¤ÆÄÀÏÀ» Àаí <code>Syntax
124 Ok</code> ȤÀº ƯÁ¤ ¼³Á¤¿À·ù¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾Ë·ÁÁØ´Ù.
125 <code>apachectl -t</code>¿Í °°´Ù.</dd>
129 <p>¾Æ·¡ ¿É¼ÇÀ» »ç¿ëÇÒ ¼ö ÀÖÁö¸¸, ¾ÕÀ¸·Î »ç¶óÁú °ÍÀÌ´Ù.</p>
133 <dt><code>startssl</code></dt>
135 <dd><code>apachectl -k start -DSSL</code>°ú °°´Ù. ¿ì¸®´Â Á÷Á¢
136 ¾ÕÀÇ ¸í·É¾î¸¦ »ç¿ëÇϰųª Ç×»ó SSLÀ» »ç¿ëÇϵµ·Ï
137 <code>httpd.conf</code>¿¡¼ <directive module="core"
138 type="section">IfDefine</directive> ¼½¼ÇÀ» Á¦°ÅÇÏ±æ ±ÇÇÑ´Ù.</dd>