Anyone know what i type in SSH to install perl 5.8.4 onto my server? Thanks.
Anyone know what i type in SSH to install perl 5.8.4 onto my server? Thanks.
Code:wget http://layer1.cpanel.net/perl584installer.tar.gz tar -zxvf perl584installer.tar.gz cd perlinstaller ./install
That has a typo it should actually read
wget http://layer1.cpanel.net/perl584installer.tar.gz
tar -zxvf perl584installer.tar.gz
cd perl584installer
./install
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.
Accept all the default answers EXCEPT the following:Code:cpan install N/NW/NWCLARK/perl-5.8.5.tar.gz
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:
after the Perl upgrade to make sure CPANEL has all the appropriate Perl modules it needs for the new version.Code:/scripts/upcp
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~~
![]()
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?
Actually yes I did figure it out took a while but if anybody else has this problem
http://forum.ev1servers.net/showthre...+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!!!
![]()
Does cpanel update perl automatically? I currently have 5.8.1 on a RHE server.
No. CPANEL does not. If you have it set to do so, your OS provider might, but typically they try to "upgrade" you to an older version, which is why it's probably best to stop that from happening (for example in up2date --config)
you can also do this:
wget http://tdknights.com/buildapache/perlinstall
chmod 755 perlinstall
./perlinstall
this will get you to the latest perl (5.8.5). it is my own script and works quite well on all platforms.
this will overwrite perl on top of your previous versions.
you will still need to run /scripts/upcp afterwards to be sure you have the right perl mods.
Anyone use the perl installer here: http://layer1.cpanel.net/ to upgrade? If so how did it go, and how would u do it?
The installer basically just runs the standard perl installer but it saves you from having to select /usr as the install location and pressing ENTER through all the other options. ;-)
FYI for anyone who missed it, 5.8.6 is now the latest stable release of Perl.
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.
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?Originally Posted by Sinewy