<-
Apache > HTTP Server > Documentation > Programs

apache2ctl - ÄÄ À¥ö ÁÀý ÀÎÅÍäÀÌ 245x4m

ƢÉÇÑ î:  tr 

ÀÌ Â ÃÖÅÇ ÀÌ ÕÏÙ. ÃÖÙ ¯ƩµÈ »ëÀ µî ¦ ÂüíÇÏä.

apache2ctlÀ ÄÄ ÇÏÀÌÛÅ ÀüÛ ÇÁÎÅäÄÝ (HTTP) öÀÇ ÕÜÀÌÙ. ÀÌ ÇÁÎ¥À üÀÚƢ ÄÄ httpd µ¥óÀ» ÁÁÇϵµÏ µÂÙ.

apache2ctl Å©碥 µÎƢÁö ýÀÎ ÇÇàÇÑÙ. àýÀ httpdÀ» Σ £ÜÇÑ Å© ÇÒÀ» ÇÏ©, ÇÊäÇÑ È¯Ʃ¯ö¦ ÁÇÏí À íÉÇà ÔÕ碬¦ ƢÁöí httpd¦ ÇÇàÇÑÙ. µÎ ýÀ apache2ctl¦ SysV init Å©硤Î »çëÇÏ©, start, restart, stop ơÀ ÇÑÜî ÔÕ碬¦ httpdÔ ÀûÀýÇÑ ÅÈ£¦ Ù.

ÄĦ ÀÏÝÀûÀÎ ƩÎ ÄÇÏÁö ÊÒÙé, ÀûÀýÇÑ httpd ƩÎÎ apache2ctl Å©碬¦ öÁÇ ÇÑÙ. Ç, httpd íÉÇà ÔÕ碬¦ ÃƢÎ ÁöÁÇÒ ö ÀÖÙ. ÀÚÇÑ »ëÀ Å©ÀÇ ÁÖÀ» ÂüíÇÏó.

apache2ctl Å©碥 Ʃà ÁáÄÚµå 0À», Àùà >0À» ÝȯÇÑÙ. ÀÚÇÑ »ëÀ Å©ÀÇ ÁÖÀ» ÂüíÇÏó.

 Apache!

Âüí 251y31

top

Ʃä 2e5h2r

£ÜÇÑ ÇÇà Å©硤Î µÀÛÇÏé, apache2ctlÀ httpd ÇÇàÄÀÏÀÇ µç ÔÕ碬¦ ÂÙ.

apache2ctl [ httpd-argument ]

SysV init ÄÀÎ µÀÛÇÏé, apache2ctlÀ íÇÒ £ÜÇÑ ÇÑÜî íÉî¦ ÂÙ.

apache2ctl command

top

ÉÇ 5p4j1x

©â SysV init-Ä ÉÇ íÇÑÙ. Ù¥ ÉÇÀ httpd manpage íÇÑÙ.

start
ÄÄ httpd µ¥óÀ» ÃÀÛÇÑÙ. ÀÌÌ ÇÇàÁÀÌóé Àù¦ Ù. apache2ctl -k startÍ ơƢÙ.
stop
ÄÄ httpd µ¥óÀ» ÁÜÇÑÙ. apache2ctl -k stopú ơƢÙ.
restart
ÄÄ httpd µ¥óÀ» ÀçÃÀÛÇÑÙ. µ¥óÀÌ ÇÇàÁÀÌ Ïóé, ÃÀÛÇÑÙ. µ¥óÀÌ ÀçÃÀÛà ÇÇÏÁö ÊÀÀ» ÈÀÎÇÏâÀÇ ÀçÃÀÛ Àü ÀÚµÀÎ configtest íÉú ơÀÌ ÁÄÀÏÀ» Ë»çÇÑÙ. apache2ctl -k restartÍ ơƢÙ.
fullstatus
mod_status¦ »çëÇÏí, ÃÅÛ lynx ơÀ ÀÚâÝ êóìÀúƢ ÇÊäÇÏÙ. »óÅ Á Á¢ÙÇÏ URLÀ Å©ÀÇ STATUSURL ¯ö¦ öÁÇÏ© ÁÇÒ ö ÀÖÙ.
status
£ÜÇÑ »óÅ Á¦ ÃâÂÇÑÙ. fullstatus ÉÇú ñÁÇÏÁö, ÇöÀç ñÁÀÎ äû ñÏÀ» ÃâÂÇÏÁö ÊÂÙ.
graceful
ÄÄ httpd µ¥óÀ» ÁÀÝÔ(gracefully) ÀçÃÀÛÇÑÙ. µ¥óÀÌ ÇÇàÁÀÌ Ïóé, ÃÀÛÇÑÙ. ÀÏÝÀûÀÎ ÀçÃÀÛú ÇöÀç ÁÀÖ ¬áÀ» ÁöÊÂÙ. Ç, ÀÌÀü ÎÄÀÏÀ» Áïà ÝÁö ÊÂÙ. Áï, Îȯ Å©碯 ÀÌ íÉÀ» »çëÇÑÙé, ÀÌÀü ÎÄÀÏÀ» ÃÇÏâÀü ÎÄÀÏÀ» ÝÇûÀÀ» ÀåÇÏâÀÇ »óçÈ âÙÁ ÇÑÙ. ÄÄƢ ÀçÃÀÛà ÇÇÏÁö ÊÀÀ» ÈÀÎÇÏâÀÇ ÀçÃÀÛ Àü ÀÚµÀÎ configtest íÉú ơÀÌ ÁÄÀÏÀ» Ë»çÇÑÙ. apache2ctl -k gracefulú ơƢÙ.
configtest
ÁÄÀÏÀÇ ýÀ» Ë»çÇÑÙ. ÁÄÀÏÀ» Àí Syntax Ok ÈÀ ¯Á ÁÀù ëÇÑ ÀÚÇÑ Á¦ ËÁÁÙ. apache2ctl -tÍ ơƢÙ.

ÉÇÀ» »çëÇÒ ö ÀÖÁö, ÕÀÎ »çóÁú ÍÀÌÙ.

startssl
apache2ctl -k start -DSSLú ơƢÙ. ì碥 ÁÁ¢ ÕÀÇ íÉî¦ »çëÇÏÅ Ç»ó SSLÀ» »çëÇϵµÏ apache2.conf <IfDefine> ÇÀ» Á¦ÅÇÏ ÇÇÑÙ.

ƢÉÇÑ î:  tr 

top

Comments 2p1l6j

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our s if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.