How to install EspoCRM on CentOS 7
To install EspoCRM on CentOS 7
EspoCRM is a free and open source web-based customer relationship manager application. It is written in PHP and uses MySQL database server to store its data. It is responsive, has an easy to use web interface and comes with many languages. It can be used in various industries like wholesale and retails, e-commerce, banking, call centres etc. This tutorial covers the installation procedure of EspoCRM on CentOS 7.
Pre-Requisite
LAMP Setup
- Apache
- MariaDB
- PHP 7 along with dependencies ( yum -y install php71w php71w-cli php71w-pdo php71w-json php71w-gd php71w-openssl php71w-zip php71w-imap php71w-mbstring php71w-pdo_mysql php71w-curl )
Installation procedure
To proceed with the installation procedure, open the PHP configuration file and edit the following changes. Save and exit the file.
[root@linuxhelp EspoCRM-4.8.2]# vim /etc/php.ini
date.timezone = Asia/Kolkata
memory_limit = 128M #Change the value to at least 256M
upload_max_filesize = 2M #Change the value to at least 50M
post_max_size = 8M #Change the value to at least 50M
max_execution_time = 30 #Change the value to at least 180
max_input_time = 180 #Change the value to at least 180
The changes are made to the system. Now go to its official website for downloading the package by using the wget command followed by the download link.
[ root@linuxhelp ~]# wget https://www.espocrm.com/downloads/EspoCRM-4.8.2.zip
--2017-09-25 11:55:09-- https://www.espocrm.com/downloads/EspoCRM-4.8.2.zip
Resolving www.espocrm.com (www.espocrm.com)... 192.254.252.179
Connecting to www.espocrm.com (www.espocrm.com)|192.254.252.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36501115 (35M) [application/zip]
Saving to: ‘ EspoCRM-4.8.2.zip’
100%[======================================> ] 36,501,115 728KB/s in 58s
2017-09-25 11:56:09 (611 KB/s) - ‘ EspoCRM-4.8.2.zip’ saved [36501115/36501115]
Extract the package in Apache root directory by executing the unzip command.
[root@linuxhelp ~]# unzip EspoCRM-4.8.2.zip -d /var/www/html/
Archive: EspoCRM-4.8.2.zip
creating: /var/www/html/EspoCRM-4.8.2/
inflating: /var/www/html/EspoCRM-4.8.2/.htaccess
inflating: /var/www/html/EspoCRM-4.8.2/LICENSE.txt
inflating: /var/www/html/EspoCRM-4.8.2/bootstrap.php
inflating: /var/www/html/EspoCRM-4.8.2/clear_cache.php
inflating: /var/www/html/EspoCRM-4.8.2/cron.php
inflating: /var/www/html/EspoCRM-4.8.2/extension.php
inflating: /var/www/html/EspoCRM-4.8.2/index.php
.
.
.
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/AnnotWithDefaultValue.php
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Autoload.php
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Route.php
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Secure.php
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Template.php
inflating: /var/www/html/EspoCRM-4.8.2/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Version.php
Move to the Apache root directory and list the files in the directory.
[root@linuxhelp ~]# cd /var/www/html/ [root@linuxhelp html]# ll total 4 drwxr-xr-x 11 root root 4096 Sep 12 19:25 EspoCRM-4.8.2 [root@linuxhelp html]# cd EspoCRM-4.8.2/ [root@linuxhelp EspoCRM-4.8.2]# ll total 76 drwxr-xr-x 3 root root 15 Sep 12 19:25 api drwxrwxr-x 3 root root 17 Sep 12 19:25 application -rw-r--r-- 1 root root 1462 Sep 12 19:25 bootstrap.php -rw-r--r-- 1 root root 1564 Sep 12 19:25 clear_cache.php drwxrwxr-x 12 root root 136 Sep 12 19:25 client -rw-r--r-- 1 root root 1556 Sep 12 19:25 cron.php drwxrwxr-x 3 root root 17 Sep 12 19:25 custom drwxrwxr-x 2 root root 18 Sep 12 19:25 data -rw-r--r-- 1 root root 2683 Sep 12 19:25 extension.php drwxrwxr-x 2 root root 40 Sep 12 19:25 html -rw-r--r-- 1 root root 1611 Sep 12 19:25 index.php drwxr-xr-x 7 root root 75 Sep 12 19:25 install -rw-r--r-- 1 root root 35146 Sep 12 19:25 LICENSE.txt drwxr-xr-x 2 root root 55 Sep 12 19:25 portal -rw-r--r-- 1 root root 1562 Sep 12 19:25 rebuild.php -rw-r--r-- 1 root root 337 Sep 12 19:25 reset.html -rw-r--r-- 1 root root 2954 Sep 12 19:25 upgrade.php drwxrwxr-x 19 root root 4096 Sep 12 19:25 vendor -rw-r--r-- 1 root root 2704 Sep 12 19:25 web.config
Next provide the owner permission and file execution permission by running the set of following commands.
[root@linuxhelp EspoCRM-4.8.2]# chown -R apache:apache /var/www/html/
[root@linuxhelp EspoCRM-4.8.2]# chmod 777 /var/www/html/
Open the Apache configuration file using vim editor and make the following chnages in the system. Save and exit the file.
[root@linuxhelp EspoCRM-4.8.2]# vim /etc/httpd/conf/httpd.conf
ServerName 192.168.7.165
Directoryindex index.html index.php
AllowOverride All
Restart the Apache Service.
[root@linuxhelp EspoCRM-4.8.2]# systemctl restart httpd
Switch over to the browser and enter http://192.168.7.165/Espodirectory. The installation wizard of EspoCRM appears on the screen. Choose the required language.
Accept the license agreement and click next option.
Next enter the MySQL database details and click next option.
This window shows the list of PHP recommended settings and MySQL configuration and click install option.
The installation is complete and now create the admin credentials for EspoCRM.
Enter the system settings for the EspoCRM as shown below.
Enter the admin credentials to login to EspoCRM.
The EspoCRM' s dashboard is now shown below.
You can also view the calendar options in EspoCRM.
The user can also set the meetings, accounts, contacts, leads, opportunities, cases, email, calls and tasks.
Thus the installation procedure of EspoCRM on CentOS 7 is done successfully.
Comments ( 0 )
No comments available