Required Modules:
Curses Http://cpan.Linuxforum.net/authors/id/G/GI/GIRAFFED
DBI distributed as Bundle::D bi:http://www.cpan.org/authors/id/timb
Dbd::mysql Http://www.cpan.org/modules/by-module/DBD
Getopt::long (distributed with Perl 5)
Net::D omain part of Libnet:http://www.cpan.org/authors/id/gbarr
# perl-e ' Use Curses '
# perl-e ' Use DBI '
# perl-e ' Use Dbd::mysql '
# perl-e ' Use Getopt::long '
# perl-e ' use Net::D omain '
No output is the module has been installed, there is an error is the corresponding module is not installed.
You can download the latest version of the corresponding module at the address given above.
To install the required Perl modules:
# tar ZXVF curses-x.xx.tar.gz
# CD Curses*
# Perl makefile.pl
# make
# make Install
Yum Warehouse has perl-dbi, so direct yum installation
# yum-y Install PERL-DBI
Because it is compiled and installed MySQL, we need to add the path of Lib to ld.so.conf
# vi/etc/ld.so.conf
/usr/local/mysql/lib/mysql
# Ldconfig
Although the Yum Warehouse has perl-dbd-mysql, but it relies on MySQL, so it is still compiled and installed
# tar ZXVF dbd-mysql-x.xxxx.tar.gz
# CD dbd-mysql*
# perl makefile.pl--mysql_config=/usr/local/mysql/bin/mysql_config
# make
# make Install