diff --git a/ru_RU.KOI8-R/articles/solid-state/article.sgml b/ru_RU.KOI8-R/articles/solid-state/article.sgml index b8653b6c36..04de791707 100644 --- a/ru_RU.KOI8-R/articles/solid-state/article.sgml +++ b/ru_RU.KOI8-R/articles/solid-state/article.sgml @@ -71,25 +71,25 @@ </legalnotice> &legalnotice; - + <abstract> <para>� ���� ������ ����������� ������������� ������������� �������� - ��������� ��� �������� ������������ ������ �� ������ &os;</para> - + ��������� ��� �������� ������������ ������ �� ������ &os;</para> + <para>������������ ������� ����� ������������ � ���������� ���������� - �� ������� ���������� � ��� ���������� ������ (������� ������). ������, - ������� ������� �� ��������, ��� �������, ��� �������, �������� ����� - ����� �������� ������������ � ������������ ����� ������������� - ����������.</para> + �� ������� ���������� � ��� ���������� ������ (������� ������). + ������, ������� ������� �� ��������, ��� �������, ��� �������, �������� + ����� ����� �������� ������������ � ������������ ����� ������������� + ����������.</para> <para>� �������� ��������������� �������� ��������� ���� � �������������� - ������������� ���������, ���������� ��� ������������� � �������� ������ - �� &os;, ��������� ����, ������� ������������ ������� � ����� - ��������, ��������� <filename>rc.initdiskless</filename>, ���������������� - ������������� ����� ������ � ��������������� ����������� �������� - ������, ��������� ������ ��� ������, � ����� ���������� �������� ������ - � ����. ������ ������������� ��������� ��������� ����� ��������� ��� - ������� ����� ������ &os; � ����� � ������ ������ ��� ������.</para> + ������������� ���������, ���������� ��� ������������� � �������� ������ + �� &os;, ��������� ����, ������� ������������ ������� � ����� ��������, + ��������� <filename>rc.initdiskless</filename>, ���������������� + ������������� ����� ������ � ��������������� ����������� �������� + ������, ��������� ������ ��� ������, � ����� ���������� �������� ������ + � ����. ������ ������������� ��������� ��������� ����� ��������� ��� + ������� ����� ������ &os; � ����� � ������ ������ ��� ������.</para> </abstract> </articleinfo> @@ -118,13 +118,13 @@ ����� �������� �� ����������� ������� �����.</para> <para>� ���������, �� ������� ���������� ������ ����-������, ����������� �� - ���������� ATA, ������� ����� ������ ����������� � �������� - �������� ������ ��� �������� �����. ������ ������� ������������ ��� - ����, ��� ��� ������������� ���� IDE �� ��������� � ���������� � ������� - ������ ATA. ����� �������, ��� ������ ����� �������� � �������� �������� - ����� ���������� ����� ������������ ��������������� � ���� IDE - ����������. ���� ��������� ����� �������, �� ����� ������������ �������, - ��� &os;, ���������� ���� ��� ������� ��������� (������ ���������).</para> + ���������� ATA, ������� ����� ������ ����������� � �������� �������� + ������ ��� �������� �����. ������ ������� ������������ ��� ����, ��� ��� + ������������� ���� IDE �� ��������� � ���������� � ������� ������ ATA. + ����� �������, ��� ������ ����� �������� � �������� �������� ����� + ���������� ����� ������������ ��������������� � ���� IDE ����������. + ���� ��������� ����� �������, �� ����� ������������ �������, ��� &os;, + ���������� ���� ��� ������� ��������� (������ ���������).</para> <para>���������� � ������ ������� ��� ������������� ������, �� �� ���������, ������������ � ������������� ��������� ������������� ������� @@ -132,7 +132,7 @@ </sect1> <sect1 id="kernel"> - <title>��������� ����</title> + <title>��������� ����</title> <para>��� ���, ��� ������� ������������ ������� &os;, ������� ������������ ��������� ���������� ����.</para> @@ -152,11 +152,9 @@ <para>�� ������ ��������������, ��� � ���������������� ����� ������ ���� ������������ ��������� ������:</para> - <programlisting> -options MFS # Memory Filesystem + <programlisting>options MFS # Memory Filesystem options MD_ROOT # md device usable as a potential root device -pseudo-device md # memory disk - </programlisting> +pseudo-device md # memory disk</programlisting> </sect1> <sect1 id="ro-fs"> @@ -171,7 +169,7 @@ pseudo-device md # memory disk ����������� ������ ��������� � <filename>/var</filename> ��� ������ ������� &man.mkdir.1;, �������� ������ ������� �� ��������� �� ���� ���������. � �������� ���������� - <filename>/etc/rc.d/var</filename> ������������� ��� ���� ���������� + <filename>/etc/rc.d/var</filename> ������������� ��� ���� ���������� <filename>rc.conf</filename> – <literal>varsize</literal>. ������ <filename>/etc/rc.d/var</filename> ������� ������ <filename>/var</filename> �� ������ �������� ���� ���������� �� @@ -192,26 +190,22 @@ pseudo-device md # memory disk �������� �� ����� ���� �����������. ���� �������� �� ����������� ������� ����� �������� ����� ����-�������� ����� ��� �� ���. ������ �������������� � �������� ��������� ������ �������� � ���� �� ����������. - �������, ����� �������� ������ <literal>swap</literal> - �� ������ ����� <filename>/etc/fstab</filename>, - �� ������ ����� �������� ���� ���������� ������ �������� ������� �� - <literal>ro</literal> ����� �������:</para> + �������, ����� �������� ������ <literal>swap</literal> �� ������ ����� + <filename>/etc/fstab</filename>, �� ������ ����� �������� ���� ���������� + ������ �������� ������� �� <literal>ro</literal> ����� �������:</para> - <programlisting> -# Device Mountpoint FStype Options Dump Pass# -/dev/ad0s1a / ufs ro 1 1 - </programlisting> + <programlisting># Device Mountpoint FStype Options Dump Pass# +/dev/ad0s1a / ufs ro 1 1</programlisting> <para>� ���������� ���� ��������� � �������������������� ������� ��������� - ���������� ���������� ���������� ��������. ��������, cron �� ����� ��������� - ����������� � ���������� ���������� ������ ��� ���� � �������� - <filename>/var</filename>, ��������� - <filename>/etc/rc.d/var</filename>, � syslog � dhcp ����� ���������� - �������� ��-�� ������� �������� ������� ������ ��� ������, � ����� - ���������� ������� � <filename>/var</filename>, ������� ��� ������ - �������� <filename>/etc/rc.d/var</filename>. ���� ��� �������� - �������� ���������� � ����������� ������ � �������� ������� � �������� - ���������������� ����������� �������, � <xref + ���������� ���������� ���������� ��������. ��������, cron �� ����� + ��������� ����������� � ���������� ���������� ������ ��� ���� � �������� + <filename>/var</filename>, ��������� <filename>/etc/rc.d/var</filename>, + � syslog � dhcp ����� ���������� �������� ��-�� ������� �������� ������� + ������ ��� ������, � ����� ���������� ������� � <filename>/var</filename>, + ������� ��� ������ �������� <filename>/etc/rc.d/var</filename>. ���� ��� + �������� �������� ���������� � ����������� ������ � �������� ������� + � �������� ���������������� ����������� �������, � <xref linkend="strategies">.</para> <para>����� �������, ��� �������� �������, ������� ���� ������������ @@ -219,25 +213,20 @@ pseudo-device md # memory disk ����� ������ ����� ���� ������� ��������� �� ������ � ������ ������� �������:</para> - <screen> -&prompt.root; <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput> - </screen> + <screen>&prompt.root; <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput></screen> <para>� ����� ���� ���������� � ������ ������� ������ ��� ������ �� ����� �������:</para> - <screen> -&prompt.root; <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput> - </screen> + <screen>&prompt.root; <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput></screen> </sect1> <sect1> <title>�������� �������� ������� � ����</title> - <para>��� ��� ����������� � ATA ���������� ����-����� ������������ �� - &os; ��� ������� ������� ����� IDE, - �� ������������ �� ������ ���������� &os; �� ���� ��� ������ - ������ kern � mfsroot ��� � �������-�����.</para> + <para>��� ��� ����������� � ATA ���������� ����-����� ������������ �� &os; + ��� ������� ������� ����� IDE, �� ������������ �� ������ ���������� &os; + �� ���� ��� ������ ������ kern � mfsroot ��� � �������-�����.</para> <para>������ ���� ��������� ��������� &os; ��� ������ ������� �������� ��������� ����� �������� � �������� ������� ��������, ����������� 200 @@ -248,15 +237,15 @@ pseudo-device md # memory disk ���������.</para> <para>����� ������� �������� ������ ��� ����������� �� ����� �������� - ��������� &os; ������� ������� �� ������� ������� ����. ����� - ��������� ���������, �������� ������������ ������� �� �������, ������� - ���������� �� ��� ����-��������, � ����� ��������� ������������� �������� - �������. ��������� ���� ������� ��� ����� ������� ���������� ����� - ����-������ ��� ����� ���������������� �������� �������. ���������, ��� - ��-�� ����, ��� ������� ��������� �� �����������, ����� ��������, ��� - ��������� �� �������, ��������, �������� �������� ������� � ��� ����� - ������ ���� ��������� �������. ����� ������ kern � mfsroot ��� ����� - ����� ��������������� �������� fixit.</para> + ��������� &os; ������� ������� �� ������� ������� ����. ����� ��������� + ���������, �������� ������������ ������� �� �������, ������� ���������� + �� ��� ����-��������, � ����� ��������� ������������� �������� �������. + ��������� ���� ������� ��� ����� ������� ���������� ����� ����-������ + ��� ����� ���������������� �������� �������. ���������, ��� ��-�� ����, + ��� ������� ��������� �� �����������, ����� ��������, ��� ��������� + �� �������, ��������, �������� �������� ������� � ��� ����� ������ ���� + ��������� �������. ����� ������ kern � mfsroot ��� ����� ����� + ��������������� �������� fixit.</para> <procedure> <step> @@ -264,45 +253,42 @@ pseudo-device md # memory disk <para>����� �������� ��� ������ ������ kern � mfsroot, �������� ����� <literal>custom</literal> �� ���� ���������. �� ���������� ������ - ���� �������� <literal>partition</literal>. � ���� ������ � - ��������� �� ������ ������� ��� ������������ ������� ��� ������ - ������� <keycap>d</keycap>. ����� �������� ���� ��������� �������� - �������� ������ ��� ������ ������� <keycap>c</keycap> � ����������� - � ������������ �� ��������� �������� �������. ����� �� ������ - �������� �� ������� ���� �������, ��������������, ��� �������� ���� - ����� <literal>165</literal>. ������ �������� ��� ������� �������� - �� ����, ����� ������� <keycap>w</keycap> (�� ���� ������ ��� ����� - ������). ���� �� ����������� ���������� ����-�����, - ����������� � ATA, �� ������ ������� FreeBSD Boot Manager. ������ - ������� ������� <keycap>q</keycap> ��� ������ �� ���� ������ � - ���������. ������ ���� ������ ��� ��� ���� ��� ������ ��������� - �������� - ��������� ��, ��� �� �������� �����.</para> + ���� �������� <literal>partition</literal>. � ���� ������ � + ��������� �� ������ ������� ��� ������������ ������� ��� ������ + ������� <keycap>d</keycap>. ����� �������� ���� ��������� �������� + �������� ������ ��� ������ ������� <keycap>c</keycap> � ����������� + � ������������ �� ��������� �������� �������. ����� �� ������ + �������� �� ������� ���� �������, ��������������, ��� �������� ���� + ����� <literal>165</literal>. ������ �������� ��� ������� �������� + �� ����, ����� ������� <keycap>w</keycap> (�� ���� ������ ��� ����� + ������). ���� �� ����������� ���������� ����-�����, ����������� + � ATA, �� ������ ������� FreeBSD Boot Manager. ������ ������� + ������� <keycap>q</keycap> ��� ������ �� ���� ������ � ���������. + ������ ���� ������ ��� ��� ���� ��� ������ ��������� �������� - + ��������� ��, ��� �� �������� �����.</para> </step> <step> <title>�������� �������� ������ �� ����� ���������� ����-������</title> <para>������� �� ���� ��������� custom, � �� �������� ���� ��������� - �������� ����� <literal>fixit</literal>. ����� ����� � ����� ������ - fixit, ������� ��������� �������:</para> + �������� ����� <literal>fixit</literal>. ����� ����� � ����� ������ + fixit, ������� ��������� �������:</para> <screen>&prompt.root; <userinput>disklabel -e /dev/ad0c</userinput></screen> <para>� ���� ������ �� ������� � �������� vi ��-��� ������� disklabel. �����, ��� ����� �������� ������ <literal>a:</literal> � ����� �����. - ��� - ������ <literal>a:</literal> ������ ��������� �������� ���:</para> + ��� ������ <literal>a:</literal> ������ ��������� �������� ���:</para> - <programlisting> -a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 - </programlisting> + <programlisting>a: <replaceable>123456</replaceable> 0 4.2BSD 0 0</programlisting> <para>����� <replaceable>123456</replaceable> �������� ������, � - �������� ����������� � ���, ��� ������������� ������ ��������� - ������ ��� <literal>c:</literal>. � �����, �� ��������� ������������ - ������ ��� <literal>c:</literal> ��� ������ <literal>a:</literal>, - �� ������� ���������� fstype ��� <literal>4.2BSD</literal>. - ��������� ���� � ��������� ��������������.</para> + �������� ����������� � ���, ��� ������������� ������ ��������� ������ + ��� <literal>c:</literal>. � �����, �� ��������� ������������ + ������ ��� <literal>c:</literal> ��� ������ <literal>a:</literal>, + �� ������� ���������� fstype ��� <literal>4.2BSD</literal>. + ��������� ���� � ��������� ��������������.</para> <screen>&prompt.root; <userinput>disklabel -B -r /dev/ad0c</userinput> &prompt.root; <userinput>newfs /dev/ad0a</userinput></screen> @@ -316,50 +302,42 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <screen>&prompt.root; <userinput>mount /dev/ad0a /flash</userinput></screen> <para>���������� ��� ������ � ����, ����� ����� ���� ��������� ��� - tar-���� � ����������� ��� � �������� ������� �� ����-��������. ��� - ������ ����, ��� ��� ����� �������:</para> + tar-���� � ����������� ��� � �������� ������� �� ����-��������. ��� + ������ ����, ��� ��� ����� �������:</para> - <screen> -&prompt.root; <userinput>ifconfig xl0 192.168.0.10 netmask 255.255.255.0</userinput> -&prompt.root; <userinput>route add default 192.168.0.1</userinput> - </screen> + <screen>&prompt.root; <userinput>ifconfig xl0 192.168.0.10 netmask 255.255.255.0</userinput> +&prompt.root; <userinput>route add default 192.168.0.1</userinput></screen> <para>������, ����� ������ ��������� � ����, ���������� ��� tar-����. - ����� �� ������ ����������� � ��������� ��������� - ���� ����� ����� - ����-������ �����, � �������, 128 ����������, � ��� tar-���� - ��������� 64 ���������, �� �� �� ������ ������������ ���������� - tar-���� �� ����-�������� � ����������� ��� - ��� �� ������ �����. - ����� �� ������� ���� ��������, ���� �� ����������� FTP, �������� - ���������� ����� �� ����� ��� �������� �� FTP. ���� �� ��������� - ���� ������ ���, �� �� ������� �� �������� �� ����� ������������ - �������� ���� � ��� ����������:</para> + ����� �� ������ ����������� � ��������� ��������� - ���� ����� ����� + ����-������ �����, � �������, 128 ����������, � ��� tar-���� + ��������� 64 ���������, �� �� �� ������ ������������ ���������� + tar-���� �� ����-�������� � ����������� ��� - ��� �� ������ �����. + ����� �� ������� ���� ��������, ���� �� ����������� FTP, �������� + ���������� ����� �� ����� ��� �������� �� FTP. ���� �� ��������� + ���� ������ ���, �� �� ������� �� �������� �� ����� ������������ + �������� ���� � ��� ����������:</para> - <screen> -<prompt>ftp></prompt> <userinput>get tarfile.tar "| tar xvf -"</userinput> - </screen> + <screen><prompt>ftp></prompt> <userinput>get tarfile.tar "| tar xvf -"</userinput></screen> <para>���� ��� ���� ��������� �������� gzip, �� ����� ������ ����� - ��������:</para> + ��������:</para> - <screen> -<prompt>ftp></prompt> <userinput>get tarfile.tar "| zcat | tar xvf -"</userinput> - </screen> + <screen><prompt>ftp></prompt> <userinput>get tarfile.tar "| zcat | tar xvf -"</userinput></screen> <para>����� ����, ��� �� �������� ���������� ����� ���������������� - �������� ������� �� �������� ������� ����-������, �� ������ - �������������� ����-������ � ��������� ������������:</para> + �������� ������� �� �������� ������� ����-������, �� ������ + �������������� ����-������ � ��������� ������������:</para> - <screen> -&prompt.root; <userinput>cd /</userinput> + <screen>&prompt.root; <userinput>cd /</userinput> &prompt.root; <userinput>umount /flash</userinput> -&prompt.root; <userinput>exit</userinput> - </screen> +&prompt.root; <userinput>exit</userinput></screen> <para>�������, ��� �� ��������� ��������� ���� �������� ������� ��� - �� ���������� �� ������� ����� (� ����� �������� ��������, - �������������� � ������ ������� ������ ��� ������, � ������������ - �����������, ��������������� � ����) �� ������ ������� ��������� ���� - ������������ ������� �� ������ &os;.</para> + �� ���������� �� ������� ����� (� ����� �������� ��������, + �������������� � ������ ������� ������ ��� ������, � ������������ + �����������, ��������������� � ����) �� ������ ������� ��������� ���� + ������������ ������� �� ������ &os;.</para> </step> </procedure> </sect1> @@ -389,82 +367,78 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <filename class="directory">at</filename>.</para> <para>������ ��� �� ������ �������� � ����������� cron-������ - ����� ��������������. ����� ������� ���������������, �� �������� - ������� <filename>/var</filename>, ������� ������������� � ������, - ����� ����������, ������ �� ����� cron-���������, ������� �� ����� ��� - �����. ������� ����� �� ������� ����� ����� �������� cron-������ ��� - �������������, ������� ��� �����, ������������ ����� �������� ������� + ����� ��������������. ����� ������� ���������������, �� �������� + ������� <filename>/var</filename>, ������� ������������� � ������, + ����� ����������, ������ �� ����� cron-���������, ������� �� ����� ��� + �����. ������� ����� �� ������� ����� ����� �������� cron-������ ��� + �������������, ������� ��� �����, ������������ ����� �������� ������� <filename>/</filename> � ������ ������ � ������, � ����������� ���� - cron-������ � ���������� �����, ��������, - � <filename>/etc/tabs</filename>, � ����������� ���������� ������ � - ����� ������� <filename>/etc/rc.initdiskless</filename> ��� ����������� - ���� cron-������ � ������� <filename>/var/cron/tabs</filename> ����� - ��� �������� �� ����� ������������� �������. ��� ����� ����� - ������������� �������� ������, ������� �������� ������ ������� � - ����� �� ��������, ������� �� �������, � �� �����, ������� �� - ����������� � ������� <filename>/etc/rc.initdiskless</filename>.</para> + cron-������ � ���������� �����, ��������, + � <filename>/etc/tabs</filename>, � ����������� ���������� ������ � + ����� ������� <filename>/etc/rc.initdiskless</filename> ��� ����������� + ���� cron-������ � ������� <filename>/var/cron/tabs</filename> ����� + ��� �������� �� ����� ������������� �������. ��� ����� ����� + ������������� �������� ������, ������� �������� ������ ������� � + ����� �� ��������, ������� �� �������, � �� �����, ������� �� + ����������� � ������� <filename>/etc/rc.initdiskless</filename>.</para> </sect2> <sect2> <title>syslog</title> <para>� ����� <filename>syslog.conf</filename> ������ �������������� - ��������� ������ ����������, ������� ������� � �������� + ��������� ������ ����������, ������� ������� � �������� <filename>/var/log</filename>. ��� ����� �� ��������� �������� <filename>/etc/rc.d/var</filename> �� ����� ������������� �������. ������� ���-������ � ������� <filename>/etc/rc.d/var</filename>, ����� ������, ��������� �������� � <filename>/var</filename>, ��� ����� - �������� ����� ����� ����������:</para> + �������� ����� ����� ����������:</para> - <screen> -&prompt.root; <userinput>touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages</userinput> -&prompt.root; <userinput>chmod 0644 /var/log/*</userinput> - </screen> + <screen>&prompt.root; <userinput>touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages</userinput> +&prompt.root; <userinput>chmod 0644 /var/log/*</userinput></screen> </sect2> <sect2> <title>��������� ������</title> <para>����� ���, ��� �������� ���������, ������� ����� ������� ��� - ��������� ������������� ������ ������, ���������� ��������� � ���, - ��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������. - ������� ��� ����� �������� ����������� �� � ������ ������ � ������, - ��������� ��������� ��������� ������, ��� ��� �������� � + ��������� ������������� ������ ������, ���������� ��������� � ���, + ��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������. + ������� ��� ����� �������� ����������� �� � ������ ������ � ������, + ��������� ��������� ��������� ������, ��� ��� �������� � <xref linkend="ro-fs">. �� ������ ������ ��������������� ��� �������� - ������� � ����� ������ ��� ������ ����� ��������� ����� - + ������� � ����� ������ ��� ������ ����� ��������� ����� - �������� ������ �� ���� �������� ����� ����������� ��������� ��� ���� ������������.</para> <para>����� ����� ���� ����� � ������� � ������� � ������� ��������� - ������� <command>make</command> <maketarget>install</maketarget>, - ���������� ������� ������� ��� �������� � - �������� �������, �� ��������������� � ������, ��� ����� ��������� - ������� ����� ��������������. ��� ��� ��� ��������� ������� � ����� - ������ ��������� ������������ ����� �������� ������ ��� ������ � - ������, ����� ����� �������� ������� ����-�������� ����� � ��� ������ - ���������� � �������.</para> + ������� <command>make</command> <maketarget>install</maketarget>, + ���������� ������� ������� ��� �������� � �������� �������, �� + ��������������� � ������, ��� ����� ��������� ������� ����� + ��������������. ��� ��� ��� ��������� ������� � ����� ������ ��������� + ������������ ����� �������� ������ ��� ������ � ������, ����� ����� + �������� ������� ����-�������� ����� � ��� ������ ���������� + � �������.</para> <para>������ ����� �������� ������� � ����� ������ � ��������. ������ - ��� ������� <filename>/var/db/pkg</filename>, �� �� �� ����� ���������� - ���� ������ �����, ��� ��� ��� �������� ����� ������������ - �������.</para> + ��� ������� <filename>/var/db/pkg</filename>, �� �� �� ����� ���������� + ���� ������ �����, ��� ��� ��� �������� ����� ������������ + �������.</para> <screen>&prompt.root; <userinput>mkdir /etc/pkg</userinput></screen> <para>������ � ������ <filename>/etc/rc.d/var</filename> �������� - ������, ������� ��������� ������� <filename>/etc/pkg</filename> � + ������, ������� ��������� ������� <filename>/etc/pkg</filename> � <filename>/var/db/pkg</filename>. ��������:</para> - <screen> -&prompt.root; <userinput>ln -s /etc/pkg /var/db/pkg</userinput> - </screen> - + <screen>&prompt.root; <userinput>ln -s /etc/pkg /var/db/pkg</userinput></screen> + <para>������ ������ ��� ��� ������������ ����� �������� ������ ��� ������ - � ������ � ��������� �������, ������� <command>make</command> <maketarget>install</maketarget> - ����� ��������, � ���������� � ������� - ����� ������� �������� � ������� <filename>/etc/pkg</filename> (��� ��� - �������� ������� ����� � ��� ����� ������������ ��� ������ � ������), - ������� ������ ����� ��������� ������������ ������� ��� + � ������ � ��������� �������, ������� <command>make</command> + <maketarget>install</maketarget> ����� ��������, � ���������� � ������� + ����� ������� �������� � ������� <filename>/etc/pkg</filename> (��� ��� + �������� ������� ����� � ��� ����� ������������ ��� ������ � ������), + ������� ������ ����� ��������� ������������ ������� ��� <filename>/var/db/pkg</filename>.</para> </sect2> @@ -483,37 +457,33 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <para>����� � ������ ���������������, ��� Apache ��������� ���� ��� ����� � ������� <filename class="directory"><replaceable>apache_log_dir</replaceable></filename> - ��� �������� <filename class="directory">/var</filename>. - ����� ���� ������� ���������� �� �������� �������, �������������� - � ������ ������ ��� ������, Apache �� ������ ��������� ��� �����, ��� - � ���� ������� ����� �������� �������� � ������ ���-�������. � ����� ������ ���������� - �������� ����� ������� � ������ ��������� �� + ��� �������� <filename class="directory">/var</filename>. ����� ���� + ������� ���������� �� �������� �������, �������������� � ������ ������ + ��� ������, Apache �� ������ ��������� ��� �����, ��� � ���� ������� + ����� �������� �������� � ������ ���-�������. � ����� ������ + ���������� �������� ����� ������� � ������ ��������� �� <filename>/etc/rc.d/var</filename> ��� �� �������� � �������� <filename>/var</filename> � ������� - <filename class="directory"><replaceable>apache_log_dir</replaceable></filename> � - <filename>/var/log/apache</filename>. ����� ����� ������ ����� ������� - � ��������� ������ ��������.</para> + <filename class="directory"><replaceable>apache_log_dir</replaceable></filename> + � <filename>/var/log/apache</filename>. ����� ����� ������ ����� + ������� � ��������� ������ ��������.</para> <para>������� �������� ������� <literal>log/apache</literal> � ������ - ���������, ����������� �������� - <filename>/etc/rc.d/var</filename>.</para> - - <para>����� �������� � ������ <filename>/etc/rc.d/var</filename> - ����� ������ �������� ��������� ����� �������:</para> + ���������, ����������� �������� + <filename>/etc/rc.d/var</filename>.</para> - <screen> -&prompt.root; <userinput>chmod 0774 /var/log/apache</userinput> -&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput> - </screen> + <para>����� �������� � ������ <filename>/etc/rc.d/var</filename> + ����� ������ �������� ��������� ����� �������:</para> + + <screen>&prompt.root; <userinput>chmod 0774 /var/log/apache</userinput> +&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput></screen> <para>� �������, ������� ������������ ������� - <filename class="directory"><replaceable>apache_install</replaceable>/logs</filename> � - �������� ��� �������:</para> + <filename class="directory"><replaceable>apache_install</replaceable>/logs</filename> + � �������� ��� �������:</para> - <screen> -&prompt.root; <userinput>rm -rf <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput> -&prompt.root; <userinput>ln -s <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput> - </screen> + <screen>&prompt.root; <userinput>rm -rf <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput> +&prompt.root; <userinput>ln -s <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput></screen> </sect2> </sect1> </article>