Install vTiger CRM on CentOS Linux

Install vTiger CRM on CentOS Linux

Install vTiger CRM on CentOS Linux

vtiger CRM logo with green paw print

At this point I have a VM with CentOS installed, joined to the domain, and fully updated, not much more to that.

Let’s get started, install these two, one at a time, not combined

yum install gd gd-devel php-gd

yum install php-imap

After that Download the Source TAR from the vTiger Website

*** DO NOT TRY THE .BIN installer, its crap and always fails!!! ***

Once Downloaded, install Basic LAMP stack with the following commands:

yum -y install httpd mysql-server mysql run as root on host tiger
yum install php php-pear php-devel php-gd php-mysql php-mbstring php-ldap gcc make php-xml php-mcrypt

From here we have to do some setup

chkconfig mysqld on and chkconfig httpd on to start MySQL and Apache at boot

This sets MySQL and Apache to run on startup

vi /etc/hosts opened as root on the vTiger server

Edit the hosts file so Apache is happy

/etc/hosts with localhost lines and 192.168.1.224 mapped to tiger.zhosting.com

Start Apache

/usr/bin/mysql_secure_installation typed at the root prompt (same screenshot reused at the Start Apache step)

Start MySQL

/usr/bin/mysql_secure_installation at the root prompt (same screenshot reused at the Start MySQL step)

Perform the MySQL Secure Installation

Running /usr/bin/mysql_secure_installation as root on host tiger
mysql_secure_installation asking: Enter current password for root (enter for none)

Pretty much hit Yes to everything after reading carefully, and complete.

** Please note we are not using the .bin installer, we downloaded the source, the .bin pretty much NEVER WORKS ***

From here Move the downloaded vtiger.tar.gz  file to /var/www/html

ls showing vtigercrm-5.4.0.tar.gz, then mv vtigercrm-5.4.0.tar.gz /var/www/html

Change to that folder

cd /var/www/html and ls showing vtigercrm-5.4.0.tar.gz

Unzip the compressed folder

tar -xvzf vtigercrm-5.4.0.tar.gz in /var/www/html

We should now have the vtigercrm folder shown in blue

chmod -R 777 vtigercrm and chown -R root:root vtigercrm (shown where the folder listing was described)

Set permissions accordingly

chmod -R 777 vtigercrm and chown -R root:root vtigercrm in /var/www/html

The following elements should be changed to php.ini file (see below)

php.ini values for vTiger: allow_call_time_pass_reference on, max_execution_time 600, memory_limit 64M, display_errors on

There are a few others not immediately referenced:

allow_call_time_pass_reference OFF

Once the new php.ini has been uploaded, we have to restart apache for the new changes to take effect

service httpd restart: Stopping httpd OK, Starting httpd OK

Now we need to create a new database with  utf8 format (not the default)

mysql -u root -p then CREATE DATABASE vTiger DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

Now create a user that has full access to the database

GRANT ALL ON vTiger.* to 'vtiger'@'localhost' IDENTIFIED BY ... Query OK

Browse to the following web URL:

http://servername/vtigercrm/install.php

you should see this

vTiger CRM 5 Configuration Wizard welcome page with Install and Migrate buttons

From here hit “install” and accept the agreement

vTiger Configuration Wizard welcome page; click Install and accept the license agreement

Configure the Database Portion

vTiger System Configuration: MySQL on localhost, user vtiger, database vTiger

If it works, the following settings should appear

Confirm Configuration Settings: database type mysql, name vTiger, UTF-8 support enabled

Install all optional modules as necessary

Optional Modules list with Assets, RecycleBin, SMSNotifier, CustomerPortal and language packs checked

After you hit next, that will pretty much sit there and process for a long time….

vTiger Configuration Completed page: vtigercrm 5.4.0 is all set to go, with Finish button

Yay, config completed! Hit finish

vtiger CRM 5.4.0 login page with User Name and Password fields

From here going forward we should be aware that our database settings are stored in the following area, if you want to move the database to a MySQL Server:

/var/www/html/vtigercrm/config.inc.php

To Enable FTP Backup:

yum –y install ftp.x86_64

That’s it!

Hosted Linux, and vTigerCRM at www.zwiegnet.com/go

Related guides: Confgure vTiger CRM Firefox Toolbar | Install vTiger CRM On Windows Server

Leave a Reply

Your email address will not be published. Required fields are marked *