How to Install SugarCRM in Ubuntu

by September 1, 2015 0 comments

SugarCRM is a web-based customer relationship management software. It’s available in multiple versions. SugarCRM community edition is freely available for download and use.

Follow these simple steps to install:

STEP1: Install Apache2, Mysql, Php5.

STEP2: Install PHP modules by using below commands:

$sudo apt-get install libapache2-mod-php5 libapache2-mod-perl2
$sudo apt-get install php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap
$sudo apt-get install php5-mhash php5-mysql php5-odbc curl libwww-perl imagemagick

STEP3: Here, we will create the Database for SugarCRm as “sugarcrm_db” and username for database “sugarcrm_db”.

$sudo mysql -uroot -p
mysql> CREATE DATABASE sugarcrm_db;
mysql> CREATE USER sugarcrm_db@localhost;
mysql> SET PASSWORD FOR sugarcrm_db@localhost= PASSWORD(“sugarcrm_db”);
mysql> GRANT ALL PRIVILEGES ON sugarcrm_db.* TO sugarcrm_db@localhost; IDENTIFIED BY ‘sugarcrm_db’;
mysql> FLUSH PRIVILEGES;
mysql> exit

STEP4: Now, download the SugerCRM package and copy in /tmp folder.

$cd /tmp
$sudo wget http://dl.sugarforge.org/sugarcrm/1SugarCE6.5.0/SugarCE6.5.0/SugarCE-6.5.18.zip

STEP5: Here we will extract the SugarCRM and copy the sugercrm folder in /var/www/.

$cd /tmp
$sudo unzip SugarCE-6.5.18.zip
$mv SugarCE-Full-6.5.18 sugercrm
$mv sugercrm /var/www/

STEP6: Assign proper permission to sugercrm folder

$sudo  chown  -R  www-data www-data  /var/
www/sugercrm
$sudo  chmod -R chmod -R 755 /var/
www/sugercrm

STEP7: Edit the php.ini.

$sudo  vim  /etc/php5/apache2/php.ini
and change according to below
Change
;memory_limit = 16M
to
memory_limit = 50M
Change
;upload_max_filesize = 2M
to
upload_max_filesize = 10M
Restart web server using the following command
$sudo /etc/init.d/apache2 restart

STEP8: Create Vhost file for SugarCRM.

$cd  /etc/apache2/sites-available
$vim sugarcrm.conf

STEP 9: Enable the vhost and restart the apache2 servevice:

$sudo  a2ensite  /etc/apache2/sites-available/sugercrm.conf
$sudo /etc/init.d/apache2 reload

step-9

STEP 10: Configure SugarCRM via GUI mode:
1)    Open CRM URL in browser http://192.168.5.204/.
2)    Check and click next to proceed.
3)    Enter SugarCRM database name and password and
click Next.
4)    Now enter the Admin username and password. It will be used to access admin panel of SugerCRM.
5)    Click Next three times consecutively and accept all terms and conditions. Now, the Sugar CRM has been installed in ubuntu 14.04 LTS.

No Comments so far

Jump into a conversation

No Comments Yet!

You can be the one to start a conversation.

Your data will be safe!Your e-mail address will not be published. Also other data will not be shared with third person.