Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-27-2009, 04:11 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Thumbs up vTiger Installation on a Ubuntu Server v9.04


It's been about 16 years since I last dabbled with Linux so I pretty much back to newbie stage, and although I have successfully got a Ubuntu server up and running it was all pretty straight forward really as the wizards are pretty amazing now.

Anyway my question is where would the installation go for vTiger (CRM) I have checked through the installation documentation and it recommends the Apache root directory of which I think is /etc/apache2/

I tried then to run the installation file 'install.php' and it says file not found, so I can only assume that I have not loaded the files in to the web server's root, as my experience is with Windows based systems.

I then tried to put the installation folder in /var/www/ as the 'www' would normally what I would expect to be the web servers root?

My server IP and where I would expect to run the install file from is on:

So the extracted files for the vTiger installation are in the folder 'crm' so can someone please maybe explain where I need to put my installation folder 'crm' to get the installation file to run, or am I way off target with this logic??

When I installed Ununtu server I also installed LAMP and SSH so it is already loaded with the following;

Apache = 2.2.11
MySQL = 5.0.75


Old 06-27-2009, 11:30 AM   #2
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
You should install from source and not from a package.

Here are the notes I did to install it on Debian. Should be the same for ubuntu server.

Hope this helps!


Attempt to install V-Tiger (an open source CRM) from source on the new Debian 5 (lenny).

Install Debian

Install debian in expert mode and keep a simple base system.

Basic system needs

# apt-get install -V ssh screen

Prepare the system

We need to prepare the system to host V-Tiger. For that we need to install a few packages necessary for the CRM.

Package installation

Install the following to meet V-Tiger dependencies

# apt-get install -V php5 apache2 mysql-server php5-gd libapache2-mod-auth-mysql php5-mysql php5-imap

Configure PHP for Apache

You need to do the following recommended changes to make sure PHP works well with V-Tiger.
File: /etc/php5/apache2/php.ini

safe_mode = Off # default
display_errors = On # default
file_uploads = On # default
register_globals = Off # default
max_execution_time = 600 # was: 30
output_buffering = On # was: Off
memory_limit = 64M # default
error_reporting = E_ALL & ~E_NOTICE # default
allow_call_time_pass_reference = On # default
log_errors = Off # default
short_open_tag = On # default

Reboot the box to make sure all is in place. It's not in production yet!


This is the installation of V-Tiger 5.0.4 from source.



extract the files to /var/www and set the permissions.
Code: extract V-Tiger and set permissions

# cd /var/www
# tar zxvf ~/vtigercrm-5.0.4.tar.gz
# find vtigercrm/ -type d -exec chmod 750 {} \;
# find vtigercrm/ -type f -exec chmod 640 {} \;
# chown -R www-data: vtigercrm/


Create a Virtual Host for apache
File: /etc/apache2/site-available/vtiger

<VirtualHost *:80>
DocumentRoot /var/www/vtigercrm/
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ combined
<Directory /var/www/vtigercrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

now make sure you make a link to it in site-enabled.
Code: make a link

# cd /etc/apache2/site-enabled
# ln -s ../site-available/vtiger

restart Apache.

# /etc/init.d/apache2 restart


We need to create a database for V-Tiger and grant it permisions to it's DB.
Code: create a db and grant rights to it

# mysql -u root -p
mysql> GRANT ALL ON vtiger.* TO 'vtgrusr'@'localhost' IDENTIFIED BY 'YourPassword';


Time to configure V-Tiger using the web interface. make sure you made changes to your DNS/host file to point the VirtualHost IP to the name.

In your browser, type:

... and finish the configuration. That's it!
Old 12-08-2009, 03:05 AM   #3
LQ Newbie
Registered: Jul 2006
Posts: 11

Rep: Reputation: 0
Originally Posted by eco View Post
You should install from source and not from a package.


Create a Virtual Host for apache
File: /etc/apache2/site-available/vtiger
I don't have a directory
but I have
/etc/apache2/sites-available/ (note the s in sites)

Is this a type error?

Should I create the file vtiger myself? (I don't have that file in the mentioned directory)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installation Of OpenERP Server On Ubuntu Server 9.04 LXer Syndicated Linux News 0 06-26-2009 01:00 PM
LXer: vtiger CRM 5.02 on Ubuntu 6.06 LTS Server (Dapper Drake) LXer Syndicated Linux News 0 03-05-2007 05:46 AM
Ubuntu 6.10/6.06 X Server error during installation Diomedes Tydeus Linux - Newbie 3 01-29-2007 07:01 PM
ubuntu server installation MacHamster Ubuntu 1 09-01-2006 11:39 AM
installing vtiger crm on FC3 jacolley Linux - Software 2 10-05-2005 05:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration