J'ai enfin réussi !!!!!!
Tout fonctionne maintenant, ouf...
Voici la procédure que j'ai suivi pour l'install de vtiger 5.02 francais sur une Fedora Core 5 (i386)
sans aucune compilation d'APACHE, ni de PHP, ni de MySQL, ni de GD, ni de FREETYPE,
sans les bundles fournis avec vtiger: c.a.d avec un Apache/PHP/MySQL qui tourne déja.
RPM pré-requis:
httpd-2.2.2-1.2
php-5.1.6-1.2
php-mysql-5.1.6-1.2
php-gd-5.1.6-1.2
mysql-server-5.0.22-1.FC5.1
mysql-5.0.22-1.FC5.1
gd-2.0.33-6.2
freetype-2.1.10-5.2.1
NOTE: Personnellement j'ai installé tous les packages httpd-*, php-*, mysql-*, gd-* et freetype-* y compris les *-devel-* présents sur le DVD FC5.
Let's go !
1. Télécharger les 2 fichiers suivant sur http://vtigerfacile.com:
vtigercrm-5.0.2.bin
vtiger_5.0.2_fr_fr.zip
2. Se loger en root, donner les droits execution au fichier et lancer le binaire
$> chmod 755 vtigercrm-5.0.2.bin
$> ./vtigercrm-5.0.2.bin
3. Suivre la procédure d'install suivante:
Voici comment j'ai répondu aux questions (le '=>' signifie réponse) :
- Do you agree to the above license agreement ? => 'Y'
- Do you want to install Apache 2.0.52 that is bundled with vtiger CRM ? => 'N'
- Do you have Apache in your system and do you want vtigerCRM to use the same? => 'Y'
- Do you want to continue? => 'Y'
- Unable to find the conf/httpd.conf file under the specified directory.
Please specify the location of the httpd.conf file (example: /etc/httpd/conf):
Voici la fameuse fausse question !!! ici il faut répondre: => /usr/sbin
Explication: il ne demande pas l'emplacement de httpd.conf , mais bien l'emplacement de l'executable httpd.
Et là il doit afficher :
The Apache 2.2.2 in your system is compatible with vtigerCRM
- Kindly provide the location for httpd.conf file in your system (example: /etc/httpd/conf):
c'est maintenant qu'il faut entrer l'emplacement de httpd.conf: => /etc/httpd/conf
- Do you want to Install the MySQL 5.0.19 that is bundled with vtigerCRM ? => 'N'
- Do you have MySQL in your system and do you want vtigerCRM to use the same ? => 'Y'
- Enter the absolute path of MySQL installed in your system(exclude the bin folder location):
=> /usr
Il doit afficher:
The MySQL version in your system is compatible with vtigerCRM
- MySQL Port: => 3306
- Username (User with all admin privileges): => root
ATTENTION: Il s'agit ici du user de la base de données MySQL (root par défaut)
et non du root du système !
- Password: => mettez rien appuyer sur [ENTER]
- MySQL Socket file location ( NOTE IMPORTANT: ****************************** should include the socket file name also like /tmp/mysql.sock ):
=> /var/lib/mysql/mysql.sock
- Press
(C) to continue with the installation
(Q) to Quit installation
and press ENTER: => 'C'
Après 5 minutes miracle !!! le message suivant apparait:
vtigerCRM successfully installed at /var/www/html/vtigerCRM5
4.Nous ne sommes pas au bout de nos peines !
4.1) editer le fichier: /var/www/html/vtigerCRM5/bin/startvTiger.sh
- remplacer :
apache_port='0.0.0.0:80'
par
apache_port='80'
- partout ou vous voyez 'vtigercrm501' remplacez par 'vtigercrm502'
4.2) editer /var/www/html/vtigerCRM5/vtigerCRM/config.inc.php
remplacer les champs suivants:
- '_DBC_TYPE_' par 'mysql'
5. Redémarer apache:
$> /etc/init.d/httpd restart
6. aller dans le répertoire: /var/www/html/vtigerCRM5/bin/ et lancer:
$> ./startvTiger.sh
7. Lancer votre navigateur et entrz l'URL suivante:
http://localhost:80/vtigerCRM5/vtigerCRM
Vous devez avoir la page d'install de vtiger
7.1) Cliquez sur 'Start'
7.2) Sur la page installation check -> cliquez sur 'Next'
7.3) Sur System configuration entrez les les valeurs suivantes:
[*] Create Database(will drop the database if exists)
Root Username : root
Root Password : (rien)
Path to Cache Directory : cache
-> cliquez sur 'Next'
7.4) Confirm Settings
[*] Populate database with demo data
-> cliquez sur 'Next'
7.5) Config File Creation
-> cliquez sur 'Next'
Après moins de 5 minutes, la base est prête.
Allez sur
http://localhost/vtigerCRM5/vtigerCRM logez vous en admin/admin et c'a marche !
Mais voilà: tout est en anglais et un message d'erreur apparait:
Fatal error: Call to undefined function ImageTTFBBox() in
/var/www/html/vtigerCRM5/vtigerCRM/Image/Canvas/GD.php on line 1303
8. Mise en français:
décompressez le fichier: vtiger_5.0.2_fr_fr.zip
et suivez la procédure décrite dans la doc en PDF, ça marche très bien.
NOTE: n'oubliez surtout de modifier les droits d'acces aux répertoires comme ils le disent sinon ça ne marche pas !
9. A propos du message d'erreur:
Fatal error: Call to undefined function ImageTTFBBox() in
/var/www/html/vtigerCRM5/vtigerCRM/Image/Canvas/GD.php on line 1303
Il faut savoir que vtiger écrase la lib '/usr/lib/httpd/modules/libphp5.so' déja présente, même si on lui a demandé d'utiliser le PHP déja installé.
Il faut donc réinstaller php de force comme suit:
$> rpm -ivh --force php-5.1.6-1.2.i386.rpm
Et voilà !
Pour une install soit disant facile (vtigerfacile.com) elle est vraiment... facilement déroutante !!!
IX.