install vtiger 5.1.0 sources on ubuntu 8.04 X86_64

October 22nd, 2009 by Andrea Matesi 2066 Views


I don't know why, I don't know how, suffice it to say someday I woke up, willing to try vtiger on my own server.

Here it's howto install vtiger 5.1.0 sources on ubuntu 8.04(.3) X86_64

sudo su; mkdir src; cd src

wget http://downloads.sourceforge.net/project/vtigercrm/vtiger%20CRM%205.1.0/Core%20Product/vtigercrm-5.1.0.tar.gz

tar xvzf vtigercrm-5.1.0.tar.gz
apt-get update && apt-get upgrade
tasksel -> choose LAMP and install
apt-get install php5 php5-gd libapache2-mod-auth-mysql php5-mysql php5-imap
cp -r /root/src/vtigercrm /var/www/
cp /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.ori
vi /etc/php5/apache2/php.ini

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

- Create a Virtual Host for apache
vi /etc/apache2/sites-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
/etc/init.d/apache2 restart
cd /etc/apache2/sites-enabled
ln -s ../sites-available/vtiger vtiger
Open up a browser on another machine on the network to test the folder.
cd /var/www
find vtigercrm/ -type d -exec chmod 750 {} \;
find vtigercrm/ -type f -exec chmod 640 {} \;
chown -R www-data: vtigercrm/
MYSQL create DB
mysql --user root -p
GRANT ALL ON vtigerdb.* TO 'vtigerusr'@'localhost' IDENTIFIED BY 'non-sense-fckuing-password';
vi /etc/mysql/my.cnf
bind-address            = # to allow connection from all
...well, now I have to figure out why I needed all this!
Senior Professional Network and Computer Systems Engineer during work hours and father when home.

Andrea strives to deliver outstanding customer service and heaps of love towards his family.

In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format.

Rate this post

Posted in LINUX | 1 Comment »

One response to “install vtiger 5.1.0 sources on ubuntu 8.04 X86_64”

  1. carloNo Gravatar says:

    grazie, l' ho seguita dalla A alla Z