Subversion Repositories wimsdev

Rev

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

Rev 10328 Rev 10870
Line 99... Line 99...
99
For a further installation, execute the script bin/server-interrupt,
99
For a further installation, execute the script bin/server-interrupt,
100
go to steps 2, 3 and 4. and execute the script bin/server-resume
100
go to steps 2, 3 and 4. and execute the script bin/server-resume
101
 
101
 
102
#######################
102
#######################
103
 
103
 
104
If your system allows to use the build-chroot (for the moment, it has been build
104
If you want to use a safe execution environment on 64bit Linux 
105
using OpenSuse -11.4 gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux),
105
(using a chroot-directory : build on gcc version 6.1.1 20160707) 
106
any other linux should be OK), the steps are the following :
106
containing all essential software, follow the next steps :
107
 
107
 
108
1. Create a user, say `wims', with home directory, say, /var/wims ($HOME).
108
1. Create a user, say `wims', with home directory, say, /var/wims ($HOME).
109
 
109
 
110
2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME.
110
2. Login as wims, and copy the tar file wims-WIMS_VERSION.tgz into $HOME.
111
   This tarball now contains the base system. It does not contains "pedagogical modules".
111
   This tarball now contains the base system. It does not contains "pedagogical modules".
Line 113... Line 113...
113
3. Decompress and untar the .tgz file.
113
3. Decompress and untar the .tgz file.
114
 
114
 
115
4. (For a first installation only). Get and execute the script wims_modules.pl
115
4. (For a first installation only). Get and execute the script wims_modules.pl
116
(need Perl and webget). It takes a long time as there are many pedagogical modules.
116
(need Perl and webget). It takes a long time as there are many pedagogical modules.
117
 
117
 
118
5. Get wims4.00.chroot64.tar.bz2 or wims4.00.chroot32.tar.bz2 (480 M) at
118
5. Download for 64bit linux the complete chroot archive
119
http://wims.math.leidenuniv.nl/download/wims4.00.chroot64.tar.bz2
119
http://77.174.94.105/download/wims-4.12.chroot64.linux.tar.bz2
120
or
-
 
121
http://wims.math.leidenuniv.nl/download/wims4.00.chroot32.tar.bz2
-
 
122
Decompress and untar as user wims (in $HOME).
120
Decompress and untar as user wims (in $HOME).
123
 
121
 
124
6. Compile the server as user wims : type './compile --build-chroot'.
122
6. Compile the server as user wims : type './compile --build-chroot'.
125
At the end, you will be asking about the IP address from which the webmaster will
123
At the end, you will be asking about the IP address from which the webmaster will
126
configure the preferences, the password he will have and the wims email address.
124
configure the preferences, the password he will have and the wims email address.
127
Then execute the script ./bin/wrapuid as root.
125
Then execute the script './bin/setchroot' as root.
128
 
126
 
129
7. Run $HOME/bin/apache-config as root. In this case, wims can be accessed from the address
127
7. Run $HOME/bin/apache-config as root. In this case, wims can be accessed from the address
130
      http://localhost/wims/
128
http://localhost/wims/
131
    or
129
 or
132
	  http://localhost/wims/wims.cgi
130
http://localhost/wims/wims.cgi
133
 
131
 
134
8. You can make more configuration (from the WIMS home page, follow the link maintenance).
132
8. You can make more configuration (from the WIMS home page, follow the link maintenance).
135
 
133
 
136
For a further installation, you have only to do the step 2, 3 and 6.
134
For a further installation, you have only to do the step 2, 3 and 6.
137
 
135