...
The following instructions assume the VCL database has been installed and configured and that the managment node information has been added to the database as described on the web code installation page.
...
Check if a Subversion client is already installed on the management node by running the svn command. If not already installed, you can try to install it using yum with the following command:
...
If yum is not available, visit http://subversion.tigris.org and follow their the instructions for downloading and installing a Subversion client.
...
Download VCL backend code from the Apache Subversion repository and save it to /usr/local/vcl.
No Format |
---|
svn export https://svn.apache.org/repos/asf/incubator/vcl/trunk/managementnode/ /usr/local/vcl/ |
...
There is a script A script is provided in the VCL repository called install_perl_libs.pl which will attempt to download and install the required perl libraries. To run Run the script:
No Format |
---|
perl /usr/local/vcl/bin/install_perl_libs.pl |
...
No Format |
---|
============================================================================== URL: http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz Module filename: DBI-1.609.tar.gz Module name: DBI-1.609 Module package: DBI Checking if DBI is installed Module is already installed: DBI ============================================================================== |
Additional output will be displayed if a module has not been successfully installed. You will need to troubleshoot if any modules were not installed successfully.
...
...
Run the following command to execute the utils.pm file:
Code Block |
---|
perl /usr/local/vcl/lib/VCL/utils.pm
|
Executing utils.pm does not actually do anything but this will tell you if VCL will be able to run. If any Perl modules are missing you will see "Can't locate"
...
lines:
No Format |
---|
Can't locate HTTP/Headers.pm in @INC (@INC contains:...)
|
Once all of the required modules are installed, you should see something like thisoutput similar to the following:
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 |
...
No Format |
---|
Module Compress::Zlib (P/PM/PMQS/IO-Compress-2.020.tar.gz) |
No Format |
---|
/usr/bin/make install -- OK
|
Run the following command:
Code Block |
---|
perl /usr/local/vcl/lib/VCL/utils.pm
|
A module is missing if you see any "Can't locate" lines:
...
|
...
...