Project

General

Profile

VSO installation on sdo1 » History » Version 1

Pablo Alingery, 10/04/2017 17:12

1 1 Pablo Alingery
h1. VSO installation on sdo1 
2 1 Pablo Alingery
3 1 Pablo Alingery
h2. Configure Apache2 
4 1 Pablo Alingery
5 1 Pablo Alingery
h3. Log Level 
6 1 Pablo Alingery
7 1 Pablo Alingery
Change LogLevel to debug in  /etc/apache2/apache2.conf 
8 1 Pablo Alingery
9 1 Pablo Alingery
h3. Alias SDO 
10 1 Pablo Alingery
Veuillez créer l'alias VSO/DRMS/cgi-bin/ dans le fichier de configuration /etc/apache2/mods-available/alias.conf
11 1 Pablo Alingery
Le fichier doit contenir :
12 1 Pablo Alingery
	Alias /VSO/DRMS/cgi-bin/ "/usr/local/netdrms/scripts/cgi-bin/"
13 1 Pablo Alingery
14 1 Pablo Alingery
15 1 Pablo Alingery
16 1 Pablo Alingery
h3. Config /etc/apache2/envvars
17 1 Pablo Alingery
18 1 Pablo Alingery
Le fichier /etc/apache2/envvars doit contenir la configuration suivante :
19 1 Pablo Alingery
20 1 Pablo Alingery
<pre>
21 1 Pablo Alingery
# Since there is no sane way to get the parsed apache2 config in scripts, some 
22 1 Pablo Alingery
# settings are defined via environment variables and then used in apache2ctl, 
23 1 Pablo Alingery
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc. 
24 1 Pablo Alingery
export APACHE_RUN_USER=vsouser 
25 1 Pablo Alingery
export APACHE_RUN_GROUP=ias 
26 1 Pablo Alingery
export APACHE_PID_FILE=/var/run/apache2.pid 
27 1 Pablo Alingery
export PATH=/usr/local/jmd/derby/bin:/usr/local/pgsql/bin:/usr/local/jmd/vso/scripts:/usr/local/jmd/jetty/bin:/home/production/netdrms_current/scripts:/home/production/netdrms_current/bin/linux_x86_64:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/pgsql/bin 
28 1 Pablo Alingery
export SHELL=/bin/bash 
29 1 Pablo Alingery
#USER=vsouser 
30 1 Pablo Alingery
31 1 Pablo Alingery
</pre>