Pour installer Dynacase-platform, il faut juste cliquer sur le bouton `Install Selection'. En effet tous les composants de base de Dynacase-platform sont déjà automatiquement sélectionnés. Ceci entrainera l'installation des modules de base de Dynacase-platform et toutes leur dépendances.
Certains modules (ex : Dynacase-platform) 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 :
Avant l'installation de chaque module, Dynacase-control vérifie que tout les pré-requis sont installés sur le système.
Un écran apparait indiquant les contrôles effectués. Si un pré-requis est absent, l'installation s'interromp et peut-être ensuite relancée (bouton “retry”) une fois le problème résolu (en général installation d'un paquet) :
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' exists You 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 PATH | aptitude install zip |
| Checking if the command 'dot' is in the PATH | aptitude install graphviz |
| Checking if the command 'dot' is in the PATH | aptitude install imagemagick |
| Checking if the command 'html2ps' is in the PATH | aptitude install html2ps |
| Checking if the command 'php' is in the PATH | aptitude install php5-cli |
| Warning : Checking if the command 'ldapdelete' is in the PATH | |
| Checking if the command 'msgcat' is in the PATH | aptitude install gettext |
| Checking if the PHP function 'imagegd' exists You 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' exists You 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' exists You 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' exists You 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_CHAP | aptitude 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_SMTP | pear 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_Mime | pear install Mail_Mime /etc/init.d/apache2 reload |
| Checking if the Apache module 'mod_expires' is loaded You 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' exists You 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 |
En résumé et toujours sous Debian Lenny, il faut donc exécuter ces commandes :
# aptitude install zip unzip graphviz imagemagick 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
apt-get install zip unzip dot graphviz html2ps imagemagick ghostscript gettext php5-gd php5-ldap php5-pspell php-pear php5-xsl php-xml php-xml-rss php5-imap php5-mcrypt /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
apt-get install postgresql apache2 php5 zip unzip graphviz html2ps imagemagick ghostscript gettext php5-gd php5-ldap php5-pspell php-pear php5-xsl php-xml-rss php5-imap php5-mcrypt php5-pgsql recode pear install Crypt_CHAP Net_SMTP Mail_Mime XML_Parser a2enmod expires rewrite service apache2 force-reload
Votre installation de Dynacase-platform de base est alors pleinement opérationnelle.
Dynacase-platform sera ensuite disponible à l'adresse indiquée dans votre contexte. Exemple :