+++ /dev/null
-
-As root or with sudo command:
-
-0)
-yum install fcgi-devel
-yum install mod_fcgid
-
-1) ld configuration
-cp bbtk.conf /etc/ld.so.conf.d/.
-ldconfig
-
-2) Create virtual site apache
-mkdir /var/www/testwtdbg
-mkdir /var/www/testwtdbg/docroot
-
-<rootBbtkWt> = /var/www/testwtdbg/docroot
-
-
-3) Apache configuration
-cp fastcgi-wt.conf /etc/httpd/conf.d/.
-service httpd restart
-
-4) wt temporary diractory
-mkdir /var/run/wt
-chown apache:apache /var/run/wt
-
-5) wt CONFIGURATION
-mkdir /etc/wt
-cp wt_config.xml /etc/wt/.
-
-6) Prepare wt application site
-
-mkdir <rootBbtkWt>/<appliBtkWt>
-chown apache:apache <rootBbtkWt>/<appliBtkWt>
-mkdir <rootBbtkWt>/<appliBtkWt>/imagesTMP
-cp bbiWeb.php <rootBbtkWt>/<appliBtkWt>/.
-ln -s <INSTALATION_WT>/share/Wt/resources <rootBbtkWt>/<appliBbtkWt>/resources
-ln -s <INSTALATION_creaWT>/wt/data/reosurcesXTK <rootBbtkWt>/resourcesXTK
-ln -s <INSTALATION_BBTK>/bin/bbiWeb.wt <rootBbtkWt>/bbiWeb.wt
-
-
-7) Call application from browser
-http://localhost/<appliBbtkWt>/bbiWeb.php
-
-
-
-
-------------------------------------------------------
-TODO:
-0) BUG: bbiWeb.wt reads just 1 bbs : demoPresentacion1Boton02.bbs
-0.5) BUG The tempFiles from bbtk-wt are in nn
-
-1) BUG: Modify Thirdparty-install-Base-rpm.sh
- separate the devel modules
-2) FUTURE: Add creaWT in bbtk stuff
-3) FUTURE: Install de directory data of creaWT in share/creaWT/data
-4) BUG: creaWT/wt/data/resourcesXTK <reosurcesXTK>
-5) bbtk-WT hola.nii can't be generated automaticaly
-------------------------------------------------------
-
-
-Genaral Notes:
---------------
-
-http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache
-
-https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-13
-
-.OK.
-http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_+_Apache_+_mod_fcgid_+_Valgrind_+_gdb_+_SELinux_-_Deploy_and_Debug
-
-0) Fast CGI (FCGI) devel+apache:
-yum install fcgi-devel
-yum install mod_fcgid
-
-wtBin -> ccmake ->
- CONNECTOR_FCGI ON
- CONNECTOR_FCGI ON
- ENABLE_EXT
-make -j8
-wtBin cmake -DEXAMPLES_CONNECTOR="wtfcgi" .
-make -C examples -j8
-
-
-
-
-FastCGI configuration:
-/etc/httpd/conf.modules.d/fastcgi-wt.conf
-
-
-Configuration LD_libray_path for all users
-1)
-/etc/ld.so.conf.d/bbtk.conf
- /tmpEED/Creatis/creaTools/creatools_install/lib64/creatools
- /tmpEED/tplI/lib/wt-3.3.4
- /tmpEED/tplI/lib/gdcm
- /tmpEED/tplI/lib/InsightToolkit
- /tmpEED/tplI/lib/vtk-5.10
-2)
-Luego ejecutar> ldconfig
-
-Appache
- service httpd start
- service httpd stop
- service httpd restart
-
-See errors:
- systemctl status httpd.service
- /etc/httpd/logs/
-
-
-
-
-
--------
-
-
-wt
-http://www.webtoolkit.eu/widgets
-
-
-
----
-
-php
--system ou exec ??:
-http://php.net/manual/fr/function.system.php
-
--Redirect a page:
-http://www.apprendre-php.com/tutoriels/tutoriel-15-faire-une-redirection-vers-une-autre-page.html
-
--unique Id
-http://php.net/manual/fr/function.uniqid.php
-
-
-