Première installation de Dynacase-platform avec Dynacase-control

Installation du module de base

Pour installer Dynacase-platform, il suffit de cliquer sur le bouton `Install Selection' et l'installation se lancera. En effet tous les modules obligatoires au bon fonctionnement de Dynacase-platform sont déjà sélectionné, et les dépendances s'installeront automatiquement.

Paramètres obligatoires

Certains modules (ex : freedom-toolbox) nécessite la saisie de paramètres obligatoires qui seront demandés avant l'installation :

Pour freedom-toolbox, il faut donc renseigner les paramètres suivants :

  • main database postgresql service name : Nom du service postgresql créé pour accéder à la base de données
  • document database postgresql service name : Paramètre optionnel. Normalement, il faut indiquer la même chose qu'au paramètre précédent.
  • authenticate default mode : html par défaut pour une authentification basée sur un formulaire Web
  • apache system user : Utilisateur sous lequel tourne apache (ex : www-data sous Debian)

Vérifications de pré-installation

Avant l'installation de chaque module, Dynacase-control vérifie que tout les pré-requis sont installés sur le système.

Dans l'exemple ci-dessous, l'installation est bloquée car il manque la commande “zip” sur le système :

Pour continuer l'installation de ce module, il faut donc installer le paquet “zip” et cliquer sur “retry”

Résolution des principales dépendances

Le tableau ci-dessous indique comment résoudre les dépendances pour une installation de base sous Debian Lenny.

Message Commandes pour résoudre les dépendances
Checking if the PHP function 'pg_connect' existsYou might need to install a php-pg package from your distribution in order to have Postgresql support in PHP.aptitude install php5-pgsql /etc/init.d/apache2 reload
Checking if the command 'zip' is in the PATHaptitude install zip
Checking if the command 'dot' is in the PATHaptitude install graphviz
Checking if the command 'dot' is in the PATHaptitude install imagemagick
Checking if the command 'html2ps' is in the PATHaptitude install html2ps
Checking if the command 'php' is in the PATHaptitude install php5-cli
Warning : Checking if the command 'ldapdelete' is in the PATH
Checking if the command 'msgcat' is in the PATHaptitude install gettext
Checking if the PHP function 'imagegd' existsYou might need to install a php-gd package from your distribution in order to have GD support in PHP.aptitude install php5-gd/etc/init.d/apache2 reload
Checking if the PHP function 'ldap_connect' existsYou might need to install a php-ldap package from your distribution in order to have LDAP support in PHP.aptitude install php5-ldap /etc/init.d/apache2 reload
Warning : Checking if the PHP function 'ncurses_init' existsYou might need to install a php-ncurses package from your distribution in order to have ncurses support in PHP.Rien à faire sous Debian
Checking if the PHP function 'pspell_new' existsYou might need to install a php-pspell package from your distribution in order to have spelling support in PHP.aptitude install php5-pspell /etc/init.d/apache2 reload
Checking if the class 'Crypt_CHAP' is available in include file 'Crypt/CHAP.php'You might need to run : pear install Crypt_CHAPaptitude install php-pear pear install Crypt_CHAP /etc/init.d/apache2 reload
Checking if the class 'Net_SMTP' is available in include file 'Net/SMTP.php'You might need to run : pear install Net_SMTPpear install Net_SMTP /etc/init.d/apache2 reload
Checking if the class 'Mail_mime' is available in include file 'Mail/mime.php'You might need to run : pear install Mail_Mimepear install Mail_Mime /etc/init.d/apache2 reload
Checking if the Apache module 'mod_expires' is loadedYou might need to install and/or activate the Apache mod_expires module.a2enmod expires/etc/init.d/apache2 restart
Checking if the class 'XSLTProcessor' is available in include file ''You might need to install a php-xsl package form your distribution in order to have XSLT support in PHP.aptitude install php5-xsl /etc/init.d/apache2 reload
Checking if the class 'XML_Parser' is available in include file 'XML/Parser.php'You might need to install a php-pear-XML_Parser package from your distribution, or run 'pear install XML_Parser', in roder to have XML_Parser support in PHP.pear install XML_Parser/etc/init.d/apache2 reload
Checking if the class 'XML_RSS' is available in include file 'XML/RSS.php'You might need to install a php-pear-XML_RSS package form your distribution, or run 'pear install XML_RSS', in order to get RSS parsing support in PHP.aptitude install php-xml-rss/etc/init.d/apache2 reload
Checking if the PHP function 'imap_open' existsYou might need to install a php-imap package from your distribution in order to get IMAP support in PHP.aptitude install php5-imap/etc/init.d/apache2 reload
Debian

En résumé et toujours sous Debian, il faut donc exécuter ces commandes :

# aptitude install zip unzip graphviz imagemagick html2ps html2ps php5-cli 
# aptitude install php-pear gettext php5-pgsql php5-gd php5-xsl 
# aptitude install php5-ldap php5-pspell
# pear install Crypt_CHAP
# aptitude install php-net-smtp php-mail-mime
# a2enmod expires
# /etc/init.d/apache2 restart
Ubuntu 8.04 LTS
  apt-get install zip
  apt-get install unzip
  apt-get install dot
  apt-get install graphviz
  apt-get install html2ps
  apt-get install imagemagick
  apt-get install ghostscript
  apt-get install gettext
  aptitude install php5-gd \
                   php5-ldap \ 
                   php5-pspell php-pear \ 
                   php5-xsl php-xml php-xml-rss \
                   php5-imap
  /etc/init.d/apache2 restart
  pear install Crypt_CHAP
  pear install Net_SMTP
  pear install Mail_Mime
  a2enmod expires
  /etc/init.d/apache2 force-reload
 
 ## required by module freedom-dav
  a2enmod expires
  /etc/init.d/apache2 force-reload

Fin de l'installation et connexion à Dynacase-platform

Votre installation de Dynacase-platform de base sera alors pleinement opérationnelle.

Dynacase-platform sera ensuite disponible à l'adresse indiquée dans votre contexte si vous l'avez indiqué. Exemple :

Le mot de passe par défaut pour se connecter est “admin / anakeen”

freedom_3.1/install/wiff/firstinstall.txt · Dernière modification: 20/09/2011 09:22 par jerome.auge