How to Install SuiteCRM 7.11.5 Version on CentOS 7.6 using LEMP
- 00:58 wget https://suitecrm.com/files/162/SuiteCRM-7.11/435/SuiteCRM-7.11.5.zip
- 01:08 unzip SuiteCRM-7.11.5.zip
- 01:22 mv SuiteCRM-7.11.5 suitecrm
- 01:33 chown -R nginx. ./
- 01:37 chmod -R 775 ./
- 01:56 vim suite.conf
- 02:17 mysql -u root -p
- 02:52 vim /etc/php.ini
- 03:27 systemctl restart php-fpm
- 03:37 cd /var/lib/php
- 03:47 chown -R nginx. session/
- 03:50 systemctl restart nginx
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 :
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.
Comments ( 0 )
No comments available