Install vTiger from source on Ubuntu Server 10.04 LTS

Posted: February 22nd, 2011 | Author: | Filed under: Linux | Tags: , | No Comments »

I tried to install vTiger from the .bin file on their website. I tried CentOS, Ubuntu, and OpenSuSE. None could get through the installer without crashing. So I said forget it and installed from source. I spent over 3 hours with different distros trying to get the .bin file to work. It took me 15mins to figure it out from source.

Here are step by step instructions on how to install vTiger 5.2.1 on a virgin Ubuntu Server 10.04 LTS Server:

Download vTiger 5.2.1 source and extract tarball to /srv/www

use apt-get to install the following packages:

apt-get install mysql-server apache2-utils libapache2-mod-php5 libgd-tools php5-gd php5-imap php5-mysql

Then chown the /srv/www directory to the apache user.

chown -R www-data /srv/www

Create a vhost file for the service. Copy this into /etc/apache2/sites-available/vtiger.
Then link this file into the sites-enabled directory

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

Ensure your apache and mysql services are running.

service apache2 restart
service mysql restart

Open up a web browser and navigate to your server’s IP address. You should be greeted with a prompt to install the wizard, this wizard will help you plugin your details as well as help you edit your /etc/php5/apache2/php.ini file. For the mysql address specify you loopback 127.0.0.1.

After that you should be good to go!