-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME
72 lines (53 loc) · 3.43 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
==============================================================
* Download links
==============================================================
- Open Foris Calc:
Windows:
https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.openforis.calc&a=calc-installer&v=LATEST&c=windows&e=exe
Linux:
https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.openforis.calc&a=calc-installer&v=LATEST&c=linux&e=run
- Open Foris Collect:
https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.openforis.collect&a=collect-installer&v=LATEST&c=windows&e=exe
- Open Foris Test Data:
http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.test-data&a=test-data&v=LATEST&e=zip
==============================================================
* Calc Installation instructions
==============================================================
1. Download and install Jdk 1.8 + [ http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html ]
2. Download and install Postgres 9.2 + [http://www.enterprisedb.com/products-services-training/pgdownload].
Note: the required password should be set as 'postgres'.
3. Download and install R 3.1 + [http://cran.r-project.org/].
Note: for Windows users, R should be installed in a folder that
contains no spaces, for example "C:\Opt\R\R-3.1.0".
4. Download and install Open Foris Calc [ OpenForisCalc-VERSION-PLATFORM-installer.EXTENSION ] at the above link
Note 1: for Windows users, CALC should be installed in a folder that contains no spaces,
for example "C:\opt\OpenForisCalc".
Note 2: Administration rights are required.
Note 3: Both Windows and Linux users will be required to re-start
the computer in order to update the required system settings.
5. Start Calc
Double click on the "Open Foris Calc Control Panel" located on your desktop.
6. Stop Calc
Click the stop button available on "Open Foris Calc Control Panel"
============================================================================
* Tomcat 7 database parameters configuration
============================================================================
- The file calc.xml (calc-server/tomcat/conf/Catalina/localhost/calc.xml) contains the database settings as follow.
Change them if you don't have the default settings
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/calc" reloadable="false">
<Parameter name="calc.jdbc.driver" value="org.postgresql.Driver" />
<Parameter name="calc.jdbc.host" value="localhost" />
<Parameter name="calc.jdbc.port" value="5432" />
<Parameter name="calc.jdbc.db" value="calc" />
<Parameter name="calc.jdbc.url" value="jdbc:postgresql://${calc.jdbc.host}:${calc.jdbc.port}/${calc.jdbc.db}" />
<Parameter name="calc.jdbc.schema" value="calc" />
<Parameter name="calc.jdbc.username" value="calc" />
<Parameter name="calc.jdbc.password" value="calc" />
<Parameter name="calc.jdbc.adminuser" value="postgres" />
<Parameter name="calc.jdbc.adminpassword" value="postgres" />
<Parameter name="calc.jdbc.maxActive" value="10" />
<Parameter name="calc.jdbc.minIdle" value="5" />
<Parameter name="saiku.home" value="${catalina.home}/webapps/saiku" />
<Parameter name="saiku.ui.url" value="/saiku-ui" />
</Context>