How To Install SugarCRM

How To Install SugarCRM

SHORT INTRODUCTION

These documents will go through the requirements and steps to install or upgrade a Sugar example site (hosted on a local web server). The following instructions are intended for program managers with access to the appropriate programs and technical information used.

Step 1: Installing LAMP Stack in Linux

$ sudo yum install httpd mariadb-server mariadb php php-mysql php-pdo php-gd php-mbstring php-imap

Step 2:Start MySQL service and use mysql_secure_installation script to secure database:

$ sudo systemctl start mariadb
$sudo mysql_secure_installation

Step 3 :  Now, create MySQL database. Login to MySQL database and run the below commands

$ sudo mysql -u root -p
create database sugarcms;
grant all privileges on sugarcms.* to 'tecmint'@'localhost' identified by 'password';
flush privileges;
exit;

Step 4 : Selinux in enabled on our machine. In case the policy is set to  Enforced disable it by issuing the below commands:

$ sudo getenforce
$ sudo setenforce 0
$ sudo getenforce

Step 5 : To completely disable Selinux, open /etc/selinux/config file and set the line SELINUX to disabled.

$ sudo vi /etc/selinux/config

Step 6 :To over-ride Selinux policy run the below command:

$ sudo chcon -R -t httpd_sys_content_rw_t /var/www/html/

Step 7 : open /etc/php.ini  configuration file and make the following changes:

$ sudo vi /etc/php.ini  

1.  pload_file_size to minimum 7MB

2. date.timezone variable to your server physical timezone.

upload_max_filesize = 7M

date.timezone = Europe/Bucharest

Step 8 : Restart Apache Service Use The Following Command:​​

$ sudo systemctl restart httpd.service

Step 9: Install SugarCRM Latest Version On Your System By Issuing The Following Command:​

$sudo wget https://sourceforge.net/projects/sugarcrm/files/OldFiles/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X/SugarCE-6.5.26.zip

Step 10: Extract The Sugarcrm File And Copy The Configuration Files To Your Webserver Document Root. /Var/Www/Html Directory By Running The Below Commands:​

$sudo unzip SugarCE-6.5.26.zip
$sudo cp -rf SugarCE-Full-6.5.26/* /var/www/html/
$sudo ls /var/www/html/

Step 11: Next, Change Directory To /Var/Www/Html And Modify The Permissions Recursively For The Below Directories And Files In Order To Grant Apache With Write Permissions:​

$sudo cd /var/www/html/
$sudo chmod -R 775 custom/ cache/ modules/ upload/
$sudo chgrp -R apache custom/ cache/ modules/ upload/
$sudo chmod 775 config.php config_override.php
$sudo chgrp apache config.php config_override.php

Step 12: Create An Htaccess File On Webroot Directory And Grant Apache With Write Permissions To This File:​

$sudo touch .htaccess
$sudo chmod 775 .htaccess
$sudo chgrp apache .htaccess

Step 13: Open A Browse Http:///Install.Php​

choose the installation language and hit the Next button.

After a series of system checks hit Next to continue.

 On the next screen accept the license and hit Next button again.

Here choose Custom Install and click Next button to proceed further.

Choose MySQL as internal database for SugarCRM and hit Next button again.

Step 14: MySQL database and hit Next when finished:

 

Database Name: sugarcms

Host name: localhost

Database Administrator Username: root

Database Admin Password: password

Sugar Database Username: Same as Admin User

Populate Database with Demo Data: no

If the database is already created notification will prompt you to verify DB Credentials. Hit the Accept button to proceed further.

 

 On the next screen the installer you ask you the URL of Sugar instance and a name for the system. Leave the URL value as default and choose a descriptive name for the SugarCRM system. Also, enter an Admin username and password for SugarCRM.

Step 15: On the next screen, Site Security, uncheck all options and press Next to continue:

Step 16: Finally, review SugarCRM configurations and confirm settings by pressing the Install button.

Step 17: After the installation finishes, hit Next button to continue. You can also upload a Language Pack for SugarCRM if that’s the case.

Step 18: On the next screen you can choose to register the software. If that’s the case, fill the required fields accordingly and hit Submit. When finished hit the Next button again and the Login main window should appear :

Step 19: Login with the credentials created earlier and proceed by personalizing SugarCMS with a logo, locale settings, mail settings, and your personal information:

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Comments

No comments to show.