How to upgrade Perl on cPanel Server

How to upgrade Perl on cPanel Server

Introduction – cPanel server is fully implemented in Perl language. Upgrading Perl on cPanel server is risky process. So you should be extremely careful while do this….

** How to find the Perl version on Cpanel server-

root@arunbagul:~# perl -v

This is perl, v5.8.0 built for i386-linux-thread-multi

root@arunbagul:~#

** Download latest version of Perl from cPanel site –

http://layer1.cpanel.net

** Latest version of perl available here

root@arunbagul:~# cd /usr/local/src
root@arunbagul:~#

root@arunbagul:~# wget -c http://layer1.cpanel.net/perl588installer.tar.gz
……..

root@arunbagul:~#

*** Untar the source of Perl –

root@arunbagul:~# tar xvfz perl588installer.tar.gz
…..
……..
root@arunbagul:~#

** Go to perl Folder –

root@arunbagul:~# cd perl588installer
root@arunbagul:~#

** Just run “install“…

root@arunbagul:~# ./install

…..
root@arunbagul:~#

** After Upgrading Perl, Now check the Perl version

root@arunbagul:~# perl -v

This is perl, v5.8.8 built for i686-linux

root@arunbagul:~#

** How to check if all perl modules are properly installed ?

root@arunbagul:~# /scripts/checkperlmodules
…………

root@arunbagul:~#

** Now upgrade cPanel with upcp –

root@arunbagul:~# /scripts/upcp –force

….

root@arunbagul:~#

(wait for more than 30 min?)

That’s it!!

Arun Bagul

Similar Posts:

One Reply to “How to upgrade Perl on cPanel Server”

Leave a Reply

Your email address will not be published.