How to Install VTiger CRM on Ubuntu 14.04

In this article, we will explain to you How to Install VTiger CRM on Ubuntu 14.04.

Vtiger CRM enables sales, support, and marketing teams to organize and collaborate to measurably improve customer experiences and business outcomes. Vtiger CRM also includes email, inventory, project management, and other tools, providing a complete the business management suite.

You will need one VPS Server with Ubuntu 14.04 OS on it.

Login to your server with root access.

Update the server system by running those commands:

apt-get update
apt-get upgrade

After, create the database for VTiger:
mysql -u root -p

To create it, put this command in MySQL shell:

mysql> create database vtiger;

And give the all privileges on it.

mysql> grant all privileges on vtiger.* to vtigeru@localhost identified by 'your_password';

Make active this privilege

mysql> flush privileges;

And exit the MySQL shell

mysql> exit

Now install VTiger. To install it create one directory in the web directory.
mkdir -p /var/www/html/vtiger/

And go into /var/www/html/vtiger/ :
cd /var/www/html/vtiger/

Now download VTiger and extract it/
wget http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%206.4.0/Core%20Product/vtigercrm6.4.0.tar.gz
tar zxvf vtigercrm6.4.0.tar.gz

After, move the extracted file and remove the downloaded file and directory:
mv vtigercrm/*
rm -rf vtigercrm/ vtigercrm6.4.0.tar.gz

Now give ownership to VTiger files.
chown www-data: -R ../vtiger/

After, create vtiger.conf and enable it.
touch /etc/apache2/sites-available/vtiger.conf
ln -s /etc/apache2/sites-available/vtiger.conf /etc/apache2/sites-enabled/

Edit vtiger.conf by running this command:
vi /etc/apache2/sites-enabled/vtiger.conf

And add those lines:


ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/html/vtiger/
ServerName yourdomain.com
ServerAlias www.yourdomain.com

Options FollowSymLinks
AllowOverride All

ErrorLog /var/log/apache2/yourdomain.com-error_log
CustomLog /var/log/apache2/yourdomain.com-access_log common

Restart apache server.
/etc/init.d/apache2 restart

Edit php.ini and make below changes:
nano /etc/php5/cli/php.ini

VTiger - Edit php.ini

Restart apache server.
/etc/init.d/apache2 restart

You have successfully installed VTiger in Ubuntu 14.04.

Now open your web browser and navigate to your server like as http://yourdomain.com or http://yourIPaddress/. Finish the wizard and your VTiger will be ready to use.

Enjoy!

Register for free account now.