How To Install Zurmo

How To Install Zurmo

SHORT INTRODUCTION

Zurmo CRM is an open source customer relationship management (CRM) app for businesses and individuals who want to manage their customers across mobile, social platforms and more… It provides the CRM workflow engine and features and is easy to configure and setup

Step 1:Install LAMP by installing Apache web server and MariaDB

$ sudo yum -y install httpd mariadb-server mariadb

Step 2: Run the following command to install EPEL repository

$ sudo yum -y install epel-release
$sudo yum -y update

Step 3 : -Now install Webtatic repository using the following commands

$ sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Step 4 : To install PHP 5.6 and all the required PHP modules, run the following command

$ sudo yum -y install php56w php56w-cli php56w-pcre php56w-spl php56w-ctype php56w-soap php56w-curl php56w-mbstring php56w-pecl-apcu php56w-pecl-memcache php56w-imap php56w-pdo php56w-pdo_mysql php56w-zip php56w-gd php56w-mcrypt php56w-ldap
$ sudo /usr/pgsql-9.6/bin/postgresql96-setup
$sudo systemctl start postgresql-9.6.service
$sudo systemctl enable postgresql-9.6.serviceinitdb
$ sudo su - postgres -c "createuser -s odoo"

Step 5 : you can check the version of PHP using the following command

# sudo php -v

Step 6 : Configure PHP file /etc/php.ini

vi /etc/php.ini

Scroll down to find the following lines:

;date.timezone =

Remove the semicolon from the start of the line and provide the appropriate time zone. For example

date.timezone = Asia/Kolkata

Now find the following lines and change the values according to instructions given.

upload_max_filesize = 2M  #Change the value to at least 20M

post_max_size = 8M #Change the value to at least 20M

max_execution_time = 30 #Change the value to at least 300

Save the file and exit from editor.

Step 7: Now start Apache web server and enable it to start at boot time using the following command.

#sudo systemctl start httpd
#sudo systemctl enable httpd

Step 8:Install Memcached using the following command

# sudo yum -y install memcached

Step9 : Now start and enable Memcached to automatically start at boot time.

# sudo systemctl enable memcached 
# sudo systemctl start memcached

Step10 : Start and Enable Mariadb services.

# sudo systemctl start mariadb 
# sudo systemctl enable mariadb

Step11 : Now run the following commands to secure your MySQL or MariaDB installation.

# mysql_secure_installation

the root password is not set, just press enter to proceed further.

 

Step12 : To create a database we will need to login to MySQL command line first. Run the following command for same.

# mysql -u root -p

Password : you set the in privious step root password please mention.

To create a new database and user run the following query.

# CREATE DATABASE zurmo_data;

# CREATE USER ‘zurmo_user’@’localhost’ IDENTIFIED BY ‘StrongPassword’;

# GRANT ALL PRIVILEGES ON zurmo_data.* TO ‘zurmo_user’@’localhost’;

# FLUSH PRIVILEGES;

#  exit;

Step13 : Download the install package from Zurmo website.

# cd /var/www
# wget http://build.zurmo.com/downloads/zurmo-stable-3.2.7.c53e0c6df135.tar.gz

Step14 : Now extract the archive using the following command

# tar -xvzf zurmo-stable-*.tar.gz

Step15 : Disable your SELinux To completely disable the SELinux you will need to edit /etc/selinux/config file.

# tar -xvzf zurmo-stable-*.tar.gz
$ vi /etc/selinux/config

Find the following line:

SELINUX=enforcing

Change it to:

SELINUX=disabled

Step16 : Change the ownership of the application to web server

# chown -R apache:apache /var/www/zurmo

Step17 : You may also need to allow HTTP traffic on port 80 through the firewall.

# firewall-cmd --zone=public --permanent --add-service=http 
# firewall-cmd --reload

Step18 - - Now create a virtual host for the Zurmo application.

# vi /etc/httpd/conf.d/crm.yourdomain.com.conf

Paste the following lines into the file.

<VirtualHost *:80>

ServerAdmin me@liptanbiswas.com

DocumentRoot “/var/www/zurmo/app”

ServerName crm.yourdomain.com

ServerAlias www.crm.yourdomain.com

<Directory “/var/www/zurmo/app”>

Options Indexes FollowSymLinks

AllowOverride All

Require all granted

</Directory>

ErrorLog “/var/log/httpd/crm.yourdomain.com-error_log”

CustomLog “/var/log/httpd/crm.yourdomain.com-access_log” combined

</VirtualHost>

Save the file and exit.

Step19 : Restart your Apache server

# systemctl restart httpd

Step20 : Go to the following link using your favourite web browser.

http://crm.yourdomain.com



You will be welcomed by the following page.

Now, installation is successfull!!

Similar Posts