From: Eduardo DAVILA Date: Thu, 17 Nov 2016 13:41:00 +0000 (+0100) Subject: clean files tmp X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b7b0a13b53f02c107951c2561ce54c6b7db33684;p=creaWT.git clean files tmp --- diff --git a/wt/data/infoConf_server_fcgi/Readme.txt~ b/wt/data/infoConf_server_fcgi/Readme.txt~ deleted file mode 100644 index ea5925f..0000000 --- a/wt/data/infoConf_server_fcgi/Readme.txt~ +++ /dev/null @@ -1,136 +0,0 @@ - -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 - - = /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 / -chown apache:apache / -mkdir //imagesTMP -cp bbiWeb.php //. -ln -s /share/Wt/resources //resources -ln -s /wt/data/reosurcesXTK /resourcesXTK -ln -s /bin/bbiWeb.wt /bbiWeb.wt - - -7) Call application from browser -http://localhost//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 -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 - - -