Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Install SugarCRM Groupware on SME 7

E-mail Print PDF

This procedure will install the Open Source version of SugarCRM customer relationship management software on your SME 7 server.

 

References

 

This howto. (thank you, William)

 

This forum thread. (thank you Tariq)

 

This download page with needed bits. (thanks MasterSleepy)

 

Install Performance Enhancing Tools

 

eAccelerator and mod_deflate

 

Download the RPM packages from the download page listed above, then install them with this command:

rpm -Uvh smeserver-eaccelerator-0.9.5-1.i386.rpm
rpm -Uvh smeserver-mod_deflate-1.0-1.noarch.rpm

Install JSON

cd /usr/lib/php4
wget http://www.magicwilly.webhostingpal.com/SME7%20How%20To%20Files/\ sugarcrm/json.so

mkdir -p /etc/e-smith/templates-custom/etc/php.ini
nano -w /etc/e-smith/templates-custom/etc/php.ini/70extras

Paste the following...

extension=json.so

Control-X yes enter

expand-template /etc/php.ini

Install SugarCRM 

cd /opt
wget http://www.sugarforge.org/frs/download.php/2700/SugarOS-4.5.1b.zip
unzip SugarOS-4.5.1b.zip
mv SugarOS-Full-4.5.1b SugarCRM

Set the ownership of all the files:

chown -R www:www /opt/SugarCRM

Configure the web server: 

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86sugar

Paste the following with a blank line top and bottom... 

# SugarCRM
Alias /crm /opt/SugarCRM
<Directory /opt/SugarCRM>
    Options -Indexes
    AllowOverride all
    order deny,allow
    deny from all
    allow from all
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_admin_value open_basedir /opt/SugarCRM/:/tmp
    php_flag magic_quotes_gpc on
    php_flag track_vars on
</Directory>

Control-X then yes and enter to save.

Expand the templates to create the httpd.conf file:

expand-template /etc/httpd/conf/httpd.conf
expand-template /etc/php.ini

Restart the web server: 

/etc/rc.d/rc7.d/S86httpd-e-smith restart

Currently, the version of PHP used on the SME 7 server is 4.3.9 which is reported as unacceptable by SugarCRM.  To get past this, at least temporarily, we edit install.php from the /opt/SugarCRM directory and comment out the following line:
$workflow[] = 'checkSystem.php';

Now you can access the SugarCRM installation routine with a web browser:

http://your_server/crm

You will need the MySQL root password.  You can find it with this command:

cat /root/.my.cnf

Then just copy and paste.

Upgrades

When a new version of SugarCRM comes out, you may have an issue with the PHP version.

Tha basic procedure to install patches (upgrades from one version to the next) is to use the Upgrade Wizard from the Admin panel.

To upgrade from 4.5.1b to 4.5.1d, I had to edit the /opt/SugarCRM/modules/UpgradeWizard/index.php file and comment out the following lines by adding a "//" at the beginning of each line:

//            'systemCheck',
Last Updated on Sunday, 06 July 2008 17:43  

Your external IP

You are connecting to this site from: 38.107.179.233

Secure Client Login

Email Address:

Password: