doc/ru/internal/mirror.sgml
Hiroki Sato 5305bb945d www cleanup mega commit:
- Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/navibar.l10n.ent.

 - Move includes.sgml and includes.xsl to
   share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
   and <lang>/share/sgml/header.l10n.ent.

 - Move most of XSLT libraries to share/sgml/*.xsl and
   <lang>/share/sgml/*.xsl.

 - Move news.xml and other *.xml files for the similar purpose
   to share/sgml/*.xml and <lang>/share/sgml/*.xml.

 - Switch to use a custom DTD for HTML document.  Now we use
   "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
   HTML 4.01 + some entities previously pulled via
   "<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
   The location of entity file will be resolved by using catalog file.

 - Add DOCTYPE declearation to XML documents.  This makes the followings
   possible:

   * Use of &foo; entities for SGML in an XML file instead of defining
     {$foo} as the same content.

   * &symbolic; entities for Latin characters.

 - Duplicated information between SGML and XML, or English and
   translated doc, has been removed as much as possible.
2006-08-19 21:26:51 +00:00

73 lines
2.4 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
<!ENTITY base CDATA "..">
<!ENTITY date "$FreeBSD: www/ru/internal/mirror.sgml,v 1.7 2006/02/18 18:13:16 marck Exp $">
<!ENTITY title "Зеркалирование страниц веб-сервера FreeBSD">
<!ENTITY % navinclude.docs "INCLUDE">
]>
<!-- $FreeBSD: www/ru/internal/mirror.sgml,v 1.7 2006/02/18 18:13:16 marck Exp $ -->
<!-- The FreeBSD Russian Documentation Project -->
<!-- $FreeBSDru: frdp/www/ru/internal/mirror.sgml,v 1.9 2006/02/18 18:10:40 marck Exp $ -->
<!-- Original revision: 1.21 -->
<html>
&header;
<p>Вы можете (и даже приглашаетесь) зеркалировать страницы веб-сервера
FreeBSD <tt>www.FreeBSD.org</tt>.
Чтобы сделать это, вам нужно сгрузить и установить на ваш веб-сервер
программу, которая называется <em>cvsup</em>.
<a href="&url.doc.base;/books/handbook/cvsup.html#CVSUP-INSTALL">
CVSup</a> является пакетом
программ для распространения и обновления наборов файлов по сети.</p>
<h2>Установка CVSup</h2>
<p>Вы можете построить и проинсталлировать CVSup из исходных текстов
при помощи команд</p>
<pre>
# cd /usr/ports/net/cvsup-without-gui
# make all install clean
</pre>
<p>Впрочем, гораздо проще может оказаться поставить готовый пакет из
<a href="&url.doc.base;/books/handbook/packages-using.html">Коллекции
пакетов</a>. За подробностями обращайтесь к упомянутой главе
Руководства.</p>
<h2>Запуск CVSup</h2>
<p>Если вы сохраняете зеркалируемые страницы веб-сервера FreeBSD в каталоге
<tt>/usr/FreeBSD-mirror</tt>, владельцем которого является пользователь
`fred', запустите такую команду от пользователя `fred':</p>
<pre>
$ cvsup supfile-www
</pre>
Файл <tt>supfile-www</tt> содержит:
<pre>
*default host=cvsup.FreeBSD.org
*default prefix=/usr/FreeBSD-mirror
*default base=/usr/local/etc/cvsup
www release=current delete use-rel-suffix compress
</pre>
<p>Здесь страницы веб-сервера FreeBSD будут зеркалироваться в
<tt>/usr/FreeBSD-mirror</tt>. Вы можете внести эту команду в crontab
пользователя fred, чтобы она запускалась ежедневно. Страницы на сервере
www.FreeBSD.org обновляются ежедневно в 4:30am по Калифорнийскому
времени.</p>
<h2>Дополнительная информация о CVSup</h2>
Посмотрите <a href="&url.doc.base;/books/handbook/synching.html#CVSUP">Введение в CVSup</a>
в Руководстве.
<p><A HREF="internal.html">Внутренняя информация FreeBSD</a></p>
&footer;
</body>
</html>