install.xml.ko revision 157312a2bcbad225c12462fc6d74b1aa3f32dcee
<?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: 105989:1328589 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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="install.xml.meta">
<title>�����ϰ� ��ġ</title>
<summary>
<p>�� ������ ���н��� ���н��� �ý��ۿ��� ����ġ�� �������ϰ�
��ġ�ϴ� �͸��� �ٷ��. ��������� �������ϰ� ��ġ�ϴ� �����
<a href="platform/windows.html">����ũ�μ���Ʈ ���������
����ġ ���</a>�� ����϶�. �ٸ� �÷��� ���ؼ��� <a
href="platform/">�÷���</a> ������ ����϶�.</p>
<p>����ġ 2.0�� ������ ��ġ ȯ���� 1.3�� �ſ� �ٸ���.
����ġ 1.3�� ���� ��ġ�� ���� ��ü ��ũ��Ʈ�� ����ߴ�.
����ġ 2.0�� ���� �ٸ� ���� ���¼ҽ� ������Ʈ�� ����� ȯ����
��������� <code>libtool</code>�� <code>autoconf</code>��
����Ѵ�.</p>
<p>���� ���� ������ �Ѵܰ� ���׷��̵��Ѵٸ� (���� ���,
2.0.50���� 2.0.51), <a href="#upgrading">���׷��̵�</a>
������ �ٷ� ���� �ٶ���.</p>
</summary>
<seealso><a href="programs/configure.html">�ҽ� Ʈ�� ����</a></seealso>
<seealso><a href="invoking.html">����ġ ����</a></seealso>
<seealso><a href="stopping.html">����ġ �ߴܰ� �����</a></seealso>
<section id="overview"><title>���� ���� ����� ���� ����</title>
<table>
<columnspec><column width=".13"/><column width=".80"/></columnspec>
<tr>
<td><a href="#download">�ٿ�ε�</a></td>
<td><code>$ lynx http://httpd.apache.org/download.cgi</code>
</td>
</tr>
<tr>
<td><a href="#extract">���� Ǯ��</a></td>
<td><code>$ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br />
$ tar xvf httpd-2_1_<em>NN</em>.tar</code> </td>
</tr>
<tr>
<td><a href="#configure">����</a></td>
<td><code>$ /configure --prefix=<em>PREFIX</em></code>
</td>
</tr>
<tr>
<td><a href="#compile">������</a></td>
<td><code>$ make</code> </td>
</tr>
<tr>
<td><a href="#install">��ġ</a></td>
<td><code>$ make install</code> </td>
</tr>
<tr>
<td><a href="#customize">����</a></td>
<td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td>
</tr>
<tr>
<td><a href="#test">�˻�</a></td>
<td><code>$ <em>PREFIX</em>/bin/apachectl start</code>
</td>
</tr>
</table>
<p><em>NN</em>�� ���� ���� ���� ���ڷ�, <em>PREFIX</em>��
������ ��ġ�� ���Ͻý��� ��η� ��ü�ؾ� �Ѵ�. <em>PREFIX</em>��
�������� ������ �⺻������ <code>/usr/local/apache2</code>��
����Ѵ�.</p>
<p>�Ʒ��� ����ġ �������� �������ϰ� ��ġ�ϱ����� �䱸���׺���
�����ϰ� ��ġ ������ ���� �ڼ��� �����Ѵ�.</p>
</section>
<section id="requirements"><title>�䱸����</title>
<p>����ġ�� �������ϱ����� ������ ���� �͵��� �ʿ��ϴ�:</p>
<dl>
<dt>��ũ ��</dt>
<dd>��ũ �������� �ּ� 50 MB �̻����� Ȯ���϶�.
��ġ�� ����ġ�� �� 10 MB�� ��ũ ���� �����Ѵ�.
���� �ʿ��� ��ũ ���� ������ ���� �ɼǰ� �߰� ��⿡
��� ����� ���̰� ����.</dd>
<dt>ANSI-C �����Ϸ��� ������ �ý���</dt>
<dd>ANSI-C �����Ϸ��� ��ġ���ִ��� Ȯ���϶�. <a
href="http://www.gnu.org/">Free Software Foundation (FSF)</a>��
<a href="http://www.gnu.org/software/gcc/gcc.html">GNU C
compiler (GCC)</a>�� ��õ�Ѵ�. (���� 2.7.2�� �ȴ�.) GCC��
��ٸ� �ּ��� ����ϴ� �����Ϸ��� ANSI ȣȯ���� Ȯ���϶�.
�߰��� <code>PATH</code> ȯ�溯���� <code>make</code>��
���� �⺻���� ������ ������ �����ؾ� �Ѵ�.</dd>
<dt>��Ȯ�� �ð�</dt>
<dd>HTTP �������ݿ��� �Ϸ��� �ð��� ǥ���ϴ� �κ��� �ִ�. �׷���
���� �ý����� �ð� ����ȭ ����� ���캼 �ð��̴�. ����
�̸� ���� Network Time Protocol (NTP)�� �����
<code>ntpdate</code>�� <code>xntpd</code>�� ����Ѵ�.
NTP ����Ʈ����� �� �ð� ������ ���� ������ �����׷�
<a href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a>��
<a href="http://www.ntp.org">NTP Ȩ������</a>��
����϶�.</dd>
<dt><a href="http://www.perl.org/">Perl 5</a>
[���û���]</dt>
<dd>(Perl�� ������) <a href="programs/apxs.html">apxs</a>��
<a href="programs/dbmmanage.html">dbmmanage</a>�� ����
���� ��ũ��Ʈ�� ���� Perl 5 ���������Ͱ� �ʿ��ϴ�. (����
5.003 �̻��̸� �ȴ�.) `<code>configure</code>' ��ũ��Ʈ��
�� ���������͸� ã�� ���ص� �������� ����ġ 2.0��
�������ϰ� ��ġ�� �� �ִ�. �ٸ� ���� ��ũ��Ʈ�� �������
���� ���̴�. ���� Perl ���������Ͱ� ��ġ���ִٸ� (�Ƹ���
�춧 ���Ե� Perl 4�� ���� �������� Perl 5)
<code>/configure</code>�� �ùٸ� ���� ã������
<code>--with-perl</code> �ɼ��� (�Ʒ� ���) ����ϱ� �ٶ���.</dd>
</dl>
</section>
<section id="download"><title>�ٿ�ε�</title>
<p>����ġ�� ���� �̷� ����� �ִ� <a
href="http://httpd.apache.org/download.cgi">����ġ ������
�ٿ�ε� ����Ʈ</a>���� �ٿ�ε��� �� �ִ�. ���н��� �ý�����
����Ѵٸ� �ҽ��ڵ带 �ٿ�޾Ƽ� �������ϴ� ���� ����. ����
(�Ʒ����� ����) �������� �� �ְ�, �ڽ��� �뵵�� �˸°� ������
���� �� �ִ�. ��, �ֽ� ���� ���̳ʸ� �������� ��� ��쵵
����. ���̳ʸ��� �ٿ�޴´ٸ� �������� �ִ�
<code>INSTALL.bindist</code> ������ ���ø� ���.</p>
<p>�ٿ�ε��� �ٿ���� ������ �����ϰ�
����������� ����ġ ���������� Ȯ���ϴ� ���� �߿��ϴ�.
PGP ������ ������ �ٿ�ε��� Ÿ��(tarball)�� �˻��Ͽ� Ȯ���Ѵ�.
�ڼ��� ����� <a
href="http://httpd.apache.org/download.cgi#verify">�ٿ�ε�
������</a>�� �ְ�, <a
href="http://httpd.apache.org/dev/verification.html">PGP
����</a>�� �����ϴ� ���� ���� �ִ�.</p>
</section>
<section id="extract"><title>���� Ǯ��</title>
<p>����ġ ������ Ÿ������ �ҽ��� Ǫ�� �۾��� �ܼ��� �����
tar�� Ǫ�� ���̴�:</p>
<example>
$ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br />
$ tar xvf httpd-2_1_<em>NN</em>.tar
</example>
<p>�׷��� ���� ���丮 �Ʒ��� �������� �ҽ��ڵ带 ����
���ο� ���丮�� ����. ������ �������ϱ� �� ��
���丮�� <code>cd</code>�ؾ� �Ѵ�.</p>
</section>
<section id="configure"><title>�ҽ� Ʈ�� �����ϱ�</title>
<p>���� ������ Ư�� �÷���� �������� �ʿ信 ��� ����ġ
�ҽ� Ʈ���� �����ϴ� ���̴�. �̸� ���� �������� �ֻ��� ���丮��
�ִ� <code><a href="programs/configure.html">configure</a></code>
��ũ��Ʈ�� ����Ѵ�. (����ġ
�ҽ� Ʈ���� CVS ������ �ٿ�ε��� �����ڴ� �̹�
<code>autoconf</code>�� <code>libtool</code>�� ��ġ���ְ�,
���� �������� �Ѿ�� �� <code>buildconf</code>�� �����ؾ�
�Ѵ�. �̴� ���� ����� �ʿ���.)</p>
<p>��� �⺻ �ɼ��� ����Ͽ� �ҽ� Ʈ���� �����Ϸ��� ������
<code>/configure</code>�� �Է��ϸ�ȴ�. �⺻ �ɼ��� �����Ϸ���
<code>/configure</code>�� ���� ������ ����� �ɼ��� ����Ѵ�.</p>
<p>���� �߿��� �ɼ��� ����ġ�� ���������� �۵��ϱ����� ����ġ��
�����ϰ� ��ġ�� ����� <code>--prefix</code>��. �ٸ� <a
href="programs/configure.html#installationdirectories">configure
�ɼǵ�</a>�� ����Ͽ� ������ ��ġ�� �� �ڼ��� ������ ����
�ִ�.</p>
<p><a href="mod/">���</a>�� �����ϰų� ���� ����ġ�� ������
<a href="programs/configure.html#optionalfeatures">���</a>��
�����Ѵ�. <a href="mod/module-dict.html#Status">Base</a>
������ ����� �⺻������ ����ġ�� ���Եȴ�. �ٸ� ������
����� <code>--enable-<var>module</var></code> �ɼ��� ����Ͽ�
�����Ѵ�. ���⼭ <em>module</em>�� ��� �̸�����
<code>mod_</code>�� ���� ������ �����ȣ�� ������ ����.
<code>--enable-<var>module</var>=shared</code> �ɼ��� ����ϸ�
����� �����߿� �����ϰų� �� �� �ִ� <a
href="dso.html">������ü(shared object, DSO)</a>�� �������Ѵ�.
��, <code>--disable-<var>module</var></code> �ɼ��� ����Ͽ�
Base ����� �� �� �ִ�. ������ ����� ��
<code>configure</code>�� ��������ʰ� �׳� �����ϱ⶧����
��� �̸��� ��Ȯ�� �Է��϶�.</p>
<p>���� <code>configure</code> ��ũ��Ʈ���� �����Ϸ�,
���̺귯��, ������� ���� ��ġ�� �˷���� �� ��찡 �ִ�.
�� ������ ȯ�溯���� <code>configure</code>�� ����� �ɼ���
����Ͽ� ����Ѵ�. �ڼ��� ������ <a
href="programs/configure.html">configure manpage</a>��
����϶�.</p>
<p>�������� ������ �� �ִ� ���ɼ��� �����ֱ����� ������
Ư�� �����Ϸ��� �÷��׸� ����ϰ� ���߿� DSO�� �о����
�� ��� <module>mod_rewrite</module>��
<module>mod_speling</module>�� �߰��Ͽ�
<code>/sw/pkg/apache</code>�� ��ġ�� ����ġ�� �������ϴ�
�������� ���̴�:</p>
<example>
$ CC="pgcc" CFLAGS="-O2" \<br />
/configure --prefix=/sw/pkg/apache \<br />
--enable-rewrite=shared \<br />
--enable-speling=shared
</example>
<p><code>configure</code>�� �����ϸ� ��а� �ý����� �����
�˻��Ͽ� ���߿� ������ �������Ҷ� ����� Makefile����
�����.</p>
<p><code>configure</code> �ɼǵ鿡 ���� �ڼ��� ������ <a
href="programs/configure.html">configure manpage</a>�� �ִ�.</p>
</section>
<section id="compile"><title>������</title>
<p>���� ���� ��ɾ� �ϳ��� ����ġ�� ���� �κ��� ��������
�� �ִ�:</p>
<example>$ make</example>
<p>���⼭ �� ��ٷ���. ��Ƽ�� III/������ 2.2 �ý��ۿ���
�⺻ ������ �������ϴµ� �� 3�� ���� �ɸ���. �� �ð���
�ϵ����� ������ ������ ��� ũ�� ���Ѵ�.</p>
</section>
<section id="install"><title>��ġ</title>
<p>���� ���� ��ɾ�� ��Ű���� (���� <code>--prefix</code>
�ɼ� ���) ������ ��ġ ��ġ <em>PREFIX</em>�� ��ġ�Ѵ�:</p>
<example>$ make install</example>
<p>���׷��̵��Ѵٸ� �� ��ġ ������ ���� ���������̳� ������
����� �ʴ´�.</p>
</section>
<section id="customize"><title>����</title>
<p>�������� <code><em>PREFIX</em>/conf/</code>�� �ִ�
<a href="configuring.html">��������</a>�� �����Ͽ� ����ġ
�������� �����Ѵ�.</p>
<example>$ vi <em>PREFIX</em>/conf/httpd.conf</example>
<p>��밡���� <a href="mod/directives.html">���� ���þ�</a>��
���� ������ ����� �� ������ ���� �ֱ� ���� <a
href="./">docs/manual/</a>�̳� <a
href="http://httpd.apache.org/docs/&httpd.docs;/"
>http://httpd.apache.org/docs/&httpd.docs;/</a>�� �ִ� ����ġ ���?��
����϶�.</p>
</section>
<section id="test"><title>�˻�</title>
<p>���� ������ ���� ����ġ �������� <a
href="invoking.html">����</a>�� �� �ִ�:</p>
<example>$ <em>PREFIX</em>/bin/apachectl start</example>
<p>�׸��� URL <code>http://localhost/</code>�� ù ������
��û�Ѵ�. ���Ե� ���������� �Ƹ���
<code><em>PREFIX</em>/htdocs/</code>�� <directive
module="core">DocumentRoot</directive> �Ʒ��� �ִ�. �׸���
���� ��ɾ�� �ٽ� ������ <a href="stopping.html">�ߴ�</a>�Ѵ�:</p>
<example>$ <em>PREFIX</em>/bin/apachectl stop</example>
</section>
<section id="upgrading"><title>���׷��̵�</title>
<p>���׷��̵��Ѵٸ� ���� ����Ʈ�� ������ �� �� �ִ� ��ȭ��
�ִ��� �˾ƺ������� ��ǥ���� �ҽ� �������� <code>CHANGES</code>
������ �д´�. (���� ���, 1.3���� 2.0�̳� 2.0���� 2.2��
����) ū ������ ���� ��� ������ �ɼǰ� ������ ���� �����ؾ���
������ ū ��ȭ�� ���� ���̴�. ��� ��⵵ ��� API�� ��ȭ��
�˸°� ���׷��̵��ؾ� �Ѵ�.</p>
<p>���� ������ �Ѵܰ� ���׷��̵��ϴ� ���� (���� ���,
2.0.55���� 2.0.57) ����. <code>make install</code> �۾���
������ ����, �α�����, ���������� �������� �ʴ´�. ��,
�����ڴ� ���� ���� <code>configure</code> �ɼ�, ����,
��� API�� ȣȯ����� ��ȭ�� �ִ��� ���´�. ��κ��� ���
������ <code>configure</code> �����, ������ ����������
����� �� �ְ�, ���鵵 ��� ��� ������ ���̴�. (�� ����
2.0.41���� ���� �ش��Ѵ�. ���� ����鿡�� ȣȯ�����
��ȭ�� �ִ�.)</p>
<p>���� ��ġ�ߴ� �ҽ��� ������ �ִٸ�, ���׷��̵尡 ��
�������. ���� �ҽ� �ֻ����� �ִ� <code>config.nice</code>
���Ͽ��� �ҽ��� ������ �� ����ߴ� <code>configure</code>
����� �ɼ��� �״�� �ִ�. �׷��� ���� �������� ���׷��̵��Ѵٸ�
���ο� ���� �ҽ��� <code>config.nice</code> ������ �����ϰ�,
���Ѵٸ� ���� ������ �� ��, ������ ���� �����Ѵ�:</p>
<example>
$ /config.nice<br />
$ make<br />
$ make install<br />
$ <em>PREFIX</em>/bin/apachectl stop<br />
$ <em>PREFIX</em>/bin/apachectl start<br />
</example>
<note type="warning">���ο� ������ ����ϱ� �� �׻� �˻��غ���
�Ѵ�. ���� ���, ���׷��̵带 ��ġ�� �� ȣȯ�� ������
�ִ��� �˾ƺ������� �ٸ� <code>--prefix</code>�� (<directive
module="mpm_common">Listen</directive> ���þ��) �ٸ� ��Ʈ��
����Ͽ� ���ο� ������ ��ġ���� ���� ����� ���� �����غ�
�� �ִ�.</note>
</section>
</manualpage>