Apache HTTP Server Version 2.4
apachectl
�� ����ġ �������ؽ�Ʈ ����
�������� (HTTP) ������ �մ��̴�. �� ���α��� �����ڰ�
����ġ httpd ������ �����ϵ���
���´�.
apachectl
��ũ��Ʈ�� �ΰ��� ������� �����Ѵ�.
ù��° ����� httpd
�� �θ��� ������ ��ũ��Ʈ
������ �Ͽ�, �ʿ��� ȯ�溯���� �����ϰ� ���� ������ �ƱԸ�Ʈ��
������ httpd
�� �����Ѵ�. �ι�° �����
apachectl
�� SysV init ��ũ��Ʈ�� ����Ͽ�,
start
, restart
, stop
���� �Ѵܾ� �ƱԸ�Ʈ�� �Ƽ� httpd
����
������ ��ȣ�� ������.
����ġ�� �Ϲ����� ��ο� ��ġ���� �ʾҴٸ�, ������
httpd
��η� apachectl
��ũ��Ʈ��
�����ؾ� �Ѵ�. ��, httpd
������ �ƱԸ�Ʈ��
�߰��� ������ �� �ִ�. �ڼ��� ������ ��ũ��Ʈ�� �ּ���
�����϶�.
apachectl
��ũ��Ʈ�� ������ �����ڵ� 0��,
������ >0�� ��ȯ�Ѵ�. �ڼ��� ������ ��ũ��Ʈ�� �ּ���
�����϶�.
������ ���� ��ũ��Ʈ�� �����ϸ�, apachectl
��
httpd ���������� ��� �ƱԸ�Ʈ�� �´�.
apachectl [ httpd-argument ]
SysV init ������� �����ϸ�, apachectl
�� �Ʒ���
������ ������ �Ѵܾ� ���ɾ �´�.
apachectl command
���⼭�� SysV init-�� �ɼǸ� �����Ѵ�. �ٸ� �ɼ��� httpd manpage���� �����Ѵ�.
start
httpd
������ �����Ѵ�. �̹� �������̶��
������ ����. apachectl -k start
�� ����.stop
httpd
������ �ߴ��Ѵ�. apachectl
-k stop
�� ����.restart
httpd
������ ������Ѵ�. ������ ��������
�ƴ϶��, �����Ѵ�. ������ ����۽� �������� ������ Ȯ���ϱ�����
����� ���� �ڵ����� configtest
���ɰ� ���� ����������
�˻��Ѵ�. apachectl -k restart
�� ����.fullstatus
mod_status
�� ��� ���� ������ ����Ѵ�.
�� ������ ����ϱ����ؼ��� ������ mod_status
��
����ϰ�, �ý��ۿ� lynx
���� ���ڱ�� ��������
�ʿ��ϴ�. ���� ������ �����ϴ� URL�� ��ũ��Ʈ��
STATUSURL
������ �����Ͽ� ������ �� �ִ�.status
fullstatus
�ɼǰ�
���������, ���� �������� ��û ����� ������� �ʴ´�.graceful
httpd
������ ���ݰ�(gracefully) ������Ѵ�.
������ �������� �ƴ϶��, �����Ѵ�. �Ϲ����� ����۰� �� ����
�����ִ� ������ �����ʴ´�. ��, ���� �α������� ��� ���� �ʴ´�.
��, �α�ȯ ��ũ��Ʈ���� �� ������ ����Ѵٸ�, ���� �α�������
ó���ϱ����� �α������� �������� �����ϱ����� ����� ��ٷ���
�Ѵ�. ����ġ�� ����۽� �������� ������ Ȯ���ϱ����� �����
���� �ڵ����� configtest
���ɰ� ���� ����������
�˻��Ѵ�. apachectl -k graceful
�� ����.configtest
Syntax
Ok
Ȥ�� Ư�� ���������� ���� �ڼ��� ������ �˷��ش�.
apachectl -t
�� ����.�Ʒ� �ɼ��� ����� �� ������, ������ ����� ���̴�.
startssl
apachectl -k start -DSSL
�� ����. �츮�� ����
���� ���ɾ ����ϰų� �� SSL�� ����ϵ���
httpd.conf
���� <IfDefine>
������ �����ϱ� ���Ѵ�.