Installation TaskFreak : Différence entre versions
m |
(Aucune différence)
|
Version actuelle en date du 17 mai 2018 à 14:11
Sommaire
Votre avis
Current user rating: 60/100 (4 votes)
|
|
Déploiement
Cet article présente l'installation de TaskFreak sur une machine Ubuntu. L'application est développée en php, et son installation consiste à simplement référencer celle ci dans un serveur Apache par exemple.
La version est installée dans le répertoire /var/opt
, dans lequel le tar est déployé.
#sudo tar -C /var/opt -xzvf taskfreak-multi-mysql-0.6.tgz
Le résultat de cette manipulation est le suivant:
taskfreak-0.6.4/ taskfreak-0.6.4/_common.php taskfreak-0.6.4/_include.php taskfreak-0.6.4/error.php taskfreak-0.6.4/favicon.ico taskfreak-0.6.4/include/ taskfreak-0.6.4/include/classes/ taskfreak-0.6.4/include/classes/pkg_com.php taskfreak-0.6.4/include/classes/pkg_member.php taskfreak-0.6.4/include/classes/pkg_project.php taskfreak-0.6.4/include/classes/tzn_document.php taskfreak-0.6.4/include/classes/tzn_generic.php taskfreak-0.6.4/include/classes/tzn_mysql.php taskfreak-0.6.4/include/classes/tzn_user.php taskfreak-0.6.4/include/config.php taskfreak-0.6.4/include/error_codes.txt taskfreak-0.6.4/include/html/ taskfreak-0.6.4/include/html/footer.php taskfreak-0.6.4/include/html/header.php taskfreak-0.6.4/include/html/panel_task.php taskfreak-0.6.4/include/html/project_form.php taskfreak-0.6.4/include/html/user_form.php taskfreak-0.6.4/include/html/xajax_panel_edit.php taskfreak-0.6.4/include/html/xajax_panel_view.php taskfreak-0.6.4/include/language/ taskfreak-0.6.4/include/language/ca/ taskfreak-0.6.4/include/language/ca/common.php taskfreak-0.6.4/include/language/ca/freak.php taskfreak-0.6.4/include/language/ca/login_info.php taskfreak-0.6.4/include/language/ca/options.php taskfreak-0.6.4/include/language/ca/register_info.php taskfreak-0.6.4/include/language/ca/system.php taskfreak-0.6.4/include/language/cn/ taskfreak-0.6.4/include/language/cn/common.php taskfreak-0.6.4/include/language/cn/freak.php taskfreak-0.6.4/include/language/cn/login_info.php taskfreak-0.6.4/include/language/cn/options.php taskfreak-0.6.4/include/language/cn/register_info.php taskfreak-0.6.4/include/language/cn/system.php taskfreak-0.6.4/include/language/cs/ taskfreak-0.6.4/include/language/cs/common.php taskfreak-0.6.4/include/language/cs/freak.php taskfreak-0.6.4/include/language/cs/login_info.php taskfreak-0.6.4/include/language/cs/options.php taskfreak-0.6.4/include/language/cs/register_info.php taskfreak-0.6.4/include/language/cs/system.php taskfreak-0.6.4/include/language/da/ taskfreak-0.6.4/include/language/da/common.php taskfreak-0.6.4/include/language/da/freak.php taskfreak-0.6.4/include/language/da/login_info.php taskfreak-0.6.4/include/language/da/options.php taskfreak-0.6.4/include/language/da/register_info.php taskfreak-0.6.4/include/language/da/system.php taskfreak-0.6.4/include/language/de/ taskfreak-0.6.4/include/language/de/common.php taskfreak-0.6.4/include/language/de/freak.php taskfreak-0.6.4/include/language/de/login_info.php taskfreak-0.6.4/include/language/de/options.php taskfreak-0.6.4/include/language/de/register_info.php taskfreak-0.6.4/include/language/de/system.php taskfreak-0.6.4/include/language/en/ taskfreak-0.6.4/include/language/en/common.php taskfreak-0.6.4/include/language/en/freak.php taskfreak-0.6.4/include/language/en/login_info.php taskfreak-0.6.4/include/language/en/options.php taskfreak-0.6.4/include/language/en/register_info.php taskfreak-0.6.4/include/language/en/system.php taskfreak-0.6.4/include/language/es/ taskfreak-0.6.4/include/language/es/common.php taskfreak-0.6.4/include/language/es/freak.php taskfreak-0.6.4/include/language/es/login_info.php taskfreak-0.6.4/include/language/es/options.php taskfreak-0.6.4/include/language/es/register_info.php taskfreak-0.6.4/include/language/es/system.php taskfreak-0.6.4/include/language/fr/ taskfreak-0.6.4/include/language/fr/common.php taskfreak-0.6.4/include/language/fr/freak.php taskfreak-0.6.4/include/language/fr/login_info.php taskfreak-0.6.4/include/language/fr/options.php taskfreak-0.6.4/include/language/fr/register_info.php taskfreak-0.6.4/include/language/fr/system.php taskfreak-0.6.4/include/language/gr/ taskfreak-0.6.4/include/language/gr/common.php taskfreak-0.6.4/include/language/gr/freak.php taskfreak-0.6.4/include/language/gr/login_info.php taskfreak-0.6.4/include/language/gr/options.php taskfreak-0.6.4/include/language/gr/register_info.php taskfreak-0.6.4/include/language/gr/system.php taskfreak-0.6.4/include/language/hr/ taskfreak-0.6.4/include/language/hr/common.php taskfreak-0.6.4/include/language/hr/freak.php taskfreak-0.6.4/include/language/hr/login_info.php taskfreak-0.6.4/include/language/hr/options.php taskfreak-0.6.4/include/language/hr/register_info.php taskfreak-0.6.4/include/language/hr/system.php taskfreak-0.6.4/include/language/hu/ taskfreak-0.6.4/include/language/hu/common.php taskfreak-0.6.4/include/language/hu/freak.php taskfreak-0.6.4/include/language/hu/login_info.php taskfreak-0.6.4/include/language/hu/options.php taskfreak-0.6.4/include/language/hu/register_info.php taskfreak-0.6.4/include/language/hu/system.php taskfreak-0.6.4/include/language/it/ taskfreak-0.6.4/include/language/it/common.php taskfreak-0.6.4/include/language/it/freak.php taskfreak-0.6.4/include/language/it/login_info.php taskfreak-0.6.4/include/language/it/options.php taskfreak-0.6.4/include/language/it/register_info.php taskfreak-0.6.4/include/language/it/system.php taskfreak-0.6.4/include/language/lt/ taskfreak-0.6.4/include/language/lt/common.php taskfreak-0.6.4/include/language/lt/freak.php taskfreak-0.6.4/include/language/lt/login_info.php taskfreak-0.6.4/include/language/lt/options.php taskfreak-0.6.4/include/language/lt/register_info.php taskfreak-0.6.4/include/language/lt/system.php taskfreak-0.6.4/include/language/nl/ taskfreak-0.6.4/include/language/nl/common.php taskfreak-0.6.4/include/language/nl/freak.php taskfreak-0.6.4/include/language/nl/login_info.php taskfreak-0.6.4/include/language/nl/options.php taskfreak-0.6.4/include/language/nl/register_info.php taskfreak-0.6.4/include/language/nl/system.php taskfreak-0.6.4/include/language/no/ taskfreak-0.6.4/include/language/no/common.php taskfreak-0.6.4/include/language/no/freak.php taskfreak-0.6.4/include/language/no/LESMEG.txt taskfreak-0.6.4/include/language/no/login_info.php taskfreak-0.6.4/include/language/no/options.php taskfreak-0.6.4/include/language/no/register_info.php taskfreak-0.6.4/include/language/no/system.php taskfreak-0.6.4/include/language/pl/ taskfreak-0.6.4/include/language/pl/common.php taskfreak-0.6.4/include/language/pl/freak.php taskfreak-0.6.4/include/language/pl/login_info.php taskfreak-0.6.4/include/language/pl/options.php taskfreak-0.6.4/include/language/pl/register_info.php taskfreak-0.6.4/include/language/pl/system.php taskfreak-0.6.4/include/language/pt/ taskfreak-0.6.4/include/language/pt/common.php taskfreak-0.6.4/include/language/pt/freak.php taskfreak-0.6.4/include/language/pt/login_info.php taskfreak-0.6.4/include/language/pt/options.php taskfreak-0.6.4/include/language/pt/register_info.php taskfreak-0.6.4/include/language/pt/system.php taskfreak-0.6.4/include/language/ru/ taskfreak-0.6.4/include/language/ru/common.php taskfreak-0.6.4/include/language/ru/freak.php taskfreak-0.6.4/include/language/ru/login_info.php taskfreak-0.6.4/include/language/ru/options.php taskfreak-0.6.4/include/language/ru/register_info.php taskfreak-0.6.4/include/language/ru/system.php taskfreak-0.6.4/include/language/si/ taskfreak-0.6.4/include/language/si/common.php taskfreak-0.6.4/include/language/si/freak.php taskfreak-0.6.4/include/language/si/login_info.php taskfreak-0.6.4/include/language/si/options.php taskfreak-0.6.4/include/language/si/register_info.php taskfreak-0.6.4/include/language/si/system.php taskfreak-0.6.4/include/language/sk/ taskfreak-0.6.4/include/language/sk/common.php taskfreak-0.6.4/include/language/sk/freak.php taskfreak-0.6.4/include/language/sk/login_info.php taskfreak-0.6.4/include/language/sk/options.php taskfreak-0.6.4/include/language/sk/register_info.php taskfreak-0.6.4/include/language/sk/system.php taskfreak-0.6.4/include/language/sr/ taskfreak-0.6.4/include/language/sr/common.php taskfreak-0.6.4/include/language/sr/freak.php taskfreak-0.6.4/include/language/sr/login_info.php taskfreak-0.6.4/include/language/sr/options.php taskfreak-0.6.4/include/language/sr/register_info.php taskfreak-0.6.4/include/language/sr/system.php taskfreak-0.6.4/include/language/sv/ taskfreak-0.6.4/include/language/sv/common.php taskfreak-0.6.4/include/language/sv/freak.php taskfreak-0.6.4/include/language/sv/login_info.php taskfreak-0.6.4/include/language/sv/options.php taskfreak-0.6.4/include/language/sv/README taskfreak-0.6.4/include/language/sv/register_info.php taskfreak-0.6.4/include/language/sv/system.php taskfreak-0.6.4/include/language/tr/ taskfreak-0.6.4/include/language/tr/common.php taskfreak-0.6.4/include/language/tr/freak.php taskfreak-0.6.4/include/language/tr/login_info.php taskfreak-0.6.4/include/language/tr/options.php taskfreak-0.6.4/include/language/tr/register_info.php taskfreak-0.6.4/include/language/tr/system.php taskfreak-0.6.4/include/language/zh/ taskfreak-0.6.4/include/language/zh/common.php taskfreak-0.6.4/include/language/zh/freak.php taskfreak-0.6.4/include/language/zh/login_info.php taskfreak-0.6.4/include/language/zh/options.php taskfreak-0.6.4/include/language/zh/register_info.php taskfreak-0.6.4/include/language/zh/system.php taskfreak-0.6.4/index.php taskfreak-0.6.4/install/ taskfreak-0.6.4/install/CHANGES.txt taskfreak-0.6.4/install/index.php taskfreak-0.6.4/install/mysql.copy.php taskfreak-0.6.4/install/mysql.init.php taskfreak-0.6.4/install/mysql.init.sql taskfreak-0.6.4/install/README.txt taskfreak-0.6.4/install/RIGHTS.txt taskfreak-0.6.4/js/ taskfreak-0.6.4/js/common.js taskfreak-0.6.4/js/freak.js taskfreak-0.6.4/js/member.js taskfreak-0.6.4/js/team.js taskfreak-0.6.4/jscalendar/ taskfreak-0.6.4/jscalendar/calendar-freak.css taskfreak-0.6.4/jscalendar/calendar-setup.js taskfreak-0.6.4/jscalendar/calendar-setup.php taskfreak-0.6.4/jscalendar/calendar.js taskfreak-0.6.4/jscalendar/img.gif taskfreak-0.6.4/jscalendar/lang/ taskfreak-0.6.4/jscalendar/lang/calendar-af.js taskfreak-0.6.4/jscalendar/lang/calendar-al.js taskfreak-0.6.4/jscalendar/lang/calendar-bg.js taskfreak-0.6.4/jscalendar/lang/calendar-big5-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-big5.js taskfreak-0.6.4/jscalendar/lang/calendar-br.js taskfreak-0.6.4/jscalendar/lang/calendar-ca.js taskfreak-0.6.4/jscalendar/lang/calendar-cn.js taskfreak-0.6.4/jscalendar/lang/calendar-cs-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-cs-win.js taskfreak-0.6.4/jscalendar/lang/calendar-da.js taskfreak-0.6.4/jscalendar/lang/calendar-de.js taskfreak-0.6.4/jscalendar/lang/calendar-du.js taskfreak-0.6.4/jscalendar/lang/calendar-el.js taskfreak-0.6.4/jscalendar/lang/calendar-en.js taskfreak-0.6.4/jscalendar/lang/calendar-es.js taskfreak-0.6.4/jscalendar/lang/calendar-fi.js taskfreak-0.6.4/jscalendar/lang/calendar-fr.js taskfreak-0.6.4/jscalendar/lang/calendar-he-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-hr-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-hr.js taskfreak-0.6.4/jscalendar/lang/calendar-hu.js taskfreak-0.6.4/jscalendar/lang/calendar-it.js taskfreak-0.6.4/jscalendar/lang/calendar-jp.js taskfreak-0.6.4/jscalendar/lang/calendar-ko-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-ko.js taskfreak-0.6.4/jscalendar/lang/calendar-lt-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-lt.js taskfreak-0.6.4/jscalendar/lang/calendar-lv.js taskfreak-0.6.4/jscalendar/lang/calendar-nl.js taskfreak-0.6.4/jscalendar/lang/calendar-no.js taskfreak-0.6.4/jscalendar/lang/calendar-pl-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-pl.js taskfreak-0.6.4/jscalendar/lang/calendar-pt.js taskfreak-0.6.4/jscalendar/lang/calendar-ro.js taskfreak-0.6.4/jscalendar/lang/calendar-ru.js taskfreak-0.6.4/jscalendar/lang/calendar-ru_win_.js taskfreak-0.6.4/jscalendar/lang/calendar-si.js taskfreak-0.6.4/jscalendar/lang/calendar-sk-utf8.js taskfreak-0.6.4/jscalendar/lang/calendar-sk.js taskfreak-0.6.4/jscalendar/lang/calendar-sp.js taskfreak-0.6.4/jscalendar/lang/calendar-sv.js taskfreak-0.6.4/jscalendar/lang/calendar-tr.js taskfreak-0.6.4/jscalendar/lang/calendar-zh.js taskfreak-0.6.4/jscalendar/lang/cn_utf8.js taskfreak-0.6.4/jscalendar/menuarrow.gif taskfreak-0.6.4/jscalendar/menuarrow2.gif taskfreak-0.6.4/jscalendar/README taskfreak-0.6.4/login.php taskfreak-0.6.4/logout.php taskfreak-0.6.4/print_list.php taskfreak-0.6.4/project_edit.php taskfreak-0.6.4/project_list.php taskfreak-0.6.4/public.php taskfreak-0.6.4/README.txt taskfreak-0.6.4/rss.php taskfreak-0.6.4/skins/ taskfreak-0.6.4/skins/bluefreak/ taskfreak-0.6.4/skins/bluefreak/css/ taskfreak-0.6.4/skins/bluefreak/css/calendar.css taskfreak-0.6.4/skins/bluefreak/css/freak.css taskfreak-0.6.4/skins/bluefreak/css/levels.css taskfreak-0.6.4/skins/bluefreak/css/print.css taskfreak-0.6.4/skins/bluefreak/css/priority3.css taskfreak-0.6.4/skins/bluefreak/css/priority5.css taskfreak-0.6.4/skins/bluefreak/css/priority9.css taskfreak-0.6.4/skins/bluefreak/images/ taskfreak-0.6.4/skins/bluefreak/images/b_close.png taskfreak-0.6.4/skins/bluefreak/images/b_dele.png taskfreak-0.6.4/skins/bluefreak/images/b_deln.png taskfreak-0.6.4/skins/bluefreak/images/b_delx.png taskfreak-0.6.4/skins/bluefreak/images/b_disc.png taskfreak-0.6.4/skins/bluefreak/images/b_disc2.png taskfreak-0.6.4/skins/bluefreak/images/b_disn.png taskfreak-0.6.4/skins/bluefreak/images/b_disy.png taskfreak-0.6.4/skins/bluefreak/images/b_edin.png taskfreak-0.6.4/skins/bluefreak/images/b_edit.png taskfreak-0.6.4/skins/bluefreak/images/b_enan.png taskfreak-0.6.4/skins/bluefreak/images/b_enay.png taskfreak-0.6.4/skins/bluefreak/images/b_new.png taskfreak-0.6.4/skins/bluefreak/images/bullet.png taskfreak-0.6.4/skins/bluefreak/images/bullet2.png taskfreak-0.6.4/skins/bluefreak/images/bullet3.png taskfreak-0.6.4/skins/bluefreak/images/cal.gif taskfreak-0.6.4/skins/bluefreak/images/desc.png taskfreak-0.6.4/skins/bluefreak/images/freak-logo.png taskfreak-0.6.4/skins/bluefreak/images/load.gif taskfreak-0.6.4/skins/bluefreak/images/loading.gif taskfreak-0.6.4/skins/bluefreak/images/logo.png taskfreak-0.6.4/skins/bluefreak/images/logout-off.png taskfreak-0.6.4/skins/bluefreak/images/logout-on.png taskfreak-0.6.4/skins/bluefreak/images/more.png taskfreak-0.6.4/skins/bluefreak/images/new.png taskfreak-0.6.4/skins/bluefreak/images/priv1.png taskfreak-0.6.4/skins/bluefreak/images/priv2.png taskfreak-0.6.4/skins/bluefreak/images/raz.png taskfreak-0.6.4/skins/bluefreak/images/refresh.png taskfreak-0.6.4/skins/redfreak/ taskfreak-0.6.4/skins/redfreak/css/ taskfreak-0.6.4/skins/redfreak/css/calendar.css taskfreak-0.6.4/skins/redfreak/css/freak.css taskfreak-0.6.4/skins/redfreak/css/levels.css taskfreak-0.6.4/skins/redfreak/css/print.css taskfreak-0.6.4/skins/redfreak/css/priority3.css taskfreak-0.6.4/skins/redfreak/css/priority5.css taskfreak-0.6.4/skins/redfreak/css/priority9.css taskfreak-0.6.4/skins/redfreak/images/ taskfreak-0.6.4/skins/redfreak/images/b_dele.png taskfreak-0.6.4/skins/redfreak/images/b_deln.png taskfreak-0.6.4/skins/redfreak/images/b_delx.png taskfreak-0.6.4/skins/redfreak/images/b_disc.png taskfreak-0.6.4/skins/redfreak/images/b_disc2.png taskfreak-0.6.4/skins/redfreak/images/b_disn.png taskfreak-0.6.4/skins/redfreak/images/b_disy.png taskfreak-0.6.4/skins/redfreak/images/b_edin.png taskfreak-0.6.4/skins/redfreak/images/b_edit.png taskfreak-0.6.4/skins/redfreak/images/b_enan.png taskfreak-0.6.4/skins/redfreak/images/b_enay.png taskfreak-0.6.4/skins/redfreak/images/b_new.png taskfreak-0.6.4/skins/redfreak/images/bullet.png taskfreak-0.6.4/skins/redfreak/images/bullet2.png taskfreak-0.6.4/skins/redfreak/images/bullet3.png taskfreak-0.6.4/skins/redfreak/images/cal.gif taskfreak-0.6.4/skins/redfreak/images/desc.png taskfreak-0.6.4/skins/redfreak/images/freak-logo.png taskfreak-0.6.4/skins/redfreak/images/load.gif taskfreak-0.6.4/skins/redfreak/images/loading.gif taskfreak-0.6.4/skins/redfreak/images/logo.png taskfreak-0.6.4/skins/redfreak/images/logout-off.png taskfreak-0.6.4/skins/redfreak/images/logout-on.png taskfreak-0.6.4/skins/redfreak/images/more.png taskfreak-0.6.4/skins/redfreak/images/new.png taskfreak-0.6.4/skins/redfreak/images/priv1.png taskfreak-0.6.4/skins/redfreak/images/priv2.png taskfreak-0.6.4/skins/redfreak/images/raz.png taskfreak-0.6.4/skins/redfreak/images/refresh.png taskfreak-0.6.4/user_details.php taskfreak-0.6.4/user_edit.php taskfreak-0.6.4/user_list.php taskfreak-0.6.4/user_password.php taskfreak-0.6.4/user_register.php taskfreak-0.6.4/xajax/ taskfreak-0.6.4/xajax/LICENSE.txt taskfreak-0.6.4/xajax/README.txt taskfreak-0.6.4/xajax/xajax.inc.php taskfreak-0.6.4/xajax/xajax_js/ taskfreak-0.6.4/xajax/xajax_js/xajax.js taskfreak-0.6.4/xajax/xajax_js/xajax_uncompressed.js taskfreak-0.6.4/xajax/xajaxCompress.php taskfreak-0.6.4/xajax/xajaxResponse.inc.php taskfreak-0.6.4/xajax.task.php
Pour des raisons de sécurité, le propriétaire de ce répertoire est modifié pour indiquer le compte exécutant le serveur Apache, à savoir www-data
:
#sudo chown -R www-data:www-data /var/opt/taskfreak-0.6.4
Puis, un lien symbolique est créé vers ce déploiement, facilitant ainsi les montées de versions. De même, le propriétaire du lien est modifié:
#cd /var/opt #sudo ln -s taskfreak-0.6.4 taskfreak #sudo chown -h www-data:www-data taskfreak
Toujours pour des raisons de sécurité, les droits d'accès à ces fichiers sont positionnés pour empêcher la lecture par n'importe quel compte. En effet, un fichier va contenir la configuration d'accès à la base de données.
#sudo find /var/opt/taskfreak -type f -exec chmod 0600 {} \; #sudo find /var/opt/taskfreak -type d -exec chmod 0700 {} \;
L'application est alors prête à être utilisée à sous Apache.
Publication sous Apache
Initialisation
Lors du démarrage de l'application, il faut ouvrir la page .../taskfreak/install
, en supposant un accès à partir de l'URL taskfreak
. Ceci permet d'exécuter les vérifications et d'initialiser l'application.
Il faut alors cliquer sur le lien Check Install
qui effectue une vérification des installations nécessaires sur la machine. La base de données n'étant pas encore créée, un avertissement est affiché:
Il est donc nécessaire de construire celle ci, sous MySql dans le cadre de cet article.
Configuration MySql
Initialisation base de données
Une fois la base de données créée, l'outil de vérification détecte sa présence mais indique que les tables sont manquantes:
Le bouton Yes, create missing tables for me
va lancer l'initialisation de celle ci, et les pré requis sont alors validés.
L'application est alors disponible et la connexion est possible avec le compte par défaut admin
sans mot de passe.
Cependant, après connexion il est indiquer que le répertoire d'installation est toujours disponible, induisant qu'il est préférable des les supprimer:
Pour cela, il suffit de supprimer le répertoire install
, trouvé dans le répertoire de déploiement de TaskFreak.
#sudo rm -rf /var/opt/taskfreak/install