Perl Installation Notes: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


* Two perl modules are necessary for ''ZRM for MySQL'' installation
* Two perl modules are necessary for ''ZRM for MySQL'' installation
** perl-DBI
** perl-DBI : This perl module is required by MySQL client commands such as '''mysqlhotcopy'''.
** perl-XML-Parser
** perl-XML-Parser : This perl module is required for backup run notifications using RSS feeds.


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


Following command can install perl-DBI module:
Following command can install perl-DBI module from CPAN repository:


  # perl -MCPAN -e 'install DBI'
  # perl -MCPAN -e 'install DBI'


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


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

Revision as of 19:47, 7 January 2008

  • Perl version on the server running ZRM for MySQL must be 5.8.7 or later.
  • Two perl modules are necessary for ZRM for MySQL installation
    • 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 use install these perl modules from OS distribution if possible (use yum install command for Redhat distributions, use apt-get install command for Debian/Ubuntu distributions). Installing for CPAN repository has requirements such as compiler being available on the machine.

Following command can install perl-DBI module from CPAN repository:

# perl -MCPAN -e 'install DBI'

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

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