How to Install X2CRM on CentOS 7.5
- 00:36 rpm -q centos-release
- 00:56 mysql -u root -p
- 02:20 wget https://codeload.github.com/X2Engine/X2CRM/zip/master
- 02:31 unzip master
- 02:41 mv X2CRM-master /var/www/x2crm
- 02:57 chown –R apache:apache /var/www/x2crm
- 03:10 chmod -R 755 /var/www/x2crm
- 03:29 vim /etc/httpd/conf.d/x2crm.conf
- 04:29 systemctl restart httpd
Installation of X2CRM on centos 7.5
X2CRM is a free and open source Customer Relationship Management (CRM) application. It allows the user to create Web sites like marketing, sales and customer service for CRM application. This tutorial explian the Installation of X2CRM on centos 7.5.
Requirements for X2 crm:
Apache
Mariadb
Php 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
You need to configure the LAMP setup For the Installation of X2 crm CMS If you dont have the Lamp setup Refer Here
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.
[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 x2crm;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'x2user'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on x2crm.* to 'x2user'@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 X2 crm with the help of the following command.
[root@linuxhelp ~]# wget https://codeload.github.com/X2Engine/X2CRM/zip/master
--2019-04-25 14:55:09-- https://codeload.github.com/X2Engine/X2CRM/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master’
[ <=> ] 32,275,481 713KB/s in 96s
2019-04-25 14:56:47 (327 KB/s) - ‘master’ saved [32275481]
Once the download is completed extract the download package using unzip command
[root@linuxhelp ~]# unzip master
Archive: master
137df50fb1280e59abaa38eb62f4b58d34a6b5c1
creating: X2CRM-master/
inflating: X2CRM-master/.gitignore
inflating: X2CRM-master/.travis.yml
inflating: X2CRM-master/CHANGELOG.md
inflating: X2CRM-master/CONTRIBUTING.md
inflating: X2CRM-master/README.md
inflating: X2CRM-master/RELEASE-NOTES.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 X2 crm directory to apache root directory
[root@linuxhelp ~]#mv X2CRM-master /var/www/x2crm
Set the ownership and permission for X2 crm by using the following command
[root@linuxhelp ~]# chown –R apache:apache /var/www/x2crm
[root@linuxhelp ~]# chmod -R 755 /var/www/x2crm
Configure the virtualhost for accesing the X2 crm
[root@linuxhelp ~]# vim /etc/httpd/conf.d/x2crm.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/x2crm/x2engine/
</Virtualhost>
Restart the apache service by using the following command
[root@linuxhelp ~]# systemctl restart httpd
Switch to your browser and enter your domain name Setup an Admin user account settings as follows. Configure the database and database username Once the al the required details configured click install Login with the admin user credentials. You will see the admin dashboard as shown here.
With this, the method to install X2crm on Centos 7.5 comes to an end.
Comments ( 0 )
No comments available