Install VTiger CRM on an Ubuntu 14.04 VPS

vtigerVTiger is a web-based, modular constructed Customer Relationship Management system that enables sales, support, and marketing teams to organize and collaborate to measurably improve customer experiences and business outcomes. By using VTiger you can have a complete business management suite that will provide you with email, inventory, project management, and other useful tools.

The modular design makes VTiger CRM customizable to all your individual requirements and supports you in sales, marketing, controlling and service.

In this tutorial we will install VTiger CRM on a Ubuntu 14.04 VPS.


We will be using our SSD 1 Linux VPS Hosting plan for this tutorial.

Login to your server via SSH

# ssh root@server_ip

You can check whether you have the proper version of Ubuntu installed on our server with the below command:

# lsb_release -a

Which should give you the underneath output:

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty


Make sure your server is fully up to date.

#  apt-get update && apt-get upgrade

After that, you’ll need to create a database for your VTiger installation. Log into MySQL as root:

#  mysql -u root -p

Use the below statements:

mysql> create database vtiger;

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

mysql> flush privileges;

mysql> exit


First, create a directory for the VTiger installation. We will name it vtiger. Execute the following:

#  mkdir -p /var/www/html/vtiger/

Enter the newly created directory:

#  cd /var/www/html/vtiger/

Download the latest VTiger version (which at this point is 6.4) and unpack it using the below commands:

#  wget

#  tar zxvf vtigercrm6.4.0.tar.gz

Move everything from the unpacked vtigercrm directory into the one you are currently stationed:

#  mv vtigercrm/* .

Remove the unnesessary directory and file:

#  rm -rf vtigercrm/ vtigercrm6.4.0.tar.gz

Assign the proper ownership on the Vtiger installation files and directories:

#  chown www-data: -R ../vtiger/

Next, you need to create a virtual host directive for the domain that you’ll want to serve VTiger. Create an empty file, let’s call it vtiger.conf:

#  touch /etc/apache2/sites-available/vtiger.conf

Enable the site:

#  ln -s /etc/apache2/sites-available/vtiger.conf /etc/apache2/sites-enabled/

Now, open the empty vtiger.conf file with your favorite text editor and paste the following:

<VirtualHost *:80>
DocumentRoot /var/www/html/vtiger/
<Directory /var/www/html/vtiger/>
Options FollowSymLinks
AllowOverride All
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ common

Restart Apache for the changes to take effect:

# /etc/init.d/apache2 restart

Now, let’s tweak some of your PHP settings so you can later complete the VTiger installation. Open the php.ini file:

#  nano /etc/php5/cli/php.ini

Make the below changes:

display_errors = Off
change to
display_errors = On

max_execution_time = 30
change to
max_execution_time = 600

error_reporting = E_ALL & ~E_DEPRECATED
change to
error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED

log_errors = On
change to
log_errors = Off

short_open_tag = Off
change to
short_open_tag = On

Save and close the file.

Restart Apache again:

# /etc/init.d/apache2 restart

You can now open your favorite browser and navigate to so you can finish the VTiger installation.

Once you get to the Vtiger’s Pre Installation check screen you should see that everything is OK. If there are some recommended PHP settings or modules that need to be installed, apply the needed changes. In the next window you will need to enter the information for the database that you created previously, create an Administrator user, set a password for it and some other similar things. After you click Next, you will be welcomed by the Optional Modules screen. Here you can choose which optional modules should be installed in Vtiger CRM.

Then, click Next to start the installation.

Congratulations, you have successfully installed VTiger on your Ubuntu 14.04 VPS.

Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install VTiger for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

How to install Zenphoto on Ubuntu 14.04
How to install Koken on an Ubuntu VPS
Install Joomla on a CentOS 7 Linux VPS
  • Kieran


    Author Reply

    I followed your guide, but get the following displayed when i visit the url…..

    process(new Vtiger_Request($_REQUEST, $_REQUEST));

    • admin


      Author Reply

      Hello Kieran,

      The problem could be related to your server configuration or something else. It is best to enable error reporting in index.php so you can easily identify and fix the problem.


  • Funs


    Author Reply

    Thanks for the guide. I followed guide however but have a white screen when trying to access page. URL changes to “http://localhost/vtiger/index.php?module=Install&view=Index” Any hint on steps to resolve?

    • mcalice


      Author Reply

      Hey Funs, did you ever resolve your issue?

  • Ardi


    Author Reply

    thnx a lot man

  • Simon


    Author Reply

    Got any advice on upgrading vTiger without losing any data?

  • Maikel Habib


    What about Cron Jobs for the scheduler? Will it work without?