Update the "internal" part of the website to:
- Stop encouraging people to mirror the FreeBSD web site - Update the instructions to use csup rather than cvsup - Remove details for compiling cvsup - Stop linking to pages which no longer contains info on cvsup - Fix the instructions - Remove incorrect info about how often the FreeBSD website updates. This page can probably just be removed, but until then it can at least be correct. Approved by: bcr (mentor)
This commit is contained in:
parent
3886a0778c
commit
aaf51b5e94
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41110
3 changed files with 12 additions and 33 deletions
en_US.ISO8859-1/htdocs/internal
|
@ -1,17 +1,17 @@
|
|||
You can (and are encouraged to) mirror the pages with CVSup.
|
||||
You can mirror the web pages with csup.
|
||||
If you are running apache as installed from the ports collection the
|
||||
following should make a copy of www.freebsd.org available from
|
||||
http://wwwN.XX.freebsd.org/. Of course, there are possible
|
||||
variations on the method...
|
||||
|
||||
1) The CVSup file to get the WWW pages
|
||||
1) The csup file to get the WWW pages
|
||||
(/usr/local/www/data/freebsd.cvsup in the next step):
|
||||
|
||||
www release=current host=cvsup.freebsd.org hostbase=/home base=/usr prefix=/usr/local/www/data/www.freebsd.org delete old use-rel-suffix
|
||||
www release=current host=cvsup.freebsd.org base=/usr prefix=/usr/local/www/data/www.freebsd.org delete use-rel-suffix
|
||||
|
||||
2) Add to /etc/crontab
|
||||
|
||||
1 5 * * * root /usr/local/bin/cvsup -z -g /usr/local/www/data/freebsd.cvsup
|
||||
1 5 * * * root /usr/bin/csup -z -g /usr/local/www/data/freebsd.cvsup
|
||||
|
||||
2) Add to /usr/local/etc/apache/access.conf:
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ Building and updating the FreeBSD Web Pages</a></h2>
|
|||
href="http://www.freebsd.org/build/index.cgi">here</a>.</p>
|
||||
|
||||
<h2>Mirroring the FreeBSD Web Pages</h2>
|
||||
<p>You can (and are encouraged to) <a href="mirror.html">mirror</a>
|
||||
<p>It is possible to <a href="mirror.html">mirror</a>
|
||||
the FreeBSD web pages on www.FreeBSD.org.</p>
|
||||
|
||||
<p></p><a href="internal.html">FreeBSD Internal Home</a>
|
||||
|
|
|
@ -13,42 +13,27 @@
|
|||
|
||||
<body class="navinclude.docs">
|
||||
|
||||
<p>You can (and are encouraged to) mirror the FreeBSD web pages
|
||||
<p>It is possible to mirror the FreeBSD web pages
|
||||
<tt>www.FreeBSD.org</tt>.
|
||||
|
||||
To do this, you need to obtain and install
|
||||
a program called <em>cvsup</em> on your web server.
|
||||
This can be done using a program called <em>csup</em>.
|
||||
|
||||
<a href="&url.doc.base;/books/handbook/cvsup.html#CVSUP-INSTALL">CVSup</a> is a software package for
|
||||
csup is a software package in the base system for
|
||||
distributing and updating collections of files across a network.</p>
|
||||
|
||||
<h2>Installing CVSup</h2>
|
||||
|
||||
<p>You can build and install it from source by the following commands:</p>
|
||||
|
||||
<pre>
|
||||
# cd /usr/ports/net/cvsup-without-gui
|
||||
# make all install clean
|
||||
</pre>
|
||||
|
||||
<p>However, installing precompiled package from the FreeBSD
|
||||
<a href="&url.doc.base;/books/handbook/packages-using.html">packages
|
||||
collection</a> may be much easier.
|
||||
Refer to the chapter mentioned for the details.</p>
|
||||
|
||||
<h2>Running CVSup</h2>
|
||||
<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>
|
||||
$ cvsup supfile-www
|
||||
$ csup supfile-www
|
||||
</pre>
|
||||
|
||||
The file <tt>supfile-www</tt> contain:
|
||||
<pre>
|
||||
*default host="cvsup".FreeBSD.org
|
||||
*default host=cvsup.FreeBSD.org
|
||||
*default prefix=/usr/FreeBSD-mirror
|
||||
*default base=/usr/local/etc/cvsup
|
||||
www release="current" delete use-rel-suffix compress
|
||||
|
@ -56,13 +41,7 @@ The file <tt>supfile-www</tt> contain:
|
|||
|
||||
<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. The pages on www.FreeBSD.org are
|
||||
updated daily at about 4:30am California time.</p>
|
||||
|
||||
<h2>More Information on CVSup</h2>
|
||||
|
||||
See the <a href="&url.doc.base;/books/handbook/synching.html#CVSUP">CVSup introduction</a> in the
|
||||
handbook.
|
||||
crontab, so that it runs once a day.</p>
|
||||
|
||||
<p><a href="internal.html">FreeBSD Internal Home</a></p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue