How to Install Espo CRM 5.6.1 on CentOS 7.5
To install Espo crm 5.6.1 on centos 7.5
EspoCRM is a free and open source web-based customer relationship management application. It is written in PHP and uses the MySQL database server to store its data. It is responsive, has an easy to use web interface and comes in many languages. It can be used in various industries like retails, e-commerce, banking, call centers etc.This tutorial covers the installation of Espo crm 5.6.1 on centos 7.5.
Requirements for Espo crm:
Apache
Mariadb
Php 7.2 and its modules
(php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt php-mbstring php-zip php-xml)
Installation procedure
Check the centos version by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64
configure the MySQL database. Log into MySQL as a root user and make the necessary settings.
Configure the Database as shown below
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
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 espodb;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'espouser'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on espodb.* to 'espouser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted
Once the database configuration is done, you shall download the espo crm with the help of the following command.
[root@linuxhelp ~]# wget https://www.espocrm.com/downloads/EspoCRM-5.6.1.zip
--2019-04-25 15:31:19-- https://www.espocrm.com/downloads/EspoCRM-5.6.1.zip
Resolving www.espocrm.com (www.espocrm.com)... 149.28.233.144
Connecting to www.espocrm.com (www.espocrm.com)|149.28.233.144|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40655801 (39M) [application/zip]
Saving to: ‘EspoCRM-5.6.1.zip’
100%[==========================================================>] 40,655,801 1002KB/s in 41s
2019-04-25 15:32:01 (961 KB/s) - ‘EspoCRM-5.6.1.zip’ saved [40655801/40655801]
Once the download is completed extract the download package using unzip command
[root@linuxhelp ~]# unzip EspoCRM-5.6.1.zip
Archive: EspoCRM-5.6.1.zip
creating: EspoCRM-5.6.1/
inflating: EspoCRM-5.6.1/websocket.php
inflating: EspoCRM-5.6.1/web.config
inflating: EspoCRM-5.6.1/upgrade.php
inflating: EspoCRM-5.6.1/rebuild.php
inflating: EspoCRM-5.6.1/LICENSE.txt
inflating: EspoCRM-5.6.1/index.php
.
.
.
inflating: EspoCRM-5.6.1/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Secure.php
inflating: EspoCRM-5.6.1/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Route.php
inflating: EspoCRM-5.6.1/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/Autoload.php
inflating: EspoCRM-5.6.1/vendor/doctrine/annotations/tests/Doctrine/Tests/Common/Annotations/Fixtures/Annotation/AnnotWithDefaultValue.php
Move the espo crm directory to apache root directory
[root@linuxhelp ~]# mv EspoCRM-5.6.1 /var/www/espo
Set the ownership and permission for espo crm by using the following command
[root@linuxhelp ~]# chown -R apache:apache /var/www/espo
[root@linuxhelp ~]# chmod -R 755 /var/www/espo
Configure the virtualhost for accesing the espo crm
[root@linuxhelp ~]# vim /etc/httpd/conf.d/espo.conf
<virtualhost *:80>
servername www.linuxhelp1.com
Documentroot /var/www/ espo
<Directory /var/www/espo>
AllowOverride all
allow from all
</Directory>
</virtualhost>
Restart the apache service by using the following command
[root@linuxhelp ~]# systemctl restart httpd
Switch to your browser and enter your domain name
Choose the Language and continue
Accept the License terms and continue
Configure the Database Connection setup
Verify the System Requirements and start the installation
Configure the admin account setup
Configure the system settings
Configure the SMTP settings
After the installation, you will see the following page
Log in using the admin credentials
After the successful login, you will see the admin dashboard as shown below
with this, the method to install Espo CRM V5.6.1 on Ubuntu 18.10 comes to an end.
# vim /etc/apache2/sites-available/espo.conf
# a2ensite espo.conf
# wget https://www.espocrm.com/downloads/EspoCRM-5.6.1.zip