Subversion Repositories wimsdev

Rev

Rev 8078 | Rev 9334 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8078 Rev 8640
Line 34... Line 34...
34
2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME.
34
2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME.
35
   This tarball now contains the base system. It does not contains "pedagogical modules".
35
   This tarball now contains the base system. It does not contains "pedagogical modules".
36
 
36
 
37
3. Decompress and untar the .tgz file.
37
3. Decompress and untar the .tgz file.
38
 
38
 
39
4. (For a first installation only). Get and execute the script wims_modules.pl
39
4. (For a first installation only).
-
 
40
 Compile the server as user wims : type './compile' --mathjax --jmol --modules --swac
40
(need Perl and wget). It takes a long time as there are many pedagogical modules.
41
It takes a long time as there are many pedagogical modules.
41
 
-
 
42
5. Compile the server as user wims : type './compile'. If you want to install mathjax
42
 (For an update of the installation), do not use the option --modules
43
in wims, type './compile --mathjax'.
43
  './compile' --mathjax --jmol --swac'
44
 
44
 
45
--modules : will load all the pedagogical modules (use it only at the first installation)
45
--modules : will load all the pedagogical modules (use it only at the first installation)
46
--jmol : will load jsmol (use in some chemical modules)
46
--jmol : will load jsmol (use in some chemical modules)
47
--swac : will load some audios (take a long time).
47
--swac : will load some audios (take a long time).
48
 
48
 
Line 55... Line 55...
55
At the end, you will be asking about the IP address from which the webmaster will
55
At the end, you will be asking about the IP address from which the webmaster will
56
be able to configure the preferences, his password and the wims email address.
56
be able to configure the preferences, his password and the wims email address.
57
Then execute the script ./bin/setwrapexec as root. It is important
57
Then execute the script ./bin/setwrapexec as root. It is important
58
for security reasons.
58
for security reasons.
59
 
59
 
60
6. Get and install optional support software. Omitting some of them will simply
60
5. Get and install optional support software. Omitting some of them will simply
61
 prevent your server from running some of the exercises / activities.
61
 prevent your server from running some of the exercises / activities.
62
 
62
 
63
 -- GNU Octave 3.0.4 or up (http://www.octave.org/).        ( 20% importance)
63
 -- GNU Octave 3.0.4 or up (http://www.octave.org/).        ( 20% importance)
64
 -- Yacas 1.0.52 or up (http://yacas.sourceforge.net/).     ( 10% importance)
64
 -- Yacas 1.0.52 or up (http://yacas.sourceforge.net/).     ( 10% importance)
65
 -- GAP 4 or up (http://www-gap.dcs.st-and.ac.uk/~gap).     ( 10% importance)
65
 -- GAP 4 or up (http://www-gap.dcs.st-and.ac.uk/~gap).     ( 10% importance)
66
 -- Povray (http://www.povray.org/).                        (  5% importance)
66
 -- Povray (http://www.povray.org/).                        (  5% importance)
67
 -- Graphviz (http://www.graphviz.org/).                    (  5% importance)
67
 -- Graphviz (http://www.graphviz.org/).                    (  5% importance)
68
 -- Macaulay (1.1 or up)                                    (~ 0% importance)
68
 -- Macaulay (1.1 or up)                                    (~ 0% importance)
69
 -- fortune and strfile
69
 -- fortune and strfile
70
 
70
 
71
7. You may run WIMS single-user by executing the script $HOME/localwims
71
6. You may run WIMS single-user by executing the script $HOME/localwims
72
   if you would prefer something else. In this case, you must run first the
72
   if you would prefer something else. In this case, you must run first the
73
   script ./bin/setwimsd as root. It is important for security reasons.
73
   script ./bin/setwimsd as root. It is important for security reasons.
74
 
74
 
75
   The default browser used is mozilla, call 'localwims another_browser'
75
   The default browser used is mozilla, call 'localwims another_browser'
76
   if you would prefer something else.
76
   if you would prefer something else. **untested now**
77
   You should see your favorite browser pop up and display the WIMS home page,
77
   You should see your favorite browser pop up and display the WIMS home page,
78
   including a link allowing you to do online site maintenance. Click on it
78
   including a link allowing you to do online site maintenance. Click on it
79
   and follow instructions there to configure and check your installation.
79
   and follow instructions there to configure and check your installation.
80
 
80
 
81
   In particular, modules must be selected and installed from that online
81
   In particular, modules must be selected and installed from that online
82
   maintenance page.
82
   maintenance page.
83
 
83
 
84
8. If you want to use Apache httpd with WIMS, run $HOME/bin/apache-config
84
7. If you want to use Apache httpd with WIMS, run $HOME/bin/apache-config
85
   as root. In this case, wims can be accessed from the address
85
   as root. In this case, wims can be accessed from the address
86
 
86
 
87
	  http://localhost/wims/
87
	  http://localhost/wims/
88
	or
88
	or
89
	  http://localhost/wims/wims.cgi
89
	  http://localhost/wims/wims.cgi
Line 92... Line 92...
92
 
92
 
93
10. To be able to use the W3C validation, install the perl package
93
10. To be able to use the W3C validation, install the perl package
94
WebService-Validator-HTML-W3C
94
WebService-Validator-HTML-W3C
95
 
95
 
96
For a further installation, execute the script bin/server-interrupt,
96
For a further installation, execute the script bin/server-interrupt,
97
go to steps 2, 3 and 5. and execute the script bin/server-resume
97
go to steps 2, 3 and 4. and execute the script bin/server-resume
98
 
98
 
99
#######################
99
#######################
100
 
100
 
101
If your system allows to use the build-chroot (for the moment, it has been build
101
If your system allows to use the build-chroot (for the moment, it has been build
102
using OpenSuse -11.4 gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux),
102
using OpenSuse -11.4 gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux),
Line 110... Line 110...
110
3. Decompress and untar the .tgz file.
110
3. Decompress and untar the .tgz file.
111
 
111
 
112
4. (For a first installation only). Get and execute the script wims_modules.pl
112
4. (For a first installation only). Get and execute the script wims_modules.pl
113
(need Perl and webget). It takes a long time as there are many pedagogical modules.
113
(need Perl and webget). It takes a long time as there are many pedagogical modules.
114
 
114
 
115
5.Get wims4.00.chroot64.tar.bz2 or wims4.00.chroot32.tar.bz2 (480 M) at
115
5. Get wims4.00.chroot64.tar.bz2 or wims4.00.chroot32.tar.bz2 (480 M) at
116
http://wims.math.leidenuniv.nl/download/wims4.00.chroot64.tar.bz2
116
http://wims.math.leidenuniv.nl/download/wims4.00.chroot64.tar.bz2
117
or
117
or
118
http://wims.math.leidenuniv.nl/download/wims4.00.chroot32.tar.bz2
118
http://wims.math.leidenuniv.nl/download/wims4.00.chroot32.tar.bz2
119
Decompress and untar as user wims (in $HOME).
119
Decompress and untar as user wims (in $HOME).
120
 
120