aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/htdocs/internal/mirror.xml
blob: cc7c46646d5ce5506e757cd7b4107ca7b3c31351 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/share/xml/xhtml10-freebsd.dtd" [
<!ENTITY title "Mirroring the FreeBSD Web Pages">
]>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <title>&title;</title>

      <cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
    </head>

    <body class="navinclude.docs">

<p>It is possible to mirror the FreeBSD web pages
<tt>www.FreeBSD.org</tt>.

This can be done using a program called <em>csup</em>.

csup is a software package in the base system for
distributing and updating collections of files across a network.</p>

<h2>Running csup</h2>

<p>If you keep your mirrored FreeBSD web pages in the directory
<tt>/usr/FreeBSD-mirror</tt> and are owned by the user `fred', then
run the following command as user `fred':</p>

<pre>
     $ csup supfile-www
</pre>

The file <tt>supfile-www</tt> contain:
<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>This will mirror the FreeBSD web pages into
<tt>/usr/FreeBSD-mirror</tt>. You can install this into fred's
crontab, so that it runs once a day.</p>

<p><a href="internal.html">FreeBSD Internal Home</a></p>

</body>
</html>