Perl Installation Notes

From wiki.zmanda.com
Revision as of 23:04, 7 January 2008 by Paddy (talk | contribs)
Jump to navigation Jump to search

Perl version on the server running ZRM for MySQL must be 5.8.7 or later. Two perl modules are required by ZRM for MySQL installations:

  • perl-DBI : This perl module is required by MySQL client commands such as mysqlhotcopy.
  • perl-XML-Parser : This perl module is required for backup run notifications using RSS feeds.

These packages are available as part of the OS distribution or from CPAN repository. Please install these perl modules from the OS distribution if possible (use the yum install command for Redhat distributions, use the apt-get install command for Debian/Ubuntu distributions). Installing from a CPAN repository has requirements such as the compiler being available on the local machine.

The following commands install perl-DBI module from a CPAN repository:

# perl -MCPAN -e 'install DBI'

Following command can install perl-XML-Parser from CPAN repository:

# perl -MCPAN -e 'install XML::Parser'