Tuesday 27 September 2016

How to Install and Configure VTiger CRM on CentOS 6.X


Install and Configure VTiger CRM on CentOS 6.X

What is CRM?

Customer relationship management (CRM) is a term that refers to practices, strategies and technologies that companies use to manage and analyze customer interactions and data throughout the customer lifecycle, with the goal of improving business relationships with customers, assisting in customer retention and driving sales growth. CRM systems are designed to compile information on customers across different channels -- or points of contact between the customer and the company -- which could include the company's website, telephone, live chat, direct mail, marketing materials and social media. CRM systems can also give customer-facing staff detailed information on customers' personal information, purchase history, buying preferences and concerns.

What is VTiger CRM?

Vtiger CRM is an Open Source CRM software, used mainly by small and medium-sized businesses. Vtiger CRM can be used to manage your company's wide CRM and Inventory Management activities, such as sales force automation, customer support & service, marketing automation, procurement & fulfillment effectively.

Step 1: Stop the Selinux, and Update the Date Time on the Server :


# vi /etc/sysconfig/selinux

SELINUX=disabled ###(Change enabled to disabled)

--- save & quit (:wq) ---

# service iptables stop
# chkconfig iptabes off
# yum -y install ntpd
# service ntpd restart
# ntpdate pool.ntp.org
# chkconfig ntpd on

Step 2: Install and Configure LAMP and Others Dependencies for the VTiger CRM :

# yum -y install httpd httpd-devel
# yum -y install mysql-server
# service httpd start
# service mysqld start
# chkconfig httpd on
# chkconfig mysqld on
# mysql_secure_installation (Set MySQL Root Password)
# yum install -y php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-snmp php-soap php-tidy libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel zlib openssl openssl-devel krb5-devel php php-gd php-imap gd gd-devel gcc wget

Step 3: Download and Configure Php for VTiger CRM :

# cd /tmp
# wget http://jaist.dl.sourceforge.net/project/vtigercrm/vtiger%20CRM%206.5.0/Core%20Product/vtigercrm6.5.0.tar.gz
# tar -zxvf vtigercrm6.5.0.tar.gz -C /var/www/html
# chown -Rf apache:apache /var/www/html/vtigercrm/
# chmod -Rf 755 /var/www/html/vtigercrm/
# vi /etc/php.ini

## Change the following lines as per below mentioned--

allow_call_time_pass_reference on ## Line Number 335
error_reporting E_WARNING & ~E_NOTICE ## Line Number 513
safe_mode off ## Line Number 339
display_errors on ## Line Number 530
file_uploads on ## Line Number 869
max_execution_time 600 ## Line Number 440
memory_limit 64M ## Line Number 457
log_errors off ## Line Number 551
output_buffering on ## Line Number 264
register_globals off ## Line Number 693
short_open_tag on ## Line Number 229

---- save & quit (:wq) ----

# service httpd restart

# mysql -u root -p
Enter Password:

mysql> create database vtigerdb;
mysql> grant all privileges on vtigerdb.* to vtiger@'localhost' odentified by 'redhat';
mysql> grant all privileges on vtigerdb.* to vtiger@'%' odentified by 'redhat';
mysql> flush privileges;
mysql> \q

Step 4: Open the Browser and Install the rest of the part of the VTiger CROM through browser :

Open: http://<Server-IP>/vtigercrm/index.php

click on "Install" button in the welcome screen --> click "I Agree" to proceed ahead --> Check your PHP Configurations and make sure that Required Values are in compliance with Present Values. Click "Next" to proceed with the installation --> Please provide Mysql credentials of your server under Database Information block. Also, configure default currency and personal information through System Information and Admin User Information blocks respectively. After providing appropriate values, click "Next" --> Confirm your configuration settings and click "Next" --> You're done! Within just a few seconds, your Vtiger CRM account will be provisioned and ready for use.

After Installation Complete the Modules will come to the screen, Select all the modules for install to the CRM.

Step 5: Configure Apaache Virtual Host for VTiger CRM :


# vi /etc/httpd/conf/httpd.conf

## Add after line number 312

<Directory /var/www/html/vtigercrm>
    Options  -Indexes +Multiviews +FollowSymLinks
        DirectoryIndex index.php index.html
    AllowOverride All
    Allow from all
</Directory>

---- save & quit (:wq) ----

# vi /etc/httpd/conf.d/vtiger.example.com.conf

<VirtualHost *:80>

  # Admin email, Server Name (domain name) and any aliases
  ServerName www.vtiger.example.com
  ServerAlias vtiger.example.comi


  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.php index.html
  DocumentRoot /var/www/html/vtigercrm


  # Custom log file locations
  LogLevel warn
  ErrorLog  /logs/vtiger.example.com-error_log
  SetEnvIf Request_URI "\.(jpg|xml|png|gif|ico|js|css|swf|js?.|css?.)$" DontLog
  CustomLog /logs/vtiger.example.com-access_log combined Env=!DontLog

</VirtualHost>

---- save & quit (:wq) ----

# mkdir /logs
# service httpd restart

Open in Browser: http://<Server-IP>/vtigercrm or http://vtiger.example.com
User: admin
Pass: <Admin-Pass-Set-At-Time-Of-Installation>


Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.