Skip site navigation (1) Skip section navigation (2)

Mirroring the FreeBSD Web Pages

You can (and are encouraged to) mirror the FreeBSD web pages www.FreeBSD.org. To do this, you need to obtain and install a program called cvsup on your web server. CVSup is a software package for distributing and updating collections of files across a network.

Installing CVSup

You can build and install it from source by the following commands:

 # cd /usr/ports/net/cvsup-without-gui
 # make all install clean

However, installing precompiled package from the FreeBSD packages collection may be much easier. Refer to the chapter mentioned for the details.

Running CVSup

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

     $ cvsup supfile-www
supfile-www
       *default host="cvsup".FreeBSD.org
       *default prefix=/usr/FreeBSD-mirror
       *default base=/usr/local/etc/cvsup
       www release="current" delete use-rel-suffix compress

This will mirror the FreeBSD web pages into /usr/FreeBSD-mirror. 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.

More Information on CVSup

CVSup introduction

FreeBSD Internal Home