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 [[ | + | {{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/ | + | * 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. | + | 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 ' | + | mysqladmin create 'suitecrm' |
mysql | mysql | ||
− | grant all on sugarcrm.* to ' | + | grant all on sugarcrm.* to 'suiteadmin'@'localhost' identified by 'mydbpwd' ; |
quit | quit | ||
− | * Run the | + | * Run the SuiteCRM installer at http://your.smeserver.name.or.IP/install.php |
− | ** Set the database name to match the database created above ('' | + | ** 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 ('' | + | ** Enter the database administrator name and password created (''suiteadmin'', ''mydbpwd'') |
− | ** Since we pre-created the '' | + | ** 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
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'
- Download and extract SuiteCRM Check for the latest version at https://suitecrm.com/download/ .
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.