Rev 13756 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | reyssat | 1 | |
76 | bpr | 2 | Distribution version WIMS_VERSION of WIMS |
2 | reyssat | 3 | (WWW Interactive Multipurpose Server) |
4 | |||
5 | |||
6 | Please be aware that WIMS is a sophisticated software, not a simple set of |
||
7 | web pages. You have to compile and install it if you want to run it locally |
||
8 | on your computer. |
||
9 | |||
10 | WIMS is copyrighted under the GNU General Public License (GPL). See the file |
||
11 | COPYING for licensing conditions. |
||
7662 | bpr | 12 | |
2 | reyssat | 13 | This software is reported to work on several Linux distributions, including |
14 | Red Hat, Debian, and LinuxPPC. It is also reported to work on Mac OS-X and |
||
15 | should work on any modern Unix-like system after minimal porting efforts. |
||
16 | |||
4430 | bpr | 17 | You may compile the system on your machine. You can use a chroot for the third party |
7662 | bpr | 18 | support softwares or use the locally installed ones. |
2 | reyssat | 19 | |
4430 | bpr | 20 | ####################### |
21 | |||
22 | Here are the steps for a first installation with locally installed third party |
||
7662 | bpr | 23 | support softwares: |
4430 | bpr | 24 | |
3891 | bpr | 25 | 0. Install third party support softwares: |
26 | -- LaTeX distribution |
||
4371 | bpr | 27 | -- Pari 2.5 or up (http://pari.math.u-bordeaux.fr/). |
13756 | bpr | 28 | -- Maxima 5.20 or up (http://sourceforge.net/projects/maxima/) (check that maxima-share |
29 | is installed). |
||
7156 | georgesk | 30 | -- Libgd 2.1 or up (http://libgd.bitbucket.org/). |
3891 | bpr | 31 | -- Make sure that the server is able to send mail. |
10328 | bpr | 32 | -- Check that you have the gnu utilities tac, date (with option -d), stat (with option -c) |
33 | (http://ftp.gnu.org/gnu/coreutils) |
||
7662 | bpr | 34 | |
3891 | bpr | 35 | 1. Create a user, say `wims', with home directory, say, /var/wims ($HOME). |
2 | reyssat | 36 | |
3891 | bpr | 37 | 2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME. |
3904 | bpr | 38 | This tarball now contains the base system. It does not contains "pedagogical modules". |
2 | reyssat | 39 | |
40 | 3. Decompress and untar the .tgz file. |
||
41 | |||
8640 | bpr | 42 | 4. (For a first installation only). |
11342 | obado | 43 | Compile the server as user wims : type './compile --mathjax --jmol --modules --swac --geogebra' |
8640 | bpr | 44 | It takes a long time as there are many pedagogical modules. |
45 | (For an update of the installation), do not use the option --modules |
||
46 | './compile' --mathjax --jmol --swac' |
||
2 | reyssat | 47 | |
11342 | obado | 48 | --modules : load all the pedagogical modules (use it only at the first installation) |
49 | --jmol : load/upgrade jsmol (used in some chemical modules) (http://jmol.org/index.php/JSmol) |
||
50 | --swac : load some audios (take a long time. do it only at the first installation). (http://shtooka.net) |
||
51 | --geogebra : load/upgrade geogebraweb (https://www.geogebra.org/) |
||
7827 | bpr | 52 | |
7662 | bpr | 53 | In case of compilation difficulty, you can try to change the line |
54 | ./configure || exit |
||
55 | in the file compile by |
||
56 | ./configure CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib || exit |
||
57 | or some suitable path. |
||
58 | |||
59 | At the end, you will be asking about the IP address from which the webmaster will |
||
4430 | bpr | 60 | be able to configure the preferences, his password and the wims email address. |
7662 | bpr | 61 | Then execute the script ./bin/setwrapexec as root. It is important |
3887 | bpr | 62 | for security reasons. |
3886 | bpr | 63 | |
8640 | bpr | 64 | 5. Get and install optional support software. Omitting some of them will simply |
3891 | bpr | 65 | prevent your server from running some of the exercises / activities. |
2 | reyssat | 66 | |
4430 | bpr | 67 | -- GNU Octave 3.0.4 or up (http://www.octave.org/). ( 20% importance) |
3891 | bpr | 68 | -- Yacas 1.0.52 or up (http://yacas.sourceforge.net/). ( 10% importance) |
7662 | bpr | 69 | -- GAP 4 or up (http://www-gap.dcs.st-and.ac.uk/~gap). ( 10% importance) |
3891 | bpr | 70 | -- Povray (http://www.povray.org/). ( 5% importance) |
71 | -- Graphviz (http://www.graphviz.org/). ( 5% importance) |
||
3904 | bpr | 72 | -- Macaulay (1.1 or up) (~ 0% importance) |
7027 | bpr | 73 | -- fortune and strfile |
9334 | bpr | 74 | -- openbabel (openbabel.org) |
7662 | bpr | 75 | |
8640 | bpr | 76 | 6. You may run WIMS single-user by executing the script $HOME/localwims |
7662 | bpr | 77 | if you would prefer something else. In this case, you must run first the |
3891 | bpr | 78 | script ./bin/setwimsd as root. It is important for security reasons. |
7662 | bpr | 79 | |
2 | reyssat | 80 | The default browser used is mozilla, call 'localwims another_browser' |
8640 | bpr | 81 | if you would prefer something else. **untested now** |
2 | reyssat | 82 | You should see your favorite browser pop up and display the WIMS home page, |
83 | including a link allowing you to do online site maintenance. Click on it |
||
84 | and follow instructions there to configure and check your installation. |
||
7662 | bpr | 85 | |
2 | reyssat | 86 | In particular, modules must be selected and installed from that online |
87 | maintenance page. |
||
88 | |||
8640 | bpr | 89 | 7. If you want to use Apache httpd with WIMS, run $HOME/bin/apache-config |
3891 | bpr | 90 | as root. In this case, wims can be accessed from the address |
2 | reyssat | 91 | |
7662 | bpr | 92 | http://localhost/wims/ |
4430 | bpr | 93 | or |
94 | http://localhost/wims/wims.cgi |
||
2 | reyssat | 95 | |
4430 | bpr | 96 | 9. You can make more configuration (from the WIMS home page, follow the link maintenance). |
2916 | reyssat | 97 | |
6615 | bpr | 98 | 10. To be able to use the W3C validation, install the perl package |
99 | WebService-Validator-HTML-W3C |
||
100 | |||
4485 | bpr | 101 | For a further installation, execute the script bin/server-interrupt, |
8640 | bpr | 102 | go to steps 2, 3 and 4. and execute the script bin/server-resume |
4430 | bpr | 103 | |
104 | ####################### |
||
105 | |||
10876 | obado | 106 | If you want to use a safe execution environment on 64bit Linux |
107 | (using a chroot-directory : build on gcc version 6.1.1 20160707) |
||
10870 | schaersvoo | 108 | containing all essential software, follow the next steps : |
4430 | bpr | 109 | |
110 | 1. Create a user, say `wims', with home directory, say, /var/wims ($HOME). |
||
111 | |||
112 | 2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME. |
||
113 | This tarball now contains the base system. It does not contains "pedagogical modules". |
||
114 | |||
115 | 3. Decompress and untar the .tgz file. |
||
116 | |||
117 | 4. (For a first installation only). Get and execute the script wims_modules.pl |
||
118 | (need Perl and webget). It takes a long time as there are many pedagogical modules. |
||
119 | |||
10870 | schaersvoo | 120 | 5. Download for 64bit linux the complete chroot archive |
15986 | obado | 121 | https://wims.univ-cotedazur.fr/download/wims/chroot/wims-4.12.chroot64.linux.tar.bz2 |
4433 | schaersvoo | 122 | Decompress and untar as user wims (in $HOME). |
4430 | bpr | 123 | |
124 | 6. Compile the server as user wims : type './compile --build-chroot'. |
||
7662 | bpr | 125 | At the end, you will be asking about the IP address from which the webmaster will |
4430 | bpr | 126 | configure the preferences, the password he will have and the wims email address. |
10870 | schaersvoo | 127 | Then execute the script './bin/setchroot' as root. |
4430 | bpr | 128 | |
129 | 7. Run $HOME/bin/apache-config as root. In this case, wims can be accessed from the address |
||
10870 | schaersvoo | 130 | http://localhost/wims/ |
131 | or |
||
132 | http://localhost/wims/wims.cgi |
||
4430 | bpr | 133 | |
134 | 8. You can make more configuration (from the WIMS home page, follow the link maintenance). |
||
135 | |||
7662 | bpr | 136 | For a further installation, you have only to do the step 2, 3 and 6. |
4430 | bpr | 137 | |
2 | reyssat | 138 | Good luck, and enjoy! |
139 | |||
3886 | bpr | 140 | If you run into difficulties: have a look at WIMSEDU forum (http://wimsedu.info/). |
2 | reyssat | 141 | |
15986 | obado | 142 | Home site of wims: https://wims.univ-cotedazur.fr/ |
12003 | obado | 143 | Source: https://sourcesup.renater.fr/frs/?group_id=379 |