AMP AMP

How to Install SuiteCRM 7.11.5 Version on CentOS 7.6 using LEMP

Installation of SuiteCRM 7.11.5

Features:

Sales

Marketing

Service

IT

PHP Modules:

php php-gd php-xml php-mbstring php-zlib php-pecl-zip php-imap php-curl php-pcre 

LEMP Stack:

Nginx 1.17.0
MAriaDB 10.3
PHP 7.2

Download Link :

enter link description here

Installation procedure

Change the directory to the nginx document root directory

[root@linuxhelp ~]# cd /usr/share/nginx/html

Download the SuiteCRM 7.11.5 version using wget as follows:

[root@linuxhelp html]# wget  https://suitecrm.com/files/162/SuiteCRM-7.11/435/SuiteCRM-7.11.5.zip
--2019-06-15 06:27:59--  https://suitecrm.com/files/162/SuiteCRM-7.11/435/SuiteCRM-7.11.5.zip
Resolving suitecrm.com (suitecrm.com)... 104.248.173.173
Connecting to suitecrm.com (suitecrm.com)|104.248.173.173|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /suitecrm/files/162/SuiteCRM-7.11/435/SuiteCRM-7.11.5.zip [following]
--2019-06-15 06:28:00--  https://suitecrm.com/suitecrm/files/162/SuiteCRM-7.11/435/SuiteCRM-7.11.5.zip
Reusing existing connection to suitecrm.com:443.
HTTP request sent, awaiting response... 303 See other
Location: https://suitecrm.com/suitecrm/index.php?option=com_dropfiles&format=&task=frontfile.download&catid=162&id=435&Itemid=1000000000000 [following]
--2019-06-15 06:28:00--  https://suitecrm.com/suitecrm/index.php?option=com_dropfiles&format=&task=frontfile.download&catid=162&id=435&Itemid=1000000000000
Reusing existing connection to suitecrm.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 58853232 (56M) [application/octet-stream]
Saving to: ‘SuiteCRM-7.11.5.zip’

100%[====================================================================================================>] 58,853,232  1.08MB/s   in 73s    

2019-06-15 06:29:13 (790 KB/s) - ‘SuiteCRM-7.11.5.zip’ saved [58853232/58853232]

Extract the zip file of suitecrm by executing the following command

[root@linuxhelp html]# unzip SuiteCRM-7.11.5.zip
Archive:  SuiteCRM-7.11.5.zip
   creating: SuiteCRM-7.11.5/
  inflating: SuiteCRM-7.11.5/install.php  
  inflating: SuiteCRM-7.11.5/vcal_server.php  
  inflating: SuiteCRM-7.11.5/vCard.php  
  inflating: SuiteCRM-7.11.5/sugar_version.php  
  inflating: SuiteCRM-7.11.5/sugar_version.json  
  inflating: SuiteCRM-7.11.5/soap.php  
  inflating: SuiteCRM-7.11.5/run_job.php  
  inflating: SuiteCRM-7.11.5/robots.txt  
  inflating: SuiteCRM-7.11.5/php_version.php  
  inflating: SuiteCRM-7.11.5/pdf.php  
  inflating: SuiteCRM-7.11.5/maintenance.php  

.
.
.
.
.
.
.

inflating: SuiteCRM-7.11.5/modules/AOD_Index/Lib/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum/CaseInsensitive.php  
   creating: SuiteCRM-7.11.5/modules/AOD_Index/Lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text/
  inflating: SuiteCRM-7.11.5/modules/AOD_Index/Lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Text/CaseInsensitive.php  
finishing deferred symbolic links:
  SuiteCRM-7.11.5/vendor/bin/update-psl -> ../jeremykendall/php-domain-parser/bin/update-psl
  SuiteCRM-7.11.5/vendor/bin/parse -> ../jeremykendall/php-domain-parser/bin/parse
  SuiteCRM-7.11.5/vendor/bin/generate-defuse-key -> ../defuse/php-encryption/bin/generate-defuse-key
  SuiteCRM-7.11.5/vendor/bin/validate-json -> ../justinrainbow/json-schema/bin/validate-json
  SuiteCRM-7.11.5/vendor/bin/robo -> ../consolidation/robo/robo
  SuiteCRM-7.11.5/vendor/bin/release -> ../consolidation/self-update/scripts/release

List the contents to view the extracted directory of suitecrm

[root@linuxhelp html]# ll
total 57492
-rw-r--r--  1 root root      494 May 21 20:27 50x.html
-rw-r--r--  1 root root      612 May 21 20:27 index.html
-rw-r--r--  1 root root       20 Jun 14 23:47 info.php
drwxrwxr-x 20 root root     4096 Jun  3 20:17 SuiteCRM-7.11.5
-rw-r--r--  1 root root 58853232 Jun 15 06:29 SuiteCRM-7.11.5.zip

Rename the extracted directory of suitecrm

[root@linuxhelp html]# mv SuiteCRM-7.11.5 suitecrm

Change the directory to suitecrm

[root@linuxhelp html]# cd suitecrm/

Assign Ownership permissions to the suitecrm directory

[root@linuxhelp suitecrm]# chown -R nginx. ./

Assign SWritablepermissions to the current working directory recursively

[root@linuxhelp suitecrm]# chmod -R 775 ./

Change the directory to the nginx configuration file

[root@linuxhelp suitecrm]# cd /etc/nginx/conf.d

Create a virtual host named suite as follows

[root@linuxhelp conf.d]# vim suite.conf
server {
listen 80;
server_name www.linuxhelp1.com;
root /usr/share/nginx/html/suitecrm/;
index index.php index.html index.htm;
location ~* \.php$ {
      fastcgi_pass 127.0.0.1:9000;
      include         fastcgi_params;
      fastcgi_param   SCRIPT_FILENAME    $document_root$fastcgi_script_name;
      fastcgi_param   SCRIPT_NAME        $fastcgi_script_name;
    }
}

Login to the MariaDB database to configure it for the suitecrm

[root@linuxhelp conf.d]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 5.5.60-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


MariaDB [(none)]> create database suite character set utf8mb4;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> use suite;
Database changed
MariaDB [suite]> grant all on suite.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.04 sec)

MariaDB [suite]> flush privileges;
Query OK, 0 rows affected (0.02 sec)

MariaDB [suite]> exit
Bye

Modify the configuration of php as follows

[root@linuxhelp conf.d]# vim /etc/php.ini
upload_max_filesize=8M
session.save_path="/var/lib/php/session"

Restart the servcie of php-fpm

[root@linuxhelp conf.d]# systemctl restart php-fpm

Test the configuration file of nginx

[root@linuxhelp conf.d]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Change the directory to session.save_path

[root@linuxhelp conf.d]# cd /var/lib/php
[root@linuxhelp php]# ll
total 0
drwxrwx--- 2 root apache  6 May 29 14:43 opcache
drwxrwx--- 2 root apache 45 May 29 14:43 session
drwxrwx--- 2 root apache  6 May 29 14:43 wsdlcache

Modify the ownership permissions of session directory to nginx

[root@linuxhelp php]# chown -R nginx. session/

Restart the service of nginx

[root@linuxhelp php]# systemctl restart nginx

Open the browser and enter the server name that you have configured in the suitecrm virtual host Click on Accept by agreeing the license terms of suitecrm After successful system environment check,click on Next Enter the database details that had configured inside the MariaDB for SuiteCRM by choosing existing user and Create login credentials as well After the successful setup completion of SuiteCRM,Click on NExt Enter the admin credentials that you have provided during the installation process Dashboard of SuiteCRM appears With the plug-ins

With this,Installation of SuiteCRM 7.11.5 Using LEMP On CentOS 7.6 comes to end.

FAQ
Q
What does sandbox mean in suitecrm?
A
In SuiteCRM,Sandbox feature enables the administrators to easily develop and test the changes to the CRM deployment where made changes can easily get migrated into the production or live environment
Q
What does forecasting feature do in suitecrm?
A
In SuiteCRM,forecasting enables projection of sales revenue,based on historical sales of data,analysis of market surveys and trends and salespersons' estimates.
Q
What does email marketing do in Suitecrm
A
In SuiteCRM.Email Marketing allow users to send email to contacts in bulk.
Q
What does Partner relationship management do in Suitecrm?
A
In SuiteCRM, PArtner Relationship Management manages the partners by tracking channel partner leads and sales opportunities.
Q
What does Desktop Integration Feature do in suitecrm?
A
In SuiteCRM,Desktop Integration allows users to sync their Email,calendar and contact tools with their CRM system.