LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

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:

https://192.168.123.123:10000/crm/install.php

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
PHP5

TIA,

Ken
 
Old 06-27-2009, 11:30 AM   #2
eco
Member
 
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!


Intro

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!

V-Tiger

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

Prepare

base

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/


Apache

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

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

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


MySQL

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> CREATE DATABASE vtiger DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
mysql> GRANT ALL ON vtiger.* TO 'vtgrusr'@'localhost' IDENTIFIED BY 'YourPassword';


Configure

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: http://vtiger.mydomain.com/

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

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

Apache

Create a Virtual Host for apache
File: /etc/apache2/site-available/vtiger
............
............
I don't have a directory
/etc/apache2/site-available/
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)
 
  


Reply

Tags
debian



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:56 AM.

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