nickn

Well-Known Member
PartnerNOC
Jun 15, 2003
616
1
168
Code:
wget [url]http://layer1.cpanel.net/perl584installer.tar.gz[/url]
tar -zxvf perl584installer.tar.gz
cd perlinstaller
./install
 

Aric1

Well-Known Member
Oct 15, 2003
324
0
166
cPanel Access Level
DataCenter Provider
You can install Perl 5.8.5 directly from CPAN as well.

There is only one change you need to make in the default settings to make it work with cpanel.
Code:
cpan
install N/NW/NWCLARK/perl-5.8.5.tar.gz
Accept all the default answers EXCEPT the following:

Installation prefix to use? (~name ok) [/usr/local]

Instead of pressing ENTER/RETURN to accept the default you MUST type:

/usr

From there on, you can accept the defaults.

If you're going to upgrade, you might as well get the latest version.

I'd also run:
Code:
/scripts/upcp
after the Perl upgrade to make sure CPANEL has all the appropriate Perl modules it needs for the new version.
 

procam

Well-Known Member
Nov 24, 2003
121
0
166
Wow

Aric is on top of things today !!
Any idea how to repair a broken down YUM on fedora Core 1 ?
Ive ripped it out of a box several times and put it back in done it text book and the box still wont run updates says there no yum module !!!!!!!!!!!! Never had this happen ever before~~
:confused:
 

Aric1

Well-Known Member
Oct 15, 2003
324
0
166
cPanel Access Level
DataCenter Provider
lol. No, sorry, I don't have any servers with FC1 on them. I have RHEL 3.3 or CentOS 3,3 on my servers. Perhaps someone else will have some ideas on how to fix it for you.

Have you tried specifying the location of yum when running it... say something like /usr/local/bin/yum or wherever it happens to be on your machine?
 

procam

Well-Known Member
Nov 24, 2003
121
0
166
Yum Broken

Actually yes I did figure it out took a while but if anybody else has this problem
http://forum.ev1servers.net/showthread.php?threadid=40351&highlight=cpanel+yum+wont+work

Less the stuff for the redhat 9 to fedora conversion the yum install by these instructions worked like a charm - if you have previously installed make sure you deinstall yum {like mine was damaged} then just install - update and bind it to fedora - upcp per the instructions boom its healed!!!

:eek:
 

dezignguy

Well-Known Member
Sep 26, 2004
533
0
166
is there any benefit to running the latest perl version? It seems I've heard of a number of issues/problems caused by upgrading perl (especially for cpanel), and I haven't particularly heard of any perl vulnerabilities in the past couple years.
 

damainman

Well-Known Member
Nov 13, 2003
515
0
166
Sinewy said:
my instructions posted above will now get 5.8.6.

nice and simple without worries.
Just curious, what's the difference/advantage of using your script as to using the perl script from cpanel?
 

dezignguy

Well-Known Member
Sep 26, 2004
533
0
166
Because his install the latest 5.8.6 instead of cpanel's 5.8.4?

But personally I wouldn't use it... I try to use trusted (or even semi-trusted) sources for programs I run... someone's script off a forum doesn't meet that. And it would be faster for me to just install the source and change the settings for it than review his code.
 

Sinewy

Well-Known Member
May 15, 2004
364
1
168
Sydney, Australia
cPanel Access Level
DataCenter Provider
it's a simple perl script which thaphantom wrote ages ago, i just changed it with the new version.

if you get it and have a look at it, all it's doing is telling your server to wget the source off mirror.kernel.org, untarring, configuring, making and make installing.

there's nothing malicious there, just a simple perl script telling your server what to do.
 

NetX

Well-Known Member
Jun 18, 2003
177
0
166
Sinewy said:
it's a simple perl script which thaphantom wrote ages ago, i just changed it with the new version.

if you get it and have a look at it, all it's doing is telling your server to wget the source off mirror.kernel.org, untarring, configuring, making and make installing.

there's nothing malicious there, just a simple perl script telling your server what to do.

That's true, the script is inofensive, just install perl from mirror.kernel.org

It works!
 

Myacen

Well-Known Member
Apr 6, 2002
222
0
316
We can't seem to get moveable type working since upgrading to 5.8.6

Got an error: Unsupported driver MT::ObjectDriver::DBM: DB_File object version 1.810 does not match bootstrap parameter 1.806 at /usr/lib/perl5/5.8.6/i686-linux/DynaLoader.pm line 253. Compilation failed in require at lib/MT/ObjectDriver/DBM.pm line 9. BEGIN failed--compilation aborted at lib/MT/ObjectDriver/DBM.pm line 9. Compilation failed in require at (eval 3) line 1. BEGIN failed--compilation aborted at (eval 3) line 1.

Tried a manual recompile of both perl and the module no help