How to Install Suite CRM on Linuxmint 19
Installation Of Suite CRM On Linuxmint 19
Requirements for Suite CRM:
Apache
Mysql
PHP
PHP modules
php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear
Installation procedure
Before you begin the installation process, Check the Linuxmint version by using the following command.
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.26-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database suitedb;
Query OK, 1 row affected (0.00 sec)
mysql> create user 'suiteuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.08 sec)
mysql> grant all privileges on suitedb.* to 'suiteuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
Once the database configuration is done, Download the installation package of Suite CRM by using the wget command. The link is given in the command.
root@linuxhelp:~# wget https://suitecrm.com/files/162/SuiteCRM-7.11/448/SuiteCRM-7.11.6.zip
--2019-07-20 02:39:47-- https://suitecrm.com/files/162/SuiteCRM-7.11/448/SuiteCRM-7.11.6.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/448/SuiteCRM-7.11.6.zip [following]
--2019-07-20 02:39:48-- https://suitecrm.com/suitecrm/files/162/SuiteCRM-7.11/448/SuiteCRM-7.11.6.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=448&Itemid=1000000000000 [following]
--2019-07-20 02:39:48-- https://suitecrm.com/suitecrm/index.php?option=com_dropfiles&format=&task=frontfile.download&catid=162&id=448&Itemid=1000000000000
Reusing existing connection to suitecrm.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 59890752 (57M) [application/octet-stream]
Saving to: ‘SuiteCRM-7.11.6.zip’
SuiteCRM-7.11.6.zip 100%[==========================================>] 57.12M 1.11MB/s in 52s
2019-07-20 02:40:41 (1.09 MB/s) - ‘SuiteCRM-7.11.6.zip’ saved [59890752/59890752]
Once the download is completed extract the downloaded package using unzip command.
root@linuxhelp:~# unzip SuiteCRM-7.11.6.zip
Archive: SuiteCRM-7.11.6.zip
creating: SuiteCRM-7.11.6/
inflating: SuiteCRM-7.11.6/CODE_OF_CONDUCT.md
inflating: SuiteCRM-7.11.6/HandleAjaxCall.php
inflating: SuiteCRM-7.11.6/LICENSE.txt
inflating: SuiteCRM-7.11.6/RoboFile.php
inflating: SuiteCRM-7.11.6/SugarSecurity.php
inflating: SuiteCRM-7.11.6/TreeData.php
inflating: SuiteCRM-7.11.6/campaign_tracker.php
inflating: SuiteCRM-7.11.6/composer.json
.
.
SuiteCRM-7.11.6/vendor/bin/release -> ../consolidation/self-update/scripts/release
SuiteCRM-7.11.6/vendor/bin/robo -> ../consolidation/robo/robo
SuiteCRM-7.11.6/vendor/bin/validate-json -> ../justinrainbow/json-schema/bin/validate-json
SuiteCRM-7.11.6/vendor/bin/generate-defuse-key -> ../defuse/php-encryption/bin/generate-defuse-key
SuiteCRM-7.11.6/vendor/bin/parse -> ../jeremykendall/php-domain-parser/bin/parse
SuiteCRM-7.11.6/vendor/bin/update-psl -> ../jeremykendall/php-domain-parser/bin/update-psl
Move the Suite Crm directory to apache root directory
root@linuxhelp:~# mv SuiteCRM-7.11.6 /var/www/suite
Set the ownership and permission for Suite Crm by using the following command.
root@linuxhelp:~# chown -R www-data.www-data /var/www/suite
root@linuxhelp:~# chmod -R 755 /var/www/suite
Configure the virtualhost for accessing the Suite Crm.
root@linuxhelp:~# vim /etc/apache2/sites-available/suite.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/suite
<directory /var/www/suite>
allowoverride all
allow from all
</directory>
</virtualhost>
Disable the default site access.
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the site access for accessing the Suite Crm.
root@linuxhelp:~# a2ensite suite.conf
Enabling site suite.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module.
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache service by using the following command.
root@linuxhelp:~# systemctl restart apache2
Switch to your browser and enter the domain name.
Apache,MySQL and PHP and its modules.
wget https://suitecrm.com/files/162/SuiteCRM-7.11/448/SuiteCRM-7.11.6.zip