Version 358.1 von sandra_riediger am 18.12.2014

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="two_right_sidebar"}}
4 {{layout-cell}}
5 ====== Inhalt: ======
6
7
8
9 {{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
10 {{/layout-cell}}
11
12 {{layout-cell}}
13 |=(((
14 Status
15 )))|(((
16 (% class="status-macro aui-lozenge aui-lozenge-error" %)ENTWURF
17 )))
18 {{/layout-cell}}
19 {{/layout-section}}
20
21 {{layout-section ac:type="single"}}
22 {{layout-cell}}
23 == Requirements ==
24
25 * Oracle Java 8 and Apache Tomcat 8
26 * Apache Webserver with proxy_ajp and mod_rewrite (optional)
27 * MAXIMA for the use of calculations (optional)
28
29 == Download ==
30
31 * Download and install Oracle JDK 8: [[http:~~/~~/www.oracle.com/technetwork/java/javase/downloads/>>url:http://www.oracle.com/technetwork/java/javase/downloads/||title="Verknüpfung folgen" rel="nofollow" shape="rect"]]
32
33 {{code title="Install" language="powershell"}}
34 tar xfz jdk-8uX-linux-x64.tar.gz -C /opt
35 {{/code}}
36
37 * Let the environment variable $JAVA_HOME point to the JDK directory:
38
39 {{code title="JAVA-HOME" language="powershell"}}
40 export JAVA_HOME=/opt/jdk1.8.X
41 {{/code}}
42
43 * Download and install Tomcat 8: [[http:~~/~~/tomcat.apache.org/download-80.cgi>>url:http://tomcat.apache.org/download-80.cgi||title="Verknüpfung folgen" rel="nofollow" shape="rect"]]
44
45 {{code title="Tomcat" language="powershell"}}
46 tar xfz apache-tomcat-8.X.X.tar.gz -C /opt
47 {{/code}}
48
49 == Deployment ==
50
51 * Stop your Tomcat
52 * In case of an **update**, delete old ONYX war-files and dirs from ${TOMCAT_HOME}/webapps
53 * It might be useful to clear the work and temp directory of the Tomcat Server:
54
55 {{code title="Tomcat" language="powershell"}}
56 rm -rf ${TOMCAT_HOME}/temp/* ${TOMCAT_HOME}/work/*
57 {{/code}}
58
59 (% class="_mce_tagged_br" %)
60 * Copy the onyx-player-**X.X**.war to ${TOMCAT_HOME}/webapps
61 * Start your Tomcat
62 * Open the following URL in your browser: [[http:~~/~~/localhost:8080/onyx-player-X.X/demo>>url:http://localhost:8080/onyx-player-X.X/demo||shape="rect"]]
63
64 == Configuration of additional features ==
65
66 === Show **example tests** on your ONYX Player start page ===
67
68 * Save the zip-files in /src/main/resources/tests
69 * Set showinternaltests to true (onyxplugin.config.xml)
70
71 === Provide an **upload functionality** for tests on your ONYX Player start page ===
72
73 * Define a folder in onyxplugin.config.xml where uploaded tests should be stored: <uploaddir>/tmp/</uploaddir>
74 * Note that this folder must exist and be writable or it must be allowed to create it.
75 * You can upload tests on your ONYX Player start page and access the tests directly via a static URL.
76
77 === Install MAXIMA, if you like to use calculations ===
78
79 * Installation on RHEL/Fedora/CentOS:
80
81 {{code title="MAXIMA für RHEL/Fedora/CentOS" language="powershell"}}
82 sudo yum install maxima
83 {{/code}}
84
85 * Installation on Debian/Ubuntu/Mint:
86
87 {{code title="MAXIMA für Debian/Ubuntu/Mint" language="powershell"}}
88 sudo yum install maxima
89 {{/code}}
90
91 * Or visit [[http:~~/~~/maxima.sourceforge.net/>>url:http://maxima.sourceforge.net/||shape="rect"]] and download the MAXIMA files
92
93 === Save user results ===
94
95 ONYX allows saving user results on the hard disk additionally to the transmission to the LMS. This may be useful in case results cannot be transmitted due to errors in the LMS or during the transmission process. To activate this function enter the tag
96
97 {{code language="powershell"}}
98 <resultsdir>/tmp/onyxresults/</resultsdir> in the section <playerconfig>...</playerconfig>
99 {{/code}}
100
101 of the file onyxplugin.config.xml and adjust the indicated directory to your server.
102
103 Tomcat needs a writing permission for this directory. The result files are sorted in a sub folder by date and will not be deleted. In case the result files are no longer required, deletion can be done only by administrators.
104 {{/layout-cell}}
105 {{/layout-section}}
106 {{/layout}}
107 {{/sv-translation}}
108
109 {{sv-translation language="en"}}
110 {{layout}}
111 {{layout-section ac:type="single"}}
112 {{layout-cell}}
113 ====== (% style="color: rgb(112,112,112);" %)Content:(%%) ======
114
115
116
117 {{toc style="square" maxLevel="5" outline="true"/}}\\
118 {{/layout-cell}}
119 {{/layout-section}}
120
121 {{layout-section ac:type="single"}}
122 {{layout-cell}}
123 == Requirements ==
124
125 * Oracle Java 8 and Apache Tomcat 8
126 * Apache Webserver with proxy_ajp and mod_rewrite (optional)
127 * MAXIMA for the use of calculations (optional)
128
129 == Download ==
130
131 * Download and install Oracle JDK 8: [[http:~~/~~/www.oracle.com/technetwork/java/javase/downloads/>>url:http://www.oracle.com/technetwork/java/javase/downloads/||title="Verknüpfung folgen" rel="nofollow" shape="rect"]]
132
133 {{code title="Install" language="powershell"}}
134 tar xfz jdk-8uX-linux-x64.tar.gz -C /opt
135 {{/code}}
136
137 * Let the environment variable $JAVA_HOME point to the JDK directory:
138
139 {{code title="JAVA-HOME" language="powershell"}}
140 export JAVA_HOME=/opt/jdk1.8.X
141 {{/code}}
142
143 * Download and install Tomcat 8: [[http:~~/~~/tomcat.apache.org/download-80.cgi>>url:http://tomcat.apache.org/download-80.cgi||title="Verknüpfung folgen" rel="nofollow" shape="rect"]]
144
145 {{code title="Tomcat" language="powershell"}}
146 tar xfz apache-tomcat-8.X.X.tar.gz -C /opt
147 {{/code}}
148
149 == (% style="line-height: 1.5;" %)Deployment(%%) ==
150
151 * Stop your Tomcat
152 * In case of an **update**, delete old ONYX war-files and dirs from ${TOMCAT_HOME}/webapps
153 * It might be useful to clear the work and temp directory of the Tomcat Server:
154
155 {{code title="Tomcat" language="powershell"}}
156 rm -rf ${TOMCAT_HOME}/temp/* ${TOMCAT_HOME}/work/*
157 {{/code}}
158
159 (% class="_mce_tagged_br" %)
160 * Copy the onyx-player-**X.X**.war to ${TOMCAT_HOME}/webapps
161 * Start your Tomcat
162 * Open the following URL in your browser: [[http:~~/~~/localhost:8080/onyx-player-X.X/demo>>url:http://localhost:8080/onyx-player-X.X/demo||shape="rect"]]
163
164 == Configuration of additional features ==
165
166 === Show **example tests** on your ONYX Player start page ===
167
168 * Save the zip-files in /src/main/resources/tests
169 * Set showinternaltests to true (onyxplugin.config.xml)
170
171 === Provide an **upload functionality** for tests on your ONYX Player start page ===
172
173 * Define a folder in onyxplugin.config.xml where uploaded tests should be stored: <uploaddir>/tmp/</uploaddir>
174 * Note that this folder must exist and be writable or it must be allowed to create it.
175 * You can upload tests on your ONYX Player start page and access the tests directly via a static URL.
176
177 === Install MAXIMA, if you like to use calculations ===
178
179 * Installation on RHEL/Fedora/CentOS:
180
181 {{code title="MAXIMA für RHEL/Fedora/CentOS" language="powershell"}}
182 sudo yum install maxima
183 {{/code}}
184
185 * Installation on Debian/Ubuntu/Mint:
186
187 {{code title="MAXIMA für Debian/Ubuntu/Mint" language="powershell"}}
188 sudo yum install maxima
189 {{/code}}
190
191 * Or visit[[http:~~/~~/maxima.sourceforge.net/>>url:http://maxima.sourceforge.net/||shape="rect"]] and download the MAXIMA files
192
193 === Save user results ===
194
195 ONYX allows saving user results on the hard disk additionally to the transmission to the LMS. This may be useful in case results cannot be transmitted due to errors in the LMS or during the transmission process. To activate this function enter the tag
196
197 {{code language="powershell"}}
198 <resultsdir>/tmp/onyxresults/</resultsdir> in the section <playerconfig>...</playerconfig>
199 {{/code}}
200
201 of the file onyxplugin.config.xml and adjust the indicated directory to your server.
202
203 Tomcat needs a writing permission for this directory. The result files are sorted in a sub folder by date and will not be deleted. In case the result files are no longer required, deletion can be done only by administrators.
204 {{/layout-cell}}
205 {{/layout-section}}
206 {{/layout}}
207 {{/sv-translation}}