How to install X2CRM 6.9 on Ubutnu 18.04
To install X2CRM 6.9 on Ubuntu 18.04
X2CRM is a free and open source Customer Relationship Management (CRM) application. It allows the user to create a Web site like marketing, sales and customer service for CRM application. Installation of X2CRM is explained in this manual. X2CRM consists of Activity management, Contact management, Reporting, Deal tracking, Product management, etc.
Prerequisites
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0 php7.0-common php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl
php7.0-cli php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl
Download an X2CRM package using the following command
root@linuxhelp1:~# wget https://github.com/X2Engine/X2Engine/archive/master.zip
--2018-06-07 07:32:48-- https://github.com/X2Engine/X2Engine/archive/master.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
.
.
HTTP request sent, awaiting response... 200 OK
Length: 32274905 (31M) [application/zip]
Saving to: ‘ master.zip’
master.zip 100%[==============================> ] 30.78M 1.01MB/s in 32s
2018-06-07 07:33:23 (986 KB/s) - ‘ master.zip’ saved [32274905/32274905]
The downloaded package is a zip file, so unzip the package now
root@linuxhelp1:~# unzip master.zip
Archive: master.zip
ffe7f502d0519a1c86d7c10b8a3381a838d220ea
creating: X2CRM-master/
inflating: X2CRM-master/.gitignore
inflating: X2CRM-master/.travis.yml
inflating: X2CRM-master/CHANGELOG.md
.
.
creating: X2CRM-master/x2engine/uploads/protected/media/ssmith/
inflating: X2CRM-master/x2engine/uploads/protected/media/ssmith/heatmap_2012-10-11.jpeg
inflating: X2CRM-master/x2engine/uploads/protected/pigeon_point.jpg
inflating: X2CRM-master/x2engine/uploads/protected/santacruznight_blur.jpg
inflating: X2CRM-master/x2engine/webConfig.php
inflating: X2CRM-master/x2engine/webListener.php
inflating: X2CRM-master/x2engine/webTracker.php
Move the unzipped file into the following path
root@linuxhelp1:~# mv X2CRM-master /var/www/
Switch to the following directory
root@linuxhelp1:~# cd /var/www/
Change the ownership and permission of the file
root@linuxhelp1:/var/www# chown -R www-data.www-data X2CRM-master
root@linuxhelp1:/var/www# chmod -R 775 X2CRM-master
Create a new virtual host configuration for accessing the X2CRM application
root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/x2crm.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/X2CRM-master/x2engine/
< Directory /var/www/X2CRM-master/x2engine/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Enable the site access
root@linuxhelp1:/var/www# a2ensite x2crm.conf
Enabling site x2crm.
To activate the new configuration, you need to run:
systemctl reload apache2
Disable the default access
root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache
Enable the rewrite module
root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache2 service
root@linuxhelp1:/var/www# systemctl restart apache2
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name
Configure the Admin user information, Database detail, Server detail
Once the Installation is complete you will see the following Page.
Login with help of admin user credential as follows
Administration control panel of X2CRM
With this, the method to install X2CRM 6.9 on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available