2 As root or with sudo command:
5 Compile bbtk with the cmake option USE_WT
12 cp bbtk.conf /etc/ld.so.conf.d/.
13 1.1) check the path of the file /etc/ld.so.conf.d/bbtk.conf
17 1.2) Check the paths of the file
19 2) Create virtual site apache
20 mkdir /var/www/testwtdbg
21 mkdir /var/www/testwtdbg/docroot
23 <rootBbtkWt> = /var/www/testwtdbg/docroot
26 3) Apache configuration
27 cp fastcgi-wt.conf /etc/httpd/conf.d/.
30 4) wt temporary diractory
32 chown apache:apache /var/run/wt
36 cp wt_config.xml /etc/wt/.
38 6) Prepare wt application site
40 mkdir <rootBbtkWt>/<appliBtkWt>
41 chown apache:apache <rootBbtkWt>/<appliBtkWt>
42 mkdir <rootBbtkWt>/<appliBtkWt>/imagesTMP
43 cp bbiWeb.php <rootBbtkWt>/<appliBtkWt>/.
44 ln -s <INSTALATION_BBTK>/share/Wt/resources <rootBbtkWt>/<appliBbtkWt>/resources
45 ln -s <INSTALATION_creaWTInstall>/share/data/reosurcesXTK <rootBbtkWt>/resourcesXTK
46 ln -s <INSTALATION_BBTK>/bin/bbiWeb.wt <rootBbtkWt>/bbiWeb.wt
48 7) To cofigure new Package in
49 <rootBbtkWt>/.bbtk/bbtk_config.xml
52 <creaWTInstall>/share/bbtk/bbs
55 <creaWTbin> OR <creaWTInstall>/lib64/creatools
61 8) Call application from browser
62 http://localhost/<appliBbtkWt>/bbiWeb.php
67 ------------------------------------------------------
69 0) BUG: bbiWeb.wt reads just 1 bbs : demoPresentacion1Boton02.bbs
70 0.5) BUG The tempFiles from bbtk-wt are in nn
72 1) BUG: Modify Thirdparty-install-Base-rpm.sh
73 separate the devel modules
74 2) FUTURE: Add creaWT in bbtk stuff
75 3) FUTURE: Install de directory data of creaWT in share/creaWT/data
76 4) BUG: creaWT/wt/data/resourcesXTK <reosurcesXTK>
77 5) bbtk-WT hola.nii can't be generated automaticaly
78 ------------------------------------------------------
84 http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache
86 https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-13
89 http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_+_Apache_+_mod_fcgid_+_Valgrind_+_gdb_+_SELinux_-_Deploy_and_Debug
91 0) Fast CGI (FCGI) devel+apache:
92 yum install fcgi-devel
100 wtBin cmake -DEXAMPLES_CONNECTOR="wtfcgi" .
106 FastCGI configuration:
107 /etc/httpd/conf.modules.d/fastcgi-wt.conf
110 Configuration LD_libray_path for all users
112 /etc/ld.so.conf.d/bbtk.conf
113 /tmpEED/Creatis/creaTools/creatools_install/lib64/creatools
114 /tmpEED/tplI/lib/wt-3.3.4
115 /tmpEED/tplI/lib/gdcm
116 /tmpEED/tplI/lib/InsightToolkit
117 /tmpEED/tplI/lib/vtk-5.10
119 Luego ejecutar> ldconfig
124 service httpd restart
127 systemctl status httpd.service
138 http://www.webtoolkit.eu/widgets
146 http://php.net/manual/fr/function.system.php
149 http://www.apprendre-php.com/tutoriels/tutoriel-15-faire-une-redirection-vers-une-autre-page.html
152 http://php.net/manual/fr/function.uniqid.php