Perl Installation Notes: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Perl must be installed on the ZRM server and MySQL server. Two perl modules are required by ZRM for MySQL installations:
Perl must be installed on the ZRM server and MySQL server. 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-DBI''', '''MySQL-perl-DBD''' : These database independent and MySQL database dependent perl modules are required by MySQL client commands such as '''mysqlhotcopy'''.
* '''perl-XML-Parser''' : This perl module is required for backup run notifications using RSS feeds.
* '''perl-XML-Parser''' : This perl module is required for backup run notifications using RSS feeds.


  Note: There are dependencies between perl-DBI and MySQL version being used. Please install perl-DBI that is compatible with the MySQL server version.
  Note: There are dependencies between perl-DBI and MySQL version being used. Please install perl-DBI that is compatible with the MySQL server version.


These packages are available as part of the OS distribution or from [http://www.cpan.org 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 or install from [http://www.sunfreeware.com Sun freeware ] site).  
These packages are available as part of the OS distribution or from [http://www.cpan.org 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 or install from [http://www.sunfreeware.com Sun freeware ] site). Installing perl packages from OS distribution is the recommended method.


Installing from a CPAN repository has requirements such as the compiler being available on the local machine and is not recommended
Installing from a CPAN repository has requirements such as the compiler being available on the local machine and is not recommended.


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

Latest revision as of 21:32, 14 October 2008

Perl must be installed on the ZRM server and MySQL server. Two perl modules are required by ZRM for MySQL installations:

  • perl-DBI, MySQL-perl-DBD : These database independent and MySQL database dependent perl modules are required by MySQL client commands such as mysqlhotcopy.
  • perl-XML-Parser : This perl module is required for backup run notifications using RSS feeds.
Note: There are dependencies between perl-DBI and MySQL version being used. Please install perl-DBI that is compatible with the MySQL server version.

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 or install from Sun freeware site). Installing perl packages from OS distribution is the recommended method.

Installing from a CPAN repository has requirements such as the compiler being available on the local machine and is not recommended.

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'