I have an older version of CentOS 5 or RHEL 5 installed on my cPanel server and I am having problems installing Fantastico v2.x (Fantastico Classic). How can I fix this?


If you have Fedora Core 5/6 or earlier versions of CentOS 5 or Red Hat Enterprise Linux 5 on your server and are experiencing troubles with respect to upgrades (forced or otherwise) of Click Be! or Fantastico or Universina, please check the wget version that you have on your server.

We recommend recompiling wget directly from the source if you have this problem.

This works on both 32- and 64-bit systems. You have two options, leave the system wget in place and install a new copy (Option 1) or replace your system's version of wget with a fresh copy compiled from the source (Option 2). PICK ONLY ONE.

Option 1
Leaving your OS default wget installed and install a fresh copy for Fantastico at /usr/local/bin/wget

cd
wget http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar xfz wget-latest.tar.gz
cd wget-*
./configure
make
make test
make install
cd ../
rm -Rf wget-*


This will install a clean copy of wget on your server at /usr/local/bin/wget

Go into WHM as root, click on the Fantastico Admin area and click install. On the screen you see, be sure to enter /usr/local/bin/wget as the path to wget.

Click to start the installation.

Note that this does not remove the system maintained version of wget with the new version. There will be two copies of wget on your server.

You are done. Go into WHM's Fantastico admin area and finish the installation process.

Option 2
Replace the system default wget with the copy from the source

cd
wget http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar xfz wget-latest.tar.gz
yum remove wget -y
 
 
nano -w /etc/yum.conf

    Add wget to the end of the exclude= line near the top of this file and save changes.

 
cd wget-*
./configure --prefix=/usr
make
make test
make install
cd ../
rm -Rf wget-*


If you follow these directions to replace your system wget, you can leave the wget path in Fantastico's admin area set to /usr/bin/wget when you do the install.

Note: You must execute the commands shown above as root.

CentOS 5.9 and later (including all versions of CentOS 6) do not ship with a version of wget that has this problem, so you do not need to worry about replacing wget.

Tags: Depreciated, Fantastico v2.x, Installation, Troubleshooting
2013-12-07 03:17 Netenberg Staff {writeRevision}
Average rating: 4.5 (2 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.