source: TI03-DataExtractor/trunk/known_installations/westerly_install_notes.txt @ 1244

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/trunk/known_installations/westerly_install_notes.txt@1244
Revision 1244, 2.6 KB checked in by astephen, 14 years ago (diff)

Close to alpha version.

Line 
1
2NOTES about installing on westerly.
3====================================
4
5Changes made to install.conf:
6
7BASEDIR="/usr/local/badc_local/ag/installation/dxs"
8OUTPUT_DIR="/srv/www/htdocs/dxs-test/output"
9OUTPUT_FILE_USER="badc"
10OUTPUT_FILE_GROUP="badcint"
11OUTPUT_DIR_PERMISSION=0755
12SOAP_SERVER_URL="http://westerly.badc.rl.ac.uk:8406/DXWSInterface.py"
13BASEDIR="/usr/local/badc_local/ag/installation/dxc"
14REQUEST_XML_DIR_LOCAL_PATH="/srv/www/htdocs/dx/request_xmls"
15REQUEST_XML_DIR_URL_PATH="http://westerly.badc.rl.ac.uk/dx/request_xmls"
16STATIC_WEBSERVER_URL_PATH="http://westerly.badc.rl.ac.uk"
17STATIC_WEBSERVER_LOCAL_PATH="/srv/www/htdocs"
18WEB_EXTRAS_URL_PATH=os.path.join(STATIC_WEBSERVER_URL_PATH, "dx/extras")
19WEB_EXTRAS_LOCAL_PATH=os.path.join(STATIC_WEBSERVER_LOCAL_PATH, "dx/extras")
20CGI_SCRIPT_URL_PATH="http://westerly.badc.rl.ac.uk/cgi-bin/agdxui"
21CGI_SCRIPT_LOCAL_PATH="/srv/www/cgi-bin/agdxui"
22OUTPUT_DIR_LOCAL_PATH="/srv/www/htdocs/dxs-test/output"
23OUTPUT_DIR_URL_PATH="http://westerly.badc.rl.ac.uk/dxs-test/output"
24VISUALISOR_NAME="http://westerly.badc.rl.ac.uk/cgi-bin/splatui"
25MAP_APPLET_URL_PATH=os.path.join(WEB_EXTRAS_URL_PATH, "LiveMap_30/extractorMap.h
26tml")
27
28Had to change paths because no root password to create in /srv/www/htdocs so re-
29used Kevin's folders here.
30
31========
32
33unpacked - then needed to change ownership of dirs so that BADC could write to t
34hem:
35
36/srv/www/cgi-bin/
37/srv/www/htdocs/
38
39Had to remove API import (CSML) in the code CSMLDataHandler.py module.
40
41Had to stop Kevin's old DXWSInterface.py script.
42
43Then it worked until the Map applet selection. I reckon it must have been trying
44 to write the map applet file.
45
46--------------------------
47Attempt 2: Re-got source tar file.
48Got it unpacked under src.
49Copied install.conf in from last attempt.
50
51tar -xvzf pydxs-0.3.0.tar.gz ; tar -xvzf pydxc-0.3.0.tar.gz
52
53cp ../install.conf ./
54cd pydxs-0.3.0
55/usr/local/badc_local/CDAT-4.0-test/bin/python /usr/local/badc_local/ag/installation/dxs/bin/DXWSInterface.py /usr/local/badc_local/ag/installation/dxs/configs/serverConfig.py
56
57Changed DEBUG to check map applet issue
58
59chmod 777 /srv/www/htdocs/dx/extras/maps
60
61Need to do encode this is setup.py !!!! - I THINK I'VE FIXED THIS.
62
63Then couldn't write to:
64
65['/srv/www/htdocs/dxs-test/output/jane/dx_output/tdg1-prefix_dset1_1999010100_pqn.nc']
66
67
68Because I'd mixed up the output dirs and it only created dx/output/...
69
70So just edited both config files to ensure all /dxs-test/output/ were /dx/output/
71
72Then had to edit common.py to re-import commented out line. - FIXED
73
74Need to put logo dir in setup.py properly as this gets lost and logos are not found - FIXED I THINK.
75
76
Note: See TracBrowser for help on using the repository browser.