![]() |
User installation
|
With crontab |
1.1 - Download the W3Perl package on your own host. Usually put it on
your server root.
1.2 - Uncompress the package and extract all the files. It will create a /w3perl/ directory where all the files are stored. 1.3 - Give execution permission to the scripts (chmod +x *.pl) [Unix only] 1.4 - Edit the first line of install.pl to reflect the Perl location on your host (most use /usr/local/bin/perl). Modify also $pathcgi and $pathw3perl to the location of your /w3perl/ directory 1.5 - Forget the /w3perl/cgi-bin/ directory ! No use to you. 1.6 - Launch install.pl to fix the path used by the package.
1.7 - Edit the config.pl file and customize it as your wishes.
1.8 - Launch cron-hour.pl to check everything is right. If no error is reported, launch the initialisation script cron-pages.pl, it could take ages if your logfile is huge so please be patient (or use a smaller file for primary test). 1.9 - If everything is right, edit cron-w3perl.pl, choose when you want to launch the different scripts and finally add it in your crontab. If launch at command line with the -a flag, cron-w3perl will initialize all stats for you.
|
Without crontab |
Some sysadmin don't allow you to use a crontab to launch scripts to
avoid excessive CPU usage.
|
Hints |
1 - Read carefully the documentation. Many questions are answered
in the files provided, use also the -h flag for more informations for
each script.
2 - NT users can't use cron-w3perl.pl as NT can fork processes. But the at command can do the job for you. 3 - You can build as many configuration files you need. Just use the -c flag to load them 4 - Don't forget numerous option are available via the -h flag for each scripts. |
![]() |