In this config we will install SugarCRM CE the community edition of customer relationship management software by SugarCRM, Inc on Debian 7 "wheezy" Linux.
The community edition of sugarCRM is licensed under AGPLv3. Current version of sugarCRM CE is 6.5.18. Head over to SugarCRM CE home page and download the latest full installation package or use the link and command below to download sugarCRM CE to your home directory:
# wget http://goo.gl/lzyQw2
Saving to: `SugarCE-6.5.18.zip'
100%[===========>] 21,267,418 722K/s in 34s
2014-10-20 06:09:54 (615 KB/s) - `SugarCE-6.5.18.zip' saved [21267418/21267418]
Next we need install all required prerequisites to run sugarCRM. The command bellow will install all necessary parts:
Here we assume that you choose to install sugarCRM into a default apache root directory /var/www. If this is not the case alter the commands below appropriately to point to your chosen installation root directory: Remove default index.html file:
# rm /var/www/index.html
Unzip SugarCRM installation package and move it to your installation directory. As it was already mention in our case it is /var/www:
Make the apache webserver as an owner of the entire installation directory:
# chown -R www-data.www-data /var/www/
Change file upload size to minimum a 6 MB. This is a sugarCRM recommended minimum value so feel free to set your own file upload size depending on your needs. To change max file size open the PHP config file /etc/php5/apache2/php.ini and amend line:
upload_max_filesize = 6M
As a last configuration step create a database user to be used by sugarCRM. Login to mysql server
# mysql -p
and execute below commands:
mysql> create database sugarcrmce;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'sugarcrm'@'localhost' IDENTIFIED BY 'mypass';
Query OK, 0 rows affected (0.01 sec)
mysql> grant CREATE, ALTER, DELETE, INSERT, SELECT, UPDATE, LOCK TABLES, DROP
-> on sugarcrmce.* to sugarcrm@localhost;
Query OK, 0 rows affected (0.00 sec)
What follows next is the actual installation. SugarCRM will start an installation wizard to guide you through this process. Main points of sugarCRM installation are below. To start installation wizard point your browser a destination webserver eg.:
ARE YOU LOOKING FOR A LINUX JOB? Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP? Get extra help by visiting our LINUX FORUM or simply use comments below.