Sugar CRM Community Edition is an open source and web based customer relationship management (CRM) software. It provides many functions such as activity management, contacts, accounts, campaigns, web-to-lead forms, dashboards, email clients and marketing, project management, bug tracking, shared calendars etc. that allow maximum management for business and client relationships.
In this tutorial we will show you how to install Sugar CRM Community Edition on an Ubuntu VPS in less than 5 minutes.
Download the latest version of Sugar CRM Community Edition available at http://sourceforge.net/projects/sugarcrm/files/ to the ‘/opt’ directory on the server. Then, extract it and move the Sugar CRM files and directories to the ‘/var/www/html/sugar’ directory. At the time of writing this tutorial, the latest stable version of Sugar CRM Community Edition is 6.5.20.
Sugar CRM Community Edition requires:
- PHP with bcmath, cURL, GD graphics library, hash, IMAP, JSON, mbstring, MySQLi, openSSL, SimpleXML, ZIP and ZLIB PHP extensions enabled.
- Apache Web Server >= 2.x+
- MySQL >= 5.x installed on your Linux VPS.
Update your OS package lists and install the software updates using the following commands:
Install PHP and required PHP modules:
In order to improve performance, it is recommended to have JSMin PHP extension installed on your server. The JSMin PHP extension can be installed using the pecl command:
Edit the php.ini configuration file and add ‘extension=jsmin.so’ to it:
Also, add/modify the following settings:
InboundEmail and Campaigns (Email) require the IMAP libraries, so enable the IMAP module:
Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘sugar.conf’:
then, add the following lines:
Restart the Apache web server for the changes to take effect:
The following files and directories inside the ‘/var/www/html/sugar/’ directory need to be writable from your web server:
This can easily be accomplished by executing the following command:
Create a new MySQL database named ‘sugarcrm’ on your server:
Do not forget to change ‘sugar-password’ with a strong password for your ‘sugar’ MySQL user.
Open http://your-domain.com in your favorite web browser and follow the easy instructions.
In order to run Sugar Schedulers, add the following line to the crontab file:
That is it. The Sugar CRM installation is now complete. Of course you don’t have to do any of this if you use one of our Ubuntu Optimized VPS Hosting services, in which case you can simply ask our expert Linux admins to install Sugar CRM for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.
am getting a package is not available error when trying to Install PHP and required PHP modules. Any advice? thanks
What version of Ubuntu are you using? You can try to use ‘php’ instead of ‘php5’ and see if that solves your problem.
Thanks.
Thanks its working fine…
In browser i am getting this !! what to do now
startSession();
$app->execute();
?>
Check the log files for any relevant error messages.