How to install google apps plugin for cpanel.

Go to the below path where you want to download the tar file.

cd /usr/local/src/

Download the tar file.

[email protected] [/usr/local/src]# wget http://google-apps-wizard-cpanel-plugin.googlecode.com/files/gaw-2.0.tar

–2012-09-24 15:59:34– http://google-apps-wizard-cpanel-plugin.googlecode.com/files/gaw-2.0.tar
Resolving google-apps-wizard-cpanel-plugin.googlecode.com… 74.125.31.82, 2404:6800:4008:c00::52
Connecting to google-apps-wizard-cpanel-plugin.googlecode.com|74.125.31.82|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 184320 (180K) [application/octet-stream]
Saving to: `gaw-2.0.tar’

100%[==============================================================================================================================>] 184,320 144K/s in 1.3s

2012-09-24 15:59:41 (144 KB/s) – `gaw-2.0.tar’ saved [184320/184320]

Untar the file using the below command

root@testserver[/usr/local/src]# tar -xvf gaw-2.0.tar
gaw-2.0/
gaw-2.0/gawinstall.sh
gaw-2.0/GoogleAppsWizard/
gaw-2.0/GoogleAppsWizard/remove.php
gaw-2.0/GoogleAppsWizard/step2.php
gaw-2.0/GoogleAppsWizard/step3.php
gaw-2.0/GoogleAppsWizard/lang/
gaw-2.0/GoogleAppsWizard/lang/en.php
gaw-2.0/GoogleAppsWizard/inc/
gaw-2.0/GoogleAppsWizard/inc/xml-api.php
gaw-2.0/GoogleAppsWizard/inc/config.inc.php
gaw-2.0/GoogleAppsWizard/index.php
gaw-2.0/gawuninstall.sh
gaw-2.0/whm/
gaw-2.0/whm/addon_gaw.cgi
gaw-2.0/whm/gaw/
gaw-2.0/whm/gaw/update.php
gaw-2.0/whm/gaw/footer.php
gaw-2.0/whm/gaw/img/
gaw-2.0/whm/gaw/img/error.png
gaw-2.0/whm/gaw/img/success.png
gaw-2.0/whm/gaw/navstyles.css
gaw-2.0/whm/gaw/header.php
gaw-2.0/whm/gaw/version.txt
gaw-2.0/whm/gaw/update/
gaw-2.0/whm/gaw/style.css
gaw-2.0/whm/gaw/index.php
gaw-2.0/whm/googleappswizard.gif
gaw-2.0/theme/
gaw-2.0/theme/gaw/
gaw-2.0/theme/gaw/Gapps.png
gaw-2.0/theme/gaw/index.php
gaw-2.0/theme/gaw/title-icon.jpg
gaw-2.0/googleappswizard.cpanelplugin
gaw-2.0/gawupdate.sh

Go inside the extracted folder

root@testserver[/usr/local/src]# cd gaw-2.0

Run the below command to start the installation process.

root@testserver[/usr/local/src/gaw-2.0]# sh gawinstall.sh

It will show the below output.

############################################################
# Installing Files #
############################################################

20% COMPLETE
40% COMPLETE
60% COMPLETE
80% COMPLETE
100% COMPLETE

############################################################
# Installing Files Complete #
############################################################
############################################################
# Installing Theme Files #
############################################################

Installed support for x3 theme…
Installed support for x3mail theme…

############################################################
# Installing Theme Files Completed #
############################################################
############################################################
# Updating cPanel User Interface #
# Please Wait… #
############################################################
##########################################################
################ Installation complete ###################
##########################################################

cPanel users will now have access to Google Apps Wizard from
the ‘Mail’ icon group in cPanel. You can use the feature
lists in WebHost Manager to see what domains are defined
to work with Google Apps mail servers.