How to Install SuiteCRM 7.11.7 on CentOS 7.6 Using LAMP
Installation Of SuiteCRM 7.11.7 On CentOS 7.6
Features:
Sales- manage your leads,full control over your accounts and contacts,increase efficiency with automation.
Marketing - generate new leads,nurture your existing leads,automate the tasks to the leads at the right time and also create a seamless integration with the tools you use.
Services - give best experience to the customers and efficiently manage the interactions with the customers.
IT - full control over the CRM and code and customize the CRM according to the needs of your company.
PHP Modules:
php php-gd php-xml php-mbstring php-zlib php-pecl-zip php-imap php-curl php-pcre
LAMP Stack:
Apache 2.4.6
MariaDB 5.5
PHP 7.2
Download Link :
Versions Verification :
Verify the version of PHP by executing the following command.
[root@linuxhelp ~]# php -v
PHP 7.2.17 (cli) (built: Apr 3 2019 10:02:16) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Verify the version of Apache
[root@linuxhelp ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
Verify the version of MariaDB
[root@linuxhelp ~]# mysql -V
mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1
Pre-requisites Installation:
Install the modules of php that are essentials for the installation of php
[root@linuxhelp ~]# yum install php php-gd php-xml php-mbstring php-zlib php-pecl-zip php-imap php-curl php-pcre -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: fedora.cs.nctu.edu.tw
* extras: ftp.iitm.ac.in
* remi-php72: ftp.riken.jp
* remi-safe: ftp.riken.jp
* updates: mirror.nbrc.ac.in
base | 3.6 kB 00:00:00
Package php-pecl-zip-1.15.4-1.el7.remi.7.2.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:7.2.17-1.el7.remi will be updated
.
.
.
.
.
.
Installed:
php-imap.x86_64 0:7.2.21-1.el7.remi
Dependency Installed:
libc-client.x86_64 0:2007f-16.el7 oniguruma5.x86_64 0:6.9.2-2.el7.remi
Updated:
php.x86_64 0:7.2.21-1.el7.remi php-common.x86_64 0:7.2.21-1.el7.remi php-gd.x86_64 0:7.2.21-1.el7.remi
php-mbstring.x86_64 0:7.2.21-1.el7.remi php-xml.x86_64 0:7.2.21-1.el7.remi
Dependency Updated:
php-cli.x86_64 0:7.2.21-1.el7.remi php-json.x86_64 0:7.2.21-1.el7.remi php-mysqlnd.x86_64 0:7.2.21-1.el7.remi
php-pdo.x86_64 0:7.2.21-1.el7.remi
Complete!
Modify the php Configuration file according to the suitecrm requirement
[root@linuxhelp ~]# vim /etc/php.ini
Upload_max_filesize=8M
SuiteCRM Database Configuration Setup
Log in to the MariaDB database and configure the suitecrm
[root@linuxhelp ~]# 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;
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.07 sec)
MariaDB [suite]> flush privileges;
Query OK, 0 rows affected (0.02 sec)
MariaDB [suite]> exit
Bye
SuiteCRM Installation process:
Navigate to the Document Root Directory of Apache
[root@linuxhelp ~]# cd /var/www
Download the SuiteCRM package 7.11.7 version using the following link
[root@linuxhelp www]# wget https://suitecrm.com/files/162/SuiteCRM-7.11/456/SuiteCRM-7.11.7.zip
--2019-08-10 09:59:10-- https://suitecrm.com/files/162/SuiteCRM-7.11/456/SuiteCRM-7.11.7.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/456/SuiteCRM-7.11.7.zip [following]
--2019-08-10 09:59:11-- https://suitecrm.com/suitecrm/files/162/SuiteCRM-7.11/456/SuiteCRM-7.11.7.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=456&Itemid=1000000000000 [following]
--2019-08-10 09:59:12-- https://suitecrm.com/suitecrm/index.php?option=com_dropfiles&format=&task=frontfile.download&catid=162&id=456&Itemid=1000000000000
Reusing existing connection to suitecrm.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 59678428 (57M) [application/octet-stream]
Saving to: ‘SuiteCRM-7.11.7.zip’
100%[====================================================================================================>] 59,678,428 1013KB/s in 62s
2019-08-10 10:00:14 (940 KB/s) - ‘SuiteCRM-7.11.7.zip’ saved [59678428/59678428]
List the directory to check the downloaded zip file of SuiteCRM
[root@linuxhelp www]# ls
cgi-bin html SuiteCRM-7.11.7.zip
Extract the zip file of SuiteCRM as follows
[root@linuxhelp www]# unzip SuiteCRM-7.11.7.zip
Archive: SuiteCRM-7.11.7.zip
creating: SuiteCRM-7.11.7/
inflating: SuiteCRM-7.11.7/CODE_OF_CONDUCT.md
inflating: SuiteCRM-7.11.7/HandleAjaxCall.php
inflating: SuiteCRM-7.11.7/LICENSE.txt
inflating: SuiteCRM-7.11.7/RoboFile.php
inflating: SuiteCRM-7.11.7/SugarSecurity.php
inflating: SuiteCRM-7.11.7/TreeData.php
inflating: SuiteCRM-7.11.7/campaign_tracker.php
inflating: SuiteCRM-7.11.7/composer.json
inflating: SuiteCRM-7.11.7/composer.lock
inflating: SuiteCRM-7.11.7/cron.php
inflating: SuiteCRM-7.11.7/crossdomain.xml
inflating: SuiteCRM-7.11.7/dictionary.php
inflating: SuiteCRM-7.11.7/download.php
inflating: SuiteCRM-7.11.7/emailmandelivery.php
inflating: SuiteCRM-7.11.7/export.php
.
.
.
.
.
.
SuiteCRM-7.11.7/vendor/consolidation/log/.scenarios.lock/symfony4/tests -> ../../tests
SuiteCRM-7.11.7/vendor/bin/release -> ../consolidation/self-update/scripts/release
SuiteCRM-7.11.7/vendor/bin/robo -> ../consolidation/robo/robo
SuiteCRM-7.11.7/vendor/bin/validate-json -> ../justinrainbow/json-schema/bin/validate-json
SuiteCRM-7.11.7/vendor/bin/generate-defuse-key -> ../defuse/php-encryption/bin/generate-defuse-key
SuiteCRM-7.11.7/vendor/bin/parse -> ../jeremykendall/php-domain-parser/bin/parse
SuiteCRM-7.11.7/vendor/bin/update-psl -> ../jeremykendall/php-domain-parser/bin/update-psl
List the Directory to view the extracted directory of SuiteCRM
[root@linuxhelp www]# ls
cgi-bin html SuiteCRM-7.11.7 SuiteCRM-7.11.7.zip
Rename the extracted directory of Suitecrm if needed
[root@linuxhelp www]# mv SuiteCRM-7.11.7 suite
Change the directory to suite
[root@linuxhelp www]# cd suite/
Assign ownership permissions to the suite directory recursively
[root@linuxhelp suite]# chown -R apache. ./
Assign Writable permissions to the suite directory recursively
[root@linuxhelp suite]# chmod -R 775 ./
List the directory of Suite to verify the permissions assigned
[root@linuxhelp suite]# ls -la
total 1604
drwxrwxr-x 20 apache apache 4096 Jul 31 15:30 .
drwxr-xr-x 5 root root 73 Aug 10 10:13 ..
drwxrwxr-x 5 apache apache 57 Jul 30 20:17 Api
drwxrwxr-x 4 apache apache 35 Jul 31 15:29 cache
-rwxrwxr-x 1 apache apache 3477 Jul 30 20:17 campaign_tracker.php
-rwxrwxr-x 1 apache apache 3094 Jul 30 20:17 CODE_OF_CONDUCT.md
-rwxrwxr-x 1 apache apache 2904 Jul 30 20:17 composer.json
.
.
.
.
drwxrwxr-x 2 apache apache 24 Jul 30 20:17 upload
-rwxrwxr-x 1 apache apache 2248 Jul 30 20:17 vcal_server.php
-rwxrwxr-x 1 apache apache 2686 Jul 30 20:17 vCard.php
drwxrwxr-x 35 apache apache 4096 Jul 31 15:15 vendor
drwxrwxr-x 2 apache apache 37 Jul 30 20:17 XTemplate
drwxrwxr-x 7 apache apache 198 Jul 30 20:17 Zend
Navigate to the Apache’s Customised Configuration file
[root@linuxhelp suite]# cd /etc/httpd/conf.d
Create a Virtual host for SuiteCRM
[root@linuxhelp conf.d]# vim suite.conf
<VirtualHost *:80>
servername www.linuxhelp1.com
documentroot /var/www/suite/
<directory /var/www/suite/>
allowoverride all
Allow from all
</directory>
</virtualhost>
Test the Configuration File of Apache
[root@linuxhelp conf.d]# httpd -t
Syntax OK
Restart the service of Apache
[root@linuxhelp conf.d]# systemctl restart httpd
Open the browser and enter the server name that you have customised in the SuiteCRm virtualHost