Difference between revisions of "SuiteCRM"

From SME Server
Jump to navigationJump to search
(Created page with "{{Incomplete}} {{Needs review}} {{Warning box|SuiteCRM Requires PHP56. These instructions were developed under SME 10.0Alfa3 and SuiteCRM 7.10.4 }} == Overview == [https:...")
 
 
Line 1: Line 1:
 
{{Incomplete}}
 
{{Incomplete}}
 
{{Needs review}}
 
{{Needs review}}
{{Warning box|SuiteCRM Requires [[PHP56]].  These instructions were developed under SME 10.0Alfa3 and SuiteCRM 7.10.4 }}
+
{{Warning box|SuiteCRM Requires [[PHP7]].  These instructions were developed under SME 9.2 and SuiteCRM 7.10.4 }}
 
== Overview ==
 
== Overview ==
 
[https://suitecrm.com/ SuiteCRM] is an open source Customer Relationship Management platform supporting both paid and free/community users.
 
[https://suitecrm.com/ 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 ==
 
== Installation ==
Line 9: Line 16:
 
* Create an ibay named 'crm'
 
* Create an ibay named 'crm'
  
* Download and extract SuiteCRM Check for the latest version at https://suitecrm.com/download/ .  For some reason, ''wget'' does not exit after the download completes until you press <Enter>.
+
* Download and extract SuiteCRM Check for the latest version at https://suitecrm.com/download/ .  
 
  cd /home/e-smith/files/ibays/Primary/files
 
  cd /home/e-smith/files/ibays/Primary/files
 
  wget https://suitecrm.com/files/160/SuiteCRM-7.10.4/276/SuiteCRM-7.10.4.zip
 
  wget https://suitecrm.com/files/160/SuiteCRM-7.10.4/276/SuiteCRM-7.10.4.zip
Line 32: Line 39:
 
* remove index.html from Primary (or other) ebay
 
* remove index.html from Primary (or other) ebay
 
  cd /home/e-smith/files/ibays/Primary/html
 
  cd /home/e-smith/files/ibays/Primary/html
  rm index.html
+
  rm index.htm
  
 
* create sugarcrm mysql database and admin account.  '''IMPORTANT''': replace ''mydbpwd'' with a secure password in the commands below!
 
* create sugarcrm mysql database and admin account.  '''IMPORTANT''': replace ''mydbpwd'' with a secure password in the commands below!
  mysqladmin create 'sugarcrm'
+
  mysqladmin create 'suitecrm'
 
  mysql
 
  mysql
  grant all on sugarcrm.* to 'sugaradmin'@'localhost' identified by 'mydbpwd' ;
+
  grant all on sugarcrm.* to 'suiteadmin'@'localhost' identified by 'mydbpwd' ;
 
  quit
 
  quit
  
* Run the SugarCRM installer at http://your.smeserver.name.or.IP/install.php
+
* Run the SuiteCRM installer at http://your.smeserver.name.or.IP/install.php
** Set the database name to match the database created above (''sugarcrm'')
+
** Set the database name to match the database created above (''suitecrm'')
 
** Set the database server name to ''localhost''
 
** Set the database server name to ''localhost''
** Enter the database administrator name and password created (''sugaradmin'', ''mydbpwd'')
+
** Enter the database administrator name and password created (''suiteadmin'', ''mydbpwd'')
** Since we pre-created the ''sugarcrm'' database manually, you will be prompted to agree to overwrite the existing database; select "I Accept"
+
** 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
 
** 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.
  
  

Latest revision as of 18:06, 12 April 2018

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.