kenshin888

Member
Jan 4, 2005
16
0
151
Are there any tutorials on how to install these modules on cpanel servers?

GD Module
DBI Perl Module
DBD::mysql Perl Module


Also need to disable mod_security
 

BenThomas

Well-Known Member
Feb 12, 2004
598
0
166
Houston, Texas USA
cPanel Access Level
Root Administrator
/scripts/perlinstaller modulename

so for you:

/scripts/perlinstaller DBD::mysql DBI GD

To disable mod_security, just uninstall it or remove it's configuration from httpd.conf and restart Apache
 

kenshin888

Member
Jan 4, 2005
16
0
151
cpanelben said:
/scripts/perlinstaller modulename

so for you:

/scripts/perlinstaller DBD::mysql DBI GD

To disable mod_security, just uninstall it or remove it's configuration from httpd.conf and restart Apache
# /scripts/perlinstaller GD
Fetching CPAN mirrors...
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: No such file or directory
Input file = /root/.cpcpan/MIRRORED.BY.bz2, output file = /root/.cpcpan/MIRRORED.BY

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file /root/.cpcpan/MIRRORED.BY, if it exists.
Cannot fetch mirror list at /scripts/cPanelPerl.pm line 118, <Socket_Handle> line 88.
 

kenshin888

Member
Jan 4, 2005
16
0
151
cpanelben said:
Try the following then run the perlinstaller command again:

rm -rf /root/.cpcpan
Fetching CPAN mirrors...
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: No such file or directory
Input file = /root/.cpcpan/MIRRORED.BY.bz2, output file = /root/.cpcpan/MIRRORED.BY

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file /root/.cpcpan/MIRRORED.BY, if it exists.
Cannot fetch mirror list at /scripts/cPanelPerl.pm line 118, <Socket_Handle> line 67.
 

kenshin888

Member
Jan 4, 2005
16
0
151
After running the update, looks like it got installed. Thanks

/scripts/perlinstaller GD
Testing connection speed...(this could take a while)..........................Done
Three usable mirrors located
Mirror Check passed for mirror.hyperian.net

Fetching Obsoletes list for channel: rhel-i386-es-3...

Fetching Obsoletes list for channel: rhel-i386-es-3-extras...

Fetching Obsoletes list for channel: rhel-i386-es-3-devsuite...

Fetching rpm headers...

Name Version Rel
----------------------------------------------------------


The following packages you requested were not found:
ncftp
CPAN: Storable loaded ok
Going to read /home/.cpan/Metadata
Database was generated on Mon, 02 May 2005 07:02:47 GMT
GD is up to date.
perlmod--Install done