Annotation of OpenXM/src/polymake/cgi/install.txt, Revision 1.2
1.2 ! takayama 1: $OpenXM: OpenXM/src/polymake/cgi/install.txt,v 1.1 2004/09/27 11:18:23 takayama Exp $
1.1 takayama 2: Installing and testing cgi-polymake.sh
3:
4: 0. Install OpenXM.
5: Double check that the directory permission should be rwxr-xr-x
6: 1. Install polymake under /usr/local/polymake
7: polymake will be under /usr/local/polymake/bin
8: 2. Install apache (or equivalent) and make enable the use of CGI's.
9: Suppose that the CGI directory is under /var/www/cgi-bin
10: 3. Copy cgi-polymake.sh under /var/www/cgi-bin
11: 4. Replace OpenXM_HOME in cgi-polymake.sh by the absolute path of
12: OpenXM of your installation.
13:
14: Checking the installation.
15: cd /var/www/cgi-bin
16: Type in
17:
18: env env QUERY_STRING='oxMessageBody=FACETS+POINTS%0A1+0+0%0A1+1+0%0A1+0+1%0A1+1+1%0A%0A%0A%0A%0A%0A%0A' ./cgi-polymake.sh
19:
20: The answer should be
21:
22: Content-Type: text/plain
23: oxshell-stdout: FACETS%0A0+0+1%0A0+1+0%0A1+0+-1%0A1+-1+0%0A%0A
24: oxshell-stderr:
25:
26: POINTS
27: 1 0 0
28: 1 1 0
29: 1 0 1
30: 1 1 1
31:
32: FACETS
33: 0 0 1
34: 0 1 0
35: 1 0 -1
36: 1 -1 0
37:
38: AFFINE_HULL
39:
40:
41: _version 2.0
42: _application polytope
43:
44:
1.2 ! takayama 45: ----------
! 46: /tmp/sm1log.txt
! 47: should be cleaned periodically.
! 48: Add a script to rm /tmp/sm1log.txt in, e.g., /etc/cron.weekly
! 49:
! 50: Possible work files under /tmp
! 51: t.txt, tmp-post-*.txt
! 52:
! 53:
1.1 takayama 54:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>