2 As root or with sudo command:
5 Compile bbtk with the cmake option USE_WT
6 (Make sure you are in a new consolo with all the thirdparty variables are loaded)
8 2) Compile and install le package de creaWt
9 definir <creaWTInstall>
12 dnf install fcgi-devel
16 cp bbtk.conf /etc/ld.so.conf.d/.
17 4.1) check the path of the file /etc/ld.so.conf.d/bbtk.conf
21 4.2) Check the paths of the file
23 5) Create virtual site apache
24 mkdir /var/www/testwtdbg
25 mkdir /var/www/testwtdbg/docroot
27 <rootBbtkWt> = /var/www/testwtdbg/docroot
30 6) Apache configuration
31 cp fastcgi-wt.conf /etc/httpd/conf.d/.
34 7) wt temporary diractory
36 chown apache:apache /var/run/wt
40 cp wt_config.xml /etc/wt/.
42 9) Prepare wt application site
44 mkdir <rootBbtkWt>/<appliBtkWt>
45 chown apache:apache <rootBbtkWt>/<appliBtkWt>
46 mkdir <rootBbtkWt>/<appliBtkWt>/imagesTMP
47 cp bbiWeb.php <rootBbtkWt>/<appliBtkWt>/.
48 ln -s <INSTALATION_BBTK>/share/Wt/resources <rootBbtkWt>/<appliBbtkWt>/resources
49 ln -s <INSTALATION_creaWTInstall>/share/data/reosurcesXTK <rootBbtkWt>/resourcesXTK
50 ln -s <INSTALATION_BBTK>/bin/bbiWeb.wt <rootBbtkWt>/bbiWeb.wt
52 10) To cofigure new Package in
53 <rootBbtkWt>/.bbtk/bbtk_config.xml
56 <creaWTInstall>/share/bbtk/bbs
59 <creaWTbin> OR <creaWTInstall>/lib64/creatools
65 11) Call application from browser
66 http://localhost/<appliBbtkWt>/bbiWeb.php
71 ------------------------------------------------------
73 0) BUG: bbiWeb.wt reads just 1 bbs : demoPresentacion1Boton02.bbs
74 0.5) BUG The tempFiles from bbtk-wt are in nn
76 1) BUG: Modify Thirdparty-install-Base-rpm.sh
77 separate the devel modules
78 2) FUTURE: Add creaWT in bbtk stuff
79 3) FUTURE: Install de directory data of creaWT in share/creaWT/data
80 4) BUG: creaWT/wt/data/resourcesXTK <reosurcesXTK>
81 5) bbtk-WT hola.nii can't be generated automaticaly
82 ------------------------------------------------------
88 http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache
90 https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-13
93 http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_+_Apache_+_mod_fcgid_+_Valgrind_+_gdb_+_SELinux_-_Deploy_and_Debug
95 0) Fast CGI (FCGI) devel+apache:
96 yum install fcgi-devel
104 wtBin cmake -DEXAMPLES_CONNECTOR="wtfcgi" .
110 FastCGI configuration:
111 /etc/httpd/conf.modules.d/fastcgi-wt.conf
114 Configuration LD_libray_path for all users
116 /etc/ld.so.conf.d/bbtk.conf
117 /tmpEED/Creatis/creaTools/creatools_install/lib64/creatools
118 /tmpEED/tplI/lib/wt-3.3.4
119 /tmpEED/tplI/lib/gdcm
120 /tmpEED/tplI/lib/InsightToolkit
121 /tmpEED/tplI/lib/vtk-5.10
123 Luego ejecutar> ldconfig
128 service httpd restart
131 systemctl status httpd.service
142 http://www.webtoolkit.eu/widgets
150 http://php.net/manual/fr/function.system.php
153 http://www.apprendre-php.com/tutoriels/tutoriel-15-faire-une-redirection-vers-une-autre-page.html
156 http://php.net/manual/fr/function.uniqid.php