MIRROR
HOW-TO
|
Mirror: Quick Start Guide for FWTK.ORG
(from the "Mirror Quick Start Guide for the Impatient")
If you are NOT impatient what you should do is:
-
Download mirror from the below:
mirror.tar.gz
mirror.zip
-
If you want, you can read the mirror documentation:
https://sunsite.org.uk/packages/mirror/
Here are the quick install steps:
-
Get the latest version of mirror (see above) an extract it into
a suitable directory (e.g. $HOME/mirror or c:\mirror).
-
IMPORTANT: Install the wu-ftpd patch-ftp.pl
patch. For your own safety, you should also install the security fix mentioned
in security_note.txt.
-
Check whether Perl is installed on the machine you are about to
install mirror on. If it isn't then either get your support
staff to install perl or wander round https://www.perl.com/
and pull back a suitable copy of perl and install it.
-
Run
perl install.pl
here
if you want to install mirror as a command available to everyone
on your system (that's harder and you'll have to read the full documentation).
But for most users it is enough to run mirror from the directory
you extracted it into.
-
Edit the mirror.defaults to customize it for your system. You should
probably change:
hostname
local_dir
remote_password
mail_to
-
Download the www-fwtk-org mirror pref file.
Save it in the "packages" directory.
-
Modify the www-fwtk-org file to include your correct e-mail address and
home directory.
-
Test mirror to see what it would do
mirror -n packages/www-fwtk-org
-
Run mirror for real. I suggest the first time you do
mirror -d packages/www-fwtk-org
so you can see what mirror is actually doing. If it appears to
work OK then you can drop the -d for future runs.
-
Add the mirror program to your CRON table. I recommend that you mirror
the site nightly, but since we don't change very often, you should be able
to mirror every other day (or even weekly if you notify me)
E-mail me with any problems. My address is [email protected]
|