X
    Categories: Apache

How To Install vTiger CRM On Centos 8

The vTiger is an open source ERP system. Now I want to share how to install vTiger CRM on your local or vps Centos 8 server. Basically vTiger deploy using apache, php and mysql. You can manage various topics like client, product, invoice, inventory etc. So don’t delay to start this tutorial.

How To Configure LAN and WAN Interface On VyOS Router

How To Install OpenProject On Ubuntu 16.04

vTiger system requirements : Official page

############################
Operating System: CentOS 8
IP address  : 10.66.10.50
Disk   : 50GB 
RAM   : 1GB 
vCPU   : 2
############################

Step #01: Check my server latest updated and check version.

[root@vTiger ~]# ip r
[root@vTiger ~]# cat /etc/redhat-release
[root@vTiger ~]# yum -y install epel-release
[root@vTiger ~]# yum -y update

Step #02: Install apache and required php extension.

[root@vTiger ~]# yum -y install httpd
[root@vTiger ~]# yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
[root@vTiger ~]# yum -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
[root@vTiger ~]# yum install php70 -y
[root@vTiger ~]# yum install php70-php-fpm php70-php-mysqlnd php70-php-opcache php70-php-xml php70-php-xmlrpc php70-php-gd php70-php-mbstring php70-php-json php70-php-imap.x86_64 php70-php-intl.x86_64 php-apcu wget

Open php.ini file and change below config.

[root@vTiger ~]# vi /etc/php.ini

As like same below

memory_limit = 256M
max_execution_time = 300
display_errors = On
log_errors = Off
short_open_tag = On

Now restart apache service using below command.

[root@vTiger ~]# systemctl start httpd
[root@vTiger ~]# systemctl start httpd 
[root@vTiger ~]# systemctl enable httpd

Step #03: Now install database server mariadb then create database with user permission.

[root@vTiger ~]# yum -y install mariadb mariadb-server -y
[root@vTiger ~]# systemctl start mariadb
[root@vTiger ~]# systemctl enable mariadb

Now login mariadb terminal for create database.

[root@vTiger ~]# mysql -u root -p
MariaDB [(none)]> create database vtiger_db default character set utf8;
MariaDB [(none)]> create user 'vtiger_user'@'localhost' identified by 'vtiger_user@123';
MariaDB [(none)]> grant all privileges on vtiger_db.* to 'vtiger_user'@'localhost';
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> \q

Edit sql_mode.

[root@vTiger ~]# vi /etc/my.cnf.d/mariadb-server.cnf

Insert below lines into this line.

sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Restart Mariadb server using below command.

[root@vTiger ~]# systemctl restart mariadb

Step #04: Download latest version vTiger then extract into web directory.

[root@vTiger ~]# wget https://netcologne.dl.sourceforge.net/project/vtigercrm/vtiger%20CRM%207.2.0/Core%20Product/vtigercrm7.2.0.tar.gz
[root@vTiger ~]# tar xf vtigercrm7.2.0.tar.gz
[root@vTiger ~]# mv vtigercrm/* /var/www/html/
[root@vTiger ~]# chown -R apache:apache /var/www/html/
[root@vTiger ~]# chmod 755 -R /var/www/html/

Disable selinux and allow firewall http port.

[root@vTiger ~]# sed -i 's/enforcing/disabled/g' /etc/selinux/config
[root@vTiger ~]# firewall-cmd --zone=public --add-port=80/tcp --permanent
[root@vTiger ~]# firewall-cmd --reload
[root@vTiger ~]# reboot

Step #05: Now goto browser type your server ip address http://10.66.10.50/

System Configuration for tow think Database Information & System Information.

Database Information :

Database Type : MySQL
Host Name : localhost
User Name : vtiger_user
Password  : vtiger_user@123
Database Name : vtiger_db

System Information :

Currency : USA, Dollars ($)
Admin User Information
User Name  : admin
Password : ********
Retype Password : ********
First Name : admin
Last Name : erp
Email  : admin@technologyrss.com
Date Format : mm-dd-yyyy
Time Zone : Asia/Dhaka

Then click Next

Step #06: Now See Confirm Configuration Settings.

Database Information
Database Type : MySQL
Database Name : vtiger_db
System Information
URL  : http://10.66.10.50/
Currency : USA, Dollars
Admin User Information
User Name : admin
Last Name : erp
Email  : admin@technologyrss.com
Time Zone : Asia/Dhaka
Date Format : mm-dd-yyyy

Click Next

Please let us know your Industry : Telecommunications

If you want select any one then click Next. Now see Installation in progress…

Step #07: What would you like to use vTiger CRM for? : Select All .

Then click Next

Almost there! Now Get Started.

If you have any problem face so you see my YouTube channel for more details.

0 0 votes
Article Rating
Admin: I am system administrator as Windows and Linux platform. I have 4 years skilled from the professional period. I have to configure Linux based system such as an Asterisk VOIP system, Network monitoring tools (ZABBIX), Virtualization (XEN Server), Cloud computing (Apache CloudStack) etc. Now share my professional skill each interested person. Thanks to all.
Leave a Comment