Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

public:install_a_txm_portal [2015/11/03 09:54]
sebastien.jacquot@univ-fcomte.fr
public:install_a_txm_portal [2017/02/08 10:55] (version actuelle)
slh@ens-lyon.fr
Ligne 117: Ligne 117:
-Run the TXM desktop to complete the installation process, the TXM local directories should be created under:+  * Run the TXM desktop version just installed to complete its installation process, the TXM local directories should be created under:
<code> <code>
/home/<user>/TXM /home/<user>/TXM
</code> </code>
-If your Linux system does not include a desktop environment, you need to enable X11 forwarding (-X option with ssh) to an X11 server on a client machine (e.g.: XQuartz on the Mac OS X, Cygwin/X on Microsoft Windows).+If your server does not include a desktop environment (headless server configuration), you need to enable X11 forwarding or tunneling (with -X option in [[http://manpages.ubuntu.com/manpages/lucid/man1/ssh.1.html|ssh]]) between the server and the X11 server (e.g.: X11 on Linux, XQuartz on Mac OS X, Xming or Cygwin/X on MS Windows) of the client machine. TXM Graphical User Interface will then be displayed and interactive on the client machine screen.
Make sure that the subdirectories are accessible for read & write rights to the tomcat6 group: Make sure that the subdirectories are accessible for read & write rights to the tomcat6 group:
Ligne 144: Ligne 144:
log_directory=/usr/share/tomcat6/.TXMWEB/txm/logs/ log_directory=/usr/share/tomcat6/.TXMWEB/txm/logs/
</code> </code>
 +
 +<note tip>You can copy all the corresponding binaries and libraries paths set in the "install.prefs" file of the TXM desktop installation directory.</note>
Then, replace the <user> with your login: Then, replace the <user> with your login:
Ligne 221: Ligne 223:
==== JVM memory configuration ==== ==== JVM memory configuration ====
-By default the memory allocated to the JVM is 128MB. If you have some Java Heap Space exception in tomcat logs you can increase the memory for tomcat service by editing the file /etc/init.d/tomcat6 and adding this line:+By default the allocated memory of the JVM is 128MB. If you have some Java Heap Space exceptions in tomcat logs when using the portal you can increase the memory for tomcat service by editing the file /etc/init.d/tomcat6 and adding this line:
<code> <code>
Ligne 258: Ligne 260:
-===== Working through SSH =====+===== Accessing through a VPN =====
-Example with XFCE.+In some contexts (often) you need to enter a VPN before connecting to the server: 
 +  * connect to the VPN with your system tools (typically a standard OpenVPN), eg. Linux: Réseau > Connexions VPN > <VPN name> 
 +  * or launch a specific VPN client from command line, eg. Linux: %%sudo ./fortisslvpn.sh%% 
 +    * set gateway, login, password 
 + 
 +===== Working through SSH =====
Connecting to server: Connecting to server:
Ligne 286: Ligne 293:
</code> </code>
-Example to copy a TXM binary corpora on server:+Example to copy a TXM binary corpora to server:
<code> <code>
Ligne 300: Ligne 307:
</code> </code>
 +See also rsync command that manage the version of the files and only copy the files if they have changed.
 +===== Directories description =====
 +The tomcat application directory:
 +<code>
 +/usr/share/tomcat6/
 +</code>
 +This directory also contains the TXM user directory with corpora, etc. and portal configuration files:
 +<code>
 +/usr/share/tomcat6/.TXMWEB
 +/usr/share/tomcat6/.TXMWEB/bfm/txmweb.conf            // main portal configuration file
 +/usr/share/tomcat6/.TXMWEB/bfm/textometrie.properties // toolbox configuration file
 +</code>
 +
 +The tomcat published space accessible through HTTP network:
 +<code>
 +/var/lib/tomcat6/webapps/
 +</code>
 +
 +The tomcat configuration directory:
 +<code>
 +/etc/tomcat6/
 +</code>
 +
 +The logs directory:
 +<code>
 +/var/log/tomcat6/
 +</code>
public/install_a_txm_portal.1446540842.txt.gz · Dernière modification: 2015/11/03 09:54 par sebastien.jacquot@univ-fcomte.fr