From SME Server
Jump to navigationJump to 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:
SugarCRM Requires PHP5 which is neither included nor officially supported in SME 7.x. These instructions were developed under SME 8.0beta3 and will only work with SugarCRM 6.1.8 and older


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


  • Create an ibay named 'crm'
cd /home/e-smith/files/ibays/crm/files
  • Unzip the downloaded file
cd /home/e-smith/files/ibays/crm/files
  • Make the files accessible to the web server
chown -R www:www *
  • link to html
cd /home/e-smith/files/ibays/crm/html
ln -s ../files/SugarCE-5.2.0a/* .
chown -R www:www *
  • customize ibay settings to enable FollowSymLinks and set the correct value for PHPBaseDir:
db accounts setprop crm PHPBaseDir /home/e-smith/files/ibays/crm:/tmp
db accounts setprop crm FollowSymLinks enabled
signal-event ibay-modify
  • create sugarcrm mysql database and admin account. IMPORTANT: replace mydbpwd with a secure password in the commands below!
mysqladmin create 'sugarcrm'
grant all on sugarcrm.* to 'sugaradmin'@'localhost' identified by 'mydbpwd' ;
  • Run the SugarCRM installer at
    • Set the database name to match the database created above (sugarcrm)
    • Set the database server name to localhost
    • Enter the database administrator name and password created (sugaradmin, mydbpwd)
    • Since we pre-created the sugarcrm 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