Outils personnels

VTiger : Installation

De wikiGite

vTiger CRM sur Debian Squeeze

Installer les pré-requis :

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

Editer /etc/php5/apache2/php.ini

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

Installer vTiger :

cd /var/www
wget http://downloads.sourceforge.net/project/vtigercrm/vtiger%20CRM%205.4.0/Core%20Product/vtigercrm-5.4.0.tar.gz
tar -xvzf vtigercrm-5.4.0.tar.gz
chown -R www-data.www-data vtigercrm
find vtigercrm/ -type d -exec chmod 750 {} \;
find vtigercrm/ -type f -exec chmod 640 {} \;

Créer un virtualhost :

# vi /etc/apache2/sites-available/vtiger
<VirtualHost *:80>
   ServerName vtiger.systea.fr
   DocumentRoot /var/www/vtigercrm/
   ErrorLog /var/log/apache2/vtiger.error_log
   CustomLog /var/log/apache2/vtiger.access_log combined
   <Directory /var/www/vtigercrm>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>
</VirtualHost>

et l'activer :

# a2ensite vtiger
# /etc/init.d/apache2 restart

Créer une base MySQL :

# 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 'Cela2VT!';

Naviguer sur http://vtiger.domain.com
Continuer l'installation en ligne.