Fantastico De Luxe install notes

Here you can find tutorials and notes for server-side maintenance/configuration

Fantastico De Luxe install notes

Postby lik » Tue Dec 09, 2008 6:41 am

Original installation notes can be found at :
http://www.netenberg.com/forum/index.php?topic=950.0

If you have Fedora Core 5/6 or 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.

If it is wget-1.10.2-3.3.fc5 or wget-1.10.2-7.el5 or wget-1.10.2-8.fc6.1, we suggest that you replace it immediately with an older and/or stabler version. This version does not honor the "-P" switch.
An alternate version that we know works is wget-1.10.2-3.2.1
You can use the following commands for this purpose.

For 32-bit:
Code: Select all
rpm -qa wget ;
wget ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm
chattr -ia /usr/bin/wget
rpm -e wget ;
rpm -ivh --force wget-1.10.2-3.2.1.i386.rpm ;
rpm -qa wget ;


For 64-bit:

Advanced wget Installation Method for both 32- and 64-bit OSes

This method works on both 32- and 64-bit systems. If you are having problems with wget, you can compile it from the source. You have two options, leave the system wget in place and install a new copy 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
Code: Select all
cd
wget http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar xfz wget-latest.tar.gz
cd wget-*
./configure
make
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
Code: Select all
cd
wget http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar xfz wget-latest.tar.gz
yum remove wget

When prompted, enter Y to remove the system wget
Code: Select all
vi /etc/yum.conf

Add wget to the end of the exclude= line near the top of this file and save changes.
Code: Select all
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.

SSH to your server(s) and enter following commands:
Code: Select all
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

NOTE: if you have problems contacting this server, please try this alternate location:
Code: Select all
wget -N http://netenberg.com/files/free/fantastico_whm_admin.tgz

Go to WHM, login as root and click on Tweak Settings, then you should ensure that both the Ioncube loader is selected for the backend copy of PHP. Save changes.

Now go here:
WHM -> Add-Ons (Plugins on v11.x or higher) -> Fantastico De Luxe WHM Admin (scroll down the left menu).
Upon loading, Fantastico De Luxe WHM Admin will auto-update your existing installation (if existing). All admin files (masterfiles, tarballs, settings etc) will be moved to or created at /var/netenberg.
After the installation is complete, click on "Settings" and go through the settings. While some settings are not important, some other (marked below with an *) are essential for a proper functioning of Fantastico installations.

Language: Select the language for the admin backend AND default language for users without a language selected.
Email notifications: Enter an email address in order to receive notifications when users perform installations using Fantastico.
Master files settings (*): If you are not an advanced user who modifies the master files, leave this to "Remove". Change this only if you know what you are doing Cheesy
PHPsuexec (*): VERY ESSENTIAL!!! Changing this value will not install or de-install phpsuexec for you. It will only tell Fantastico that you have phpsuexec installed or not installed on your server. Change to "installed" if you perform installations which produce an "Internal Server Error". Notice: Changes will not apply to existing installations! You have to re-install in order to have working installations.
Path to netPBM: Enter the full path to the netPBM binaries in order to enable Gallery installations. As long as this field has no value, your users will not be able to install Gallery.
Select Fantastico licensing and files server: If the Fantastico pages take long to load switch to the server that works best for you. Fantastico will auto-switch if connections time out.
Update preference: Select latest version (sometimes experimental) or stable version (best working).

Remote MySQL server
Open the file
Code: Select all
/usr/local/cpanel/3rdparty/fantastico/includes/mysqlconfig.php

and follow the instructions.
Also read these:
http://netenberg.com/forum/viewtopic.php?t=866
http://netenberg.com/forum/viewtopic.php?p=11482#11482

If your users don't see a Fantastico link in their cPanel: Go to WHM and edit the "default" Features List. Activate Fantastico.
If Fantastico disappeared from users` cPanels. What do I do?
You need to check three things:
Is there a symbolic link to the fantastico directory in the theme(s) you are using?

To create the symbolic links, run the following command for each theme that needs a link:
Code: Select all
ln -s /usr/local/cpanel/3rdparty/fantastico /usr/local/cpanel/base/frontend/x

Change "x" at the end of the command to the directory name of the theme you want to add the symbolic link to (monsoon, bluelagoon, etc.)
PLEASE NOTE: Some people have complained recently that the symbolic link to the fantastico directory gets removed every time CPANEL updates itself. This isn't a problem with Fantastico, this is a problem with cPanel itself. This has already been submitted as a bug. You can follow its progress here:
http://bugzilla.cpanel.net/show_bug.cgi?id=1220
* Make sure Fantastico is CHECKED (active) in the WHM Feature Manager feature set(s) you need it to be active in. Log into your WHM as root and click on the Feature Manager link and edit sets as needed.
* If you are running CPANEL 10.4.0C150 or later, and Fantastico still doesn't appear in CPANEL's own themes (xskin, etc.) please try running this when logged into your server as root via SSH:
Code: Select all
mv /usr/local/cpanel/3rdparty/fantastico/xskin.html /usr/local/cpanel/base/frontend/x/cells/fantastico.html

If after all this Fantastico is not appearing in your customer's CPANEL and you are using a custom theme, then try switching at least one account to "x" and see if the Fantastico link appears. If it does, you may be using a theme that does not support Fantastico and you should contact the theme's creator (but PLEASE make very sure you've followed the steps above BEFORE doing so, to help rule out other issues).
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron