SuiteCRM

From SME Server
Jump to: navigation, search
Incomplete.png Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page

Edit-find-replace.png Not reviewed:
This howto or contrib has not been reviewed and might contain code that could harm your installation. For more information on the review process have a look at the Development Review page.

Warning.png Warning:
SuiteCRM Requires PHP7. These instructions were developed under SME 9.2 and SuiteCRM 7.10.4

Overview

SuiteCRM is an open source Customer Relationship Management platform supporting both paid and free/community users.

install php-scl

follow instructions on PHP Software Collections to instal php 7

maybe install phpmyadmin?


Installation

install in primary ibay or

  • Create an ibay named 'crm'
cd /home/e-smith/files/ibays/Primary/files
wget https://suitecrm.com/files/160/SuiteCRM-7.10.4/276/SuiteCRM-7.10.4.zip
  • Unzip the downloaded file
cd /home/e-smith/files/ibays/Primary/files
unzip SuiteCRM-7.10.4.zip
  • Make the files accessible to the web server
chown -R www:www *
  • link to html
cd /home/e-smith/files/ibays/Primary/html
ln -s ../files/SuiteCRM-7.10.4/* .
chown -R www:www *
  • customize ibay settings to enable FollowSymLinks and set the correct value for PHPBaseDir:
db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary:/tmp
db accounts setprop Primary FollowSymLinks enabled
signal-event ibay-modify
  • remove index.html from Primary (or other) ebay
cd /home/e-smith/files/ibays/Primary/html
rm index.htm
  • create sugarcrm mysql database and admin account. IMPORTANT: replace mydbpwd with a secure password in the commands below!
mysqladmin create 'suitecrm'
mysql
grant all on sugarcrm.* to 'suiteadmin'@'localhost' identified by 'mydbpwd' ;
quit
  • Run the SuiteCRM installer at http://your.smeserver.name.or.IP/install.php
    • Set the database name to match the database created above (suitecrm)
    • Set the database server name to localhost
    • Enter the database administrator name and password created (suiteadmin, mydbpwd)
    • Since we pre-created the suuitecrm database manually, you will be prompted to agree to overwrite the existing database; select "I Accept"
    • Answer the remaining questions (timezone, date and time format, etc) as appropriate
  • To Setup Crontab

In order to run SuiteCRM Schedulers, edit your web server user's crontab file with this command:

sudo crontab -e -u www

... and add the following line to the crontab file:

*    *    *    *    *     cd /home/e-smith/files/ibays/Primary/html; php -f cron.php > /dev/null 2>&1

You should do this only after the installation is concluded.