Things look quiet here. But I've been doing a lot of blogging at
dan.langille.org because I prefer WordPress now.
Not all my posts there are FreeBSD related.
I am in the midst of migrating The FreeBSD Diary over to WordPress
(and you can read about that here).
Once the migration is completed, I'll move the FreeBSD posts into the
new FreeBSD Diary website.
# cd /usr/ports/net/cvsup-mirror/
# make install
After that, the cvsupd was running. This was quite painless.
The configuration files were installed to /usr/local/etc/cvsup. I
modified config.sh to specify my upstream hosts (i.e. the sites from which I
was going to mirror).
I also modified /etc/crontab so my cvsup job
ran every 6 hours. For details on that see man 5 crontab. By
default, this was run every 33 minutes.
/usr/local/etc/rc.d/cvsupd.sh was created during the install process.
If you run this file, it will start cvsupd if for some reason you killed it.
Remember to include the full path name when doing this, otherwise you will get the
[root@ns:/usr/local/etc/rc.d] # ./cvsupd.sh
./cvsupd.sh: Cannot determine the PREFIX
In other words, type /usr/local/etc/rc.d/cvsupd.sh.
I modified /usr/local/etc/apache/httpd.conf to add a new virtual web, http://www.nz.freebsd.org/.
Then I also added www.nz.freebsd.org to my zone files (but
you won't see that in the examples). I also remembered to update my serial
number! Then I re-HUP'd both daemons:
killall -HUP httpd
And the www mirror was online!
The ftp configuration was much harder to do. Actually, it wasn't harder, it just
involved some dead ends. I've put that in a separate article titled Creating an FTP Mirror site.