Nocser Technology | Main Page
Please Login or Register

Knowledgebase

Update and bundling perl module

You can create a bundle of the currently installed modules by executing the following while logged in via SSH as root:

perl -MCPAN -e 'autobundle'

 

Once completed, you should see the following output before getting returned to the shell:

'Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_08_16_00.pm'

 

Once you've made note of this file name, you can proceed with the update. On linux based systems, you should be able to update Perl using the installer provided at layer1.cpanel.net:

cd /root
wget
http://layer1.cpanel.net/perl588installer.tar.gz
tar -zxf perl588installer.tar.gz
cd perl588installer
./install

Once the update has completed, you can install all previously installed modules from the CPAN bundle by executing the following (with the bundle name adjusted to the name of the bundle generated earlier):

perl -MCPAN -e 'install Bundle::Snapshot_2007_08_16_00'

 

This should install each of the modules present in the bundle, assuming there are no issues during the installation (dependencies, network, etc).

Once this has completed, execute the following to ensure that all modules required by cPanel are installed, and restart cPanel:

/usr/local/cpanel/bin/checkperlmodules
/usr/local/cpanel/startup

 



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Spam Box how to? (Views: 196)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter