Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • /usr/local/vcl
  • /etc/vcl/vcld.conf
  • /etc/init.d/vcld 

Download the Backend VCL Code

Download VCL backend code from the Apache Subversion repository and save it to /usr/local/vcl

Code Blocknoformat
svn export https://svn.apache.org/repos/asf/incubator/vcl/trunk/managementnode/ /usr/local/vcl/

...

How to Install a Perl Module Using CPAN

  1. Enter the CPAN shell:
    perl -MCPAN -e shell
  2. You will need to configure CPAN if it's the first time it is being run. Enter No at the first prompt to auto-configure the CPAN module.
  3. Search for a module using the "m" command:
    m /Zlib/
    You should find the module you were looking for on a line like this:
    Module          Compress::Zlib  (P/PM/PMQS/IO-Compress-2.020.tar.gz)
  4. Install the module:
    install Compress::Zlib
  5. Answer yes if asked to install any prerequisite modules
    The last line you should see should be:
    /usr/bin/make install  -- OK

How to Test if Required Perl Modules are Installed

...

No Format
BIN PATH: /usr/local/vcl/lib/VCL
pre-execution: config file being used: /etc/vcl/vcld.conf
Uncaught exception from user code:
        VCLD : /etc/vcl/vcld.conf does not exist, exiting --  No such file or directory
BEGIN failed--compilation aborted at /usr/local/vcl/lib/VCL/utils.pm line 616.
 at /usr/local/vcl/lib/VCL/utils.pm line 616

...