How to Install/Uninstall Fantastico F3 on a cPanel/WHM server

How to Install/Uninstall Fantastico on a cPanel/WHM server


 
Fantastico is a web autoinstaller for cPanel Servers, you can install scripts on websites with a single click. There are more than 700 open source content management systems available in Fantastico script library and Fantastico is installed on more than ten thousand servers. You need server root access to install Fantastico auto installer and the website scripts can be easily installed through cPanel. Manually installing scripts will take time because you have to create mySQL databases, mySQL user etc. Using Fantastico it takes only few seconds and a single click to install open source content management softwares like WordPress, Drupal, Joomla etc. You can buy Fantastico license from netenberg.com or from buycpanel.com website. Free support and updates are included if you buy the software license.
 

Steps to install Fantastico F3 on a cPanel/WHM server

 
Follow the below steps to install latest Fantastico F3 on the server. You must buy the license before proceeding with the installation. You must remove “Fantastico De Luxe” from the server and use this new version. Anyone with an active Fantastico De Luxe license can upgrade to Fantastico F3 without any additional cost.

Follow the uninstall steps in the below url if you’re using Fantastico De Luxe on the server.

netenberg.com/faq/content/9/2/en/how-do-i-remove-classic-fantastico-v2x.html

You must set PHP loader as ioncube in WHM tweak settings before proceeding. Also curl is required for cPanel internal PHP.

WHM Home >> Server Configuration >> Tweak Settings >> PHP >> cPanel PHP loader >> Tick ioncube

1. Log into server via SSH as ‘root’ user

2. Create a directory for installing Fantastico F3

[root@server ~]# mkdir –parents /var/netenberg/fantastico_f3

3. Go to fantastico_f3 directory you have created

cd /var/netenberg/fantastico_f3

4. Download Fantastico F3 installation files

curl -O http://174.120.165.106/fantastico_f3/sources.tar.bz2

5. Extract the above bunzip package

cd /var/netenberg/fantastico_f3 && tar –bzip2 –extract –file sources.tar.bz2

6. Run the below command to validate the license

cd /var/netenberg/fantastico_f3/sources && /usr/local/cpanel/3rdparty/bin/php index.php license
192.168.2.5 : Pass

Submit a support ticket to them if you have a valid license and the above command shows error. Make sure you have purchased the license for the correct IP address.

7. Run the below command to Register cPanel and WHM component and cron entries

cd /var/netenberg/fantastico_f3/sources && /usr/local/cpanel/3rdparty/bin/php index.php optimize

8. Run the below command to register all the scripts

cd /var/netenberg/fantastico_f3/sources && /usr/local/cpanel/3rdparty/bin/php index.php scripts
 

Fantastico De Luxe 2.X (Older version – discontinued)


 

Steps to Install Fantastico De Luxe 2.X (older version) on cPanel Server

 
IMPORTANT : Fantastico De Luxe has been discontinued and you must follow the above steps to install Fantastico F3 on the server.

1. Log into your linux server via SSH as ‘root’

2. Change to /usr/local/cpanel/whostmgr/docroot/cgi directory using cd command

cd /usr/local/cpanel/whostmgr/docroot/cgi

3. Download Fantastico tar files from betaservant.com

wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz

OR

wget -N http://netenberg.com/files/free/fantastico_whm_admin.tgz

4. Untar the fantastico files

tar -xzpf fantastico_whm_admin.tgz

Remove the downloaded tar file

rm -f fantastico_whm_admin.tgz

[root@server ~]# cd /usr/local/cpanel/whostmgr/docroot/cgi
[root@server cgi]#
[root@server cgi]# wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
–2017-02-17 11:03:43– http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
Resolving files.betaservant.com (files.betaservant.com)… 67.225.164.62
Connecting to files.betaservant.com (files.betaservant.com)|67.225.164.62|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 182870 (179K) [application/x-tar]
Saving to: ‘fantastico_whm_admin.tgz’

fantastico_whm_admin.tgz 100%[=============================================================================>] 178.58K 921KB/s in 0.2s

2017-02-17 11:03:43 (921 KB/s) – ‘fantastico_whm_admin.tgz’ saved [182870/182870]

[root@server cgi]#
[root@server cgi]# tar -xzpf fantastico_whm_admin.tgz
[root@server cgi]# rm -rf fantastico_whm_admin.tgz

Now Fantastico is successfully installed on the server and you must login to WHM to proceed with the installation.

Log into WHM and click on “Fantastico De Luxe WHM admin” under plugins

WHM Home >> Plugins >> Fantastico De Luxe WHM admin

If you see a 403 error then you must do the below steps :

Enable the “Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the “all” ACL in WHM” option in “Tweak Settings”.

OR

Add permit_unregistered_apps_as_root=1 to the /var/cpanel/cpanel.config file, and run the /usr/local/cpanel/etc/init/startcpsrvd script.

If you see a 404 error, then go server backend and make sure “/usr/local/cpanel/whostmgr/docroot/cgi/fantastico” directory is there and the directory/file ownership is correct.