--- capa/capa51/README.txt 2000/08/30 15:02:30 1.2 +++ capa/capa51/README.txt 2001/06/01 18:41:48 1.3 @@ -1,8 +1,8 @@ - Setting Up CAPA v. 5.1 For First Time Users: + Setting Up CAPA v. 5.1.5 For First Time Users: --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- READ ALL INSTRUCTIONS BEFORE PRECEDING WITH THE INSTALLATION. @@ -29,7 +29,7 @@ permissions with. Depending on your ope sizes may differ with the ones given in these instructions. Please do not be concerned by this. --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- INITIAL SETUP @@ -84,7 +84,7 @@ group membership "cai". drwxr-xr-x 6 teacher cai 1024 Jul 17 14:03 CAPA51 --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- SETTING UP THE INSTRUCTOR INTERFACE AND OPTIONAL TELNET STUDENT INTERFACE @@ -295,7 +295,7 @@ with the same permissions. Check those The utilities for running CAPA with telnet sessions are now completely installed. --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- SETTING UP THE WEB VERSION OF THE CAPA INTERFACE @@ -484,7 +484,7 @@ http://your.machine.name/capa-bin/emaili or http://your.machine.name/CAPA/emailid.html without a previous CAPA ID. --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- FINAL INSTRUCTIONS @@ -524,10 +524,10 @@ supp_path = /home/teacher/CAPA51/x correction_path = /home/teacher/CAPA51/xpc131s0 5.) In each of the capa.config files (DIST51/PutInCAPA51/nsc131s0/capa.config, -..., ...skeleton/capa.config, etc. and /home/teacher/CAPA51/nsc131s0, etc.) edit -the print commands to match the ones that you use from your server where CAPA is -installed. The comments in the printing configuration section of the capa.config -file will direct you how to make these changes. +..., ...skeleton/capa.config, etc. and /home/teacher/CAPA51/nsc131s0, etc.) +edit the print commands to match the ones that you use from your server where +CAPA is installed. The comments in the printing configuration section of the +capa.config file will direct you how to make these changes. Also, edit the line: @@ -543,10 +543,18 @@ detailed list of the templates). 8.) Read the READMEsecurity.txt file. - --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- +9.) Make sure that the owner of the web server has /usr/local/bin as its path +or the discuss page will not work properly. If you have trouble changing the +owner of the web server's path, put a symbolic link to /usr/local/bin/allcapaid +in /usr/bin: + +su - +cd /usr/bin +ln -s /usr/local/bin/allcapaid . + +------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +------------------------------------------------------------------------------- CONTACT INFORMATION @@ -558,9 +566,9 @@ CAPA Coordinator Michigan State University capa@capa.msu.edu --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +------------------------------------------------------------------------------- ADDING ADDITIONAL USERS @@ -582,7 +590,12 @@ instructor-name directory. For example: > cp /home/teacher/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capasbin . > cp /home/teacher/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capadiscuss . -Make sure that the permissions for the the capasbin and capadiscuss files +4.) Change the ownership of the instructor-name directory and all of its +files to the appropriate user ("instructor-name") and group (i.e. "cai"). +> cd /home/teacher/PublicWeb/CAPA/capa-bin +> chown -R instructor-name:cai instructor-name + +5.) Make sure that the permissions for the the capasbin and capadiscuss files are executable and that capasbin is set UID mode (there is an "s" instead of an "x" in the owner's permissions). If not, enter the following: @@ -592,16 +605,11 @@ of an "x" in the owner's permissions). -rwxr-xr-x 1 instructor cai 23453 Mar 16 11:15 capadiscuss -rwsr-xr-x 1 instructor cai 843150 Mar 16 11:15 capasbin -4.) Change the ownership of the instructor-name directory and all of its -files to the appropriate user ("instructor-name") and group (i.e. "cai"). -> cd /home/teacher/PublicWeb/CAPA/capa-bin -> chown -R instructor-name:cai instructor-name - -5.) Finally, double check that the instructor owns his/her directory +6.) Finally, double check that the instructor owns his/her directory in the capa-bin directory and that the instructor's capasbin and capadiscuss have the correct ownership and permissions. --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- ADDING ADDITIONAL CLASSES @@ -720,7 +728,7 @@ appropriate). Your "classname" class is now ready to use for homework. --------------------------------------------------------------------------------- +------------------------------------------------------------------------------- ADDING ACCESS FOR QUIZZES, EXAMS, EXAM PARTIAL CREDIT, ETC. @@ -769,7 +777,7 @@ directories. Edit the dept_name, etc. i Also edit the classl file, making sure the instructor and TAs all belong to the admin_section(s) (see capa.config file and edit admin_section if appropriate). --------------------------------------------------------------------------------- +-------------------------------------------------------------------------------